ph

GSTN Issues Advisory regarding IMS during initial phase of its implementation

Invoice Management System (IMS) is an optional facility introduced from October 2024 on GST Portal, on which the invoices/records saved/furnished by the supplier in GSTR-1/1A/IFF...




ph

Have you seen Elliott? I need to phone home




ph

The Sophisticated Threads behind a Hat That Senses Traffic Lights

A new technique to make electronic fibers could help solve wearable technology’s flexibility problem




ph

People with Myalgic Encephalomyelitis/Chronic Fatigue Syndrome May Have an "Exhausted" Immune System

A long-awaited study of people with ME/CFS revealed differences in their immune and nervous system. The findings may offer clues about long COVID




ph

Stunning Comet Could Photobomb This April's Total Solar Eclipse

Comet 12P/Pons-Brooks will make its closest approach to the sun this April—right after North America is treated to a total solar eclipse




ph

CodeSOD: Trophy Bug Hunting

Quality control is an important business function for any company. When your company is shipping devices with safety concerns, it's even more important. In some industries, a quality control failure is bound to be national headlines.

When the quality control software tool stopped working, everyone panicked. At which point, GRH stepped in.

Now, we've discussed this software and GRH before, but as a quick recap, it was:

written by someone who is no longer employed with the company, as part of a project managed by someone who is no longer at the company, requested by an executive who is also no longer at the company. There are no documented requirements, very few tests, and a lot of "don't touch this, it works".

And this was a quality control tool. So we're already in bad shape. It also had been unmaintained for years- a few of the QC engineers had tried to take it over, but weren't programmers, and it had essentially languished.

Specifically, it was a quality control tool used to oversee the process by about 50 QC engineers. It automates a series of checks by wrapping around third party software tools, in a complex network of "this device gets tested by generating output in program A, feeding it to program B, then combining the streams and sending them to the device, but this device gets tested using programs D, E, and F."

The automated process using the tool has a shockingly low error rate. Without the tool, doing things manually, the error rate climbs to 1-2%. So unless everyone wanted to see terrifying headlines in the Boston Globe about their devices failing, GRH needed to fix the problem.

GRH was given the code, in this case a a zip file on a shared drive. It did not, at the start, even build. After fighting with the project configuration to resolve that, GRH was free to start digging in deeper.

Public Sub connect2PCdb()
        Dim cPath As String = Path.Combine(strConverterPath, "c.pfx")
        Dim strCN As String

        ' JES 12/6/2016: Modify the following line if MySQL server is changed to a different server.  A dump file will be needed to re-create teh database in the new server.
        strCN = "metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string='server=REDACTED;user id=REDACTED;database=REDACTED;sslmode=Required;certificatepassword=REDACTED;certificatefile=REDACTEDc.pfx;password=REDACTED'"
        strCN = Regex.Replace(strCN, "certificatefile=.*?pfx", "certificatefile=" & cPath)
        pcContext = New Entities(strCN)
        strCN = "metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string='server=REDACTED;user id=REDACTED;persistsecurityinfo=True;database=REDACTED;password=REDACTED'"
        strCN = Regex.Match(strCN, ".*'(.*)'").Groups(1).Value

        Try
            strCN = pcContext.Database.Connection.ConnectionString
            cnPC.ConnectionString = "server=REDACTED;user id=REDACTED;password=REDACTED;database=REDACTED;"
            cnPC.Open()
        Catch ex As Exception

        End Try
    End Sub

This is the code which connects to the backend database. The code is in the category of more of a trainwreck than a WTF. It's got a wonderful mix of nonsense in here, though- a hard-coded connection string which includes plaintext passwords, regex munging to modify the string, then hard-coding a string again, only to use regexes to extract a subset of the string. A subset we don't use.

And then, for a bonus, the whole thing has a misleading comment- "modify the following line" if we move to a different server? We have to modify several lines, because we keep copy/pasting the string around.

Oh, and of course, it uses the pattern of "open a database connection at application startup, and just hold that connection forever," which is a great way to strain your database as your userbase grows.

The good news about the hard-coded password is that it got GRH access to the database. With that, it was easy to see what the problem was: the database was full. The system was overly aggressive with logging, the logs went to database tables, the server was an antique with a rather small hard drive, and the database wasn't configured to even use all of that space anyway.

Cleaning up old logs got the engineers working again. GRH kept working on the code, though, cleaning it up and modernizing it. Updating to latest version of the .NET Core framework modified the data access to be far simpler, and got rid of the need for hard-coded connection strings. Still, GRH left the method looking like this:

    Public Sub connect2PCdb()
        'Dim cPath As String = Path.Combine(strConverterPath, "c.pfx")
        'Dim strCN As String

        ' JES 12/6/2016: Modify the following line if MySQL server is changed to a different server.  A dump file will be needed to re-create teh database in the new server.
        'strCN = "metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string='server=REDACTED;user id=REDACTED;database=REDACTED;sslmode=Required;certificatepassword=REDACTED;certificatefile=REDACTEDc.pfx;password=REDACTED'"
        'strCN = Regex.Replace(strCN, "certificatefile=.*?pfx", "certificatefile=" & cPath)
        'pcContext = New Entities(strCN)
        'strCN = "metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string='server=REDACTED;user id=REDACTED;persistsecurityinfo=True;database=REDACTED;password=REDACTED'"
        'strCN = Regex.Match(strCN, ".*'(.*)'").Groups(1).Value

        'GRH 2021-01-15.  Connection information moved to App.Config
        'GRH 2021-08-13.  EF Core no longer supports App.Config method
        pcContext = New PcEntities

        Try
            ' GRH 2021-08-21  This variable no longer exists in .NET 5
            'strCN = pcContext.Database.Connection.ConnectionString
            ' GRH 2021-08-20  Keeping the connection open causes EF Core to not work
            'cnPC.ConnectionString = "server=REDACTED;user id=REDACTED;password=REDACTED;database=REDACTED;SslMode=none"
            'cnPC.Open()
        Catch ex As Exception

        End Try
    End Sub

It's now a one-line method, with most of the code commented out, instead of removed. Why on Earth is the method left like that?

GRH explains:

Yes, I could delete the function as it is functionally dead, but I keep it for the same reasons that a hunter mounts a deer's head above her mantle.

[Advertisement] Plan Your .NET 9 Migration with Confidence
Your journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. Download Free Guide Now!





ph

Morphing red blood cells help bats hibernate - and we could do it too

Animals that hibernate need a way to keep their blood flowing as their body temperature drops, and it seems that the mechanical properties of red blood cells may be key




ph

AI can use tourist photos to help track Antarctica’s penguins

Scientists used AI to transform tourist photos into a 3D digital map of Antarctic penguin colonies – even as researchers debate whether to harness or discourage tourism in this remote region




ph

Spies can eavesdrop on phone calls by sensing vibrations with radar

An off-the-shelf millimetre wave sensor can pick out the tiny vibrations made by a smartphone's speaker, enabling an AI model to transcribe the conversation, even at a distance in a noisy room




ph

Watch elephants use a hose to shower themselves – and prank others

Asian elephants at Berlin Zoo show impressive skill when using a hose as a tool, and even appear to sabotage each other by stopping the flow of water




ph

How a single gopher restored a landscape devastated by a volcano

Never underestimate what a single gopher can achieve in a day: one of the burrowing mammals helped boost soil fungi in an area blanketed by ash from the explosive eruption of Mount St Helens in Washington state




ph

Graphix to Release Yoshnio Koyoka's Mecha-Ude: Mechanical Arms Manga in Print in April

First volume of manga adaptation ships on April 15




ph

supposedly phone

Today on Toothpaste For Dinner: supposedly phone


This RSS feed is brought to you by Drew and Natalie's podcast Garbage Brain University. Our new series Everything Is Real explores the world of cryptids, aliens, quantum physics, the occult, and more. If you use this RSS feed, please consider supporting us by becoming a patron. Patronage includes membership to our private Discord server and other bonus material non-patrons never see!




ph

‘So I ruined him’: Landlord neighbor siphons water from man's water supply for over a year so the man cleverly cuts off the supply, resulting in tenant complaints and a hefty fine

Moving to a new place has its pros and cons. You might've caught a good deal on a nice home and are looking for a change of scenery. Most of the time, everything seems perfect on paper until you actually get to your new neighborhood. Once you settle into your humble abode, you start noticing some strange, not-so-coincidental things going on.

Aside from the one-off neighbors parking their bikes in front of your gate, you might notice that your water pressure isn't up to par. You think that, maybe, you might need to call a plumber to get the issue looked at so it doesn't get worse. The thing about observant people is that they really see things for what they are. The homeowner in this story realizes soon enough that his neighbor, who is a landlord to two tenants, has been hooked up to his water supply for who knows how long.

The man's water pressure would only work well when he noticed his neighbors were not using water, and he waited a while before he made real accusations. When he was sure his suspicions were correct, he cuts of the supply, which leads to a chain reaction of issues at his next-door neighbor's building, including: no water, ruining of electrical wiring, and some very angry tenants.




ph

'Hang up the phone, Karen': Entitled couple brake-checks catering delivery vehicle, blames the driver and tries to get free catering out of it

It's always shocking when people who are so clearly in the wrong forcibly double down on their behavior. Of course, that kind of entitlement among the Karens and Kevins of the world comes as no surprise, and yet to see this kind of audacity unfold in real-time is still a sight to behold.

Here, we have an entitled couple that brake-checked a catering delivery vehicle. The driver reported the incident to his supervisor, and the camera footage that was captured clearly showed that the couple was at fault. And yet, the couple willingly called up the catering service to accuse the driver of wrongdoing, threatening to call the policy and sue the company unless they got free catering for an upcoming event they were hosting. Thankfully, the supervisor did not fall for this entitled behavior and proceeded to show them the footage that was captured. Let's just say that Karen and Kevin quickly hung up after the evidence presented itself.

For more stories like this, check out this post about an entitled boss whose behavior caused their new hire to quit immediately.




ph

'[He] was on 24/7 call, so unplugging the phone wasn't an option': Tech support guy gets revenge on an angry IT customer by programming the office phone to call him at 2, 3, and 4 AM every night

We learned from a young age that you should be nice to the other kids on the playground. Share the bouncy rubber ball, don't pull a girl's pigtails, and include everyone in your fun games! That's how it should be in the working world–the adult world–because if you make an enemy on the blacktop, you might just get destroyed in the next game of dodgeball. 

This IT customer learned never to mess with their tech support crew after being a total buffoon on the phone. He was known for screaming at the guys who were just trying to help him troubleshoot his modem, but finally, after being placed with the same phone support guy one too many times, he snapped and decided to get some revenge. 

Frankly, I think this guy's sleep schedule became a little more precious to him after he got completely pwned by the dude he was used to screaming at–I guess now it looks like the phone is the only thing screaming at 2 AM… 3 AM… and 4 AM. Do you think he'll be nicer to his next customer service rep after this? You be the judge.




ph

'His hand pauses in midair': Front desk attendant gets scolded for using his phone at work, instead he maliciously complies with company policy by wasting other precious office resources

No personal cell phones? Okay. This employee took his malicious compliance to the next level after getting scolded one too many times for using his cell phone on the job. 

I get it… It doesn't look good for a hotel receptionist to scroll memes while the line at the concierge starts to grow. Smacking your gum, rolling your eyes, and scrolling endlessly really isn't something you're supposed to be doing at work, but as many of us forget, our phones are actually super useful little tools. We've grown accustomed to traveling around all day with a tiny computer in our pocket that it's easy to let slip their more convenient functions. The front desk reception guy in our next tale knew all the ways his phone could help out clients, but after his manager got on his back about using his personal device on the clock, he decided to use the second language translating tool at his disposal. 

Keep scrolling to read how an employee turned a spiteful MC into a memorable guest experience when a traveler needed help with a quick translation.




ph

Probability of operating an alarm clock Rubix cube, doable with hours of concentration Qauntum physicists have yet to unravel the mysteries

Probability of operating an alarm clock




ph

Apple's AI features roll out on iPhones - but not for all

The new features include notification summaries and tools to assist users in writing messages.




ph

iPhone and iPad app update

On Tuesday we are releasing an update to the BBC News iPhone and iPad app in the UK designed to make the app faster and more stable, with bigger, better quality images on the home screen.


We are busy doing some research and thinking at the moment about what people are looking for in our News apps in the longer term, but we thought that in the meantime, it was important to fix one or two bugs affecting some users of the existing app and to make it a better, slicker experience overall.

We want to make sure the current app remains a great way to get a quick overview of the top stories across a wide range of subjects, easy-to-scan on a mobile and, once the stories have loaded, handy to read offline too.

So, it will now be quicker to start up the app and to update it, and it should feel smoother and faster as you scroll and swipe through the screens and stories.

The larger homescreen images we've introduced serve two purposes:

  • first, you can see what's in them more clearly and there's more room for the headline
  • second, their positioning makes it clearer that you can scroll horizontally in each news category to reveal more stories (we noticed that in user testing some people assumed there were only three stories a section).

There is a new layout on iPad when you view the home screen in portrait mode - designed to show more headlines and make it easier to find the stories you're interested in.

Among the bugs that we've fixed is an issue that sometimes caused the app to get stuck when updating, and another where you sometimes saw duplicate stories within a single news category.

For our product team, these improvements required a fairly major reworking of the app's code. The good news is that they are now working from a more stable base which can be built on with new features and functionality. This revising of our code is something we've already done with our Android app, so we'll now be able to release upgrades simultaneously on both iOS and Android, which are by far the largest mobile platforms for us in terms of users. This latest update is already available internationally.

If you're a user of the app, or decide to try it out, we hope you'll like the improvements we've made. And as we think about our apps generally and plan our next steps, we'd like to hear about what you'd most like to see in future.

Steve Herrmann is editor of the BBC News website.




ph

Hill scores as Dolphins beat Rams to end losing run

Tyreek Hill scores his first touchdown since the opening week of the season, as the Miami Dolphins beat the Los Angeles Rams 23-15 to end a three-game losing streak.




ph

Bootstrap 5.3.0-alpha1

It’s a Christmas miracle—Bootstrap v5.3.0-alpha1 has arrived just in time for the holiday break! This release brings new color mode support, an expanded color palette with variables and utilities, and more.

We’re keeping things short and simple in this blog post with deeper dives into the new color modes and more coming in future posts. For now, we want you to enjoy the holiday break and come back next year feeling refreshed and rejuvenated. Keep reading for what’s new and we’ll see you next year!




ph

Bootstrap 5.3.0-alpha2

Our second alpha release of v5.3.0 has landed with a ton of enhancements and bug fixes for our new color modes! There’s still more to come, but we’ve held off shipping until we ironed out enough issues. Huzzah, we have!

This v5.3.0 release is a monumental update for Bootstrap 5. It’s big enough that it could’ve been a v6 on its own, but we wanted to do right by the community and get color modes out the door without the massive major release upgrade. We’re getting super close now, so bear with us as we continue to chip away at this.




ph

Bootstrap 5.3.0-alpha3

Hot on the heels of our second alpha, we’re releasing a third (and unexpected) alpha for v5.3.0 today with some fixes for some Node Sass compilation errors. In addition, we’ve added a handful of other updates. We’re still on target to ship our stable release soon!

Once again, if you’re new to the v5.3.0 alpha releases, please read through the Migration guide for the first alpha and last month’s second alpha.

Here’s a look at what’s changed in this quick release:




ph

Tax-News.com: COVID-19: Philippines Further Extends Multiple Tax Deadlines

The Philippines has announced that it will again extend tax filing and payment deadlines, following the prolongation of restrictive measures during the coronavirus outbreak.




ph

Tax-News.com: Philippines Moots Digital Tax

A proposal has been put forward for a digital services tax regime in the Philippines.




ph

Tax-News.com: Philippines DOF Says Wealth Tax Plan Would Be Self-Defeating

The Philippines Department of Finance has issued a statement warning against the introduction of a new tax on the super wealthy.




ph

New Smartphone Clip-on can Detect Zika Virus in Blood Samples: Study

Novel device developed can be clipped onto a smartphone to rapidly test for Zika virus in a single droplet of blood, reveal researchers at the University of Illinois Urbana-Champaign.




ph

Cardiac and Antimalarial Drugs Fuel Indian Pharma Market Growth

medlinkCardiac/medlink, antimalarial, and gastrointestinal therapies have fueled a 6% growth in India's pharmaceutical market in August. h2Indian




ph

India's Pharma and Meditech Exports Soar to 4th Largest Globally

India's pharmaceutical (!--ref1--) and medical technology exports are poised for continued growth, even amid global economic challenges, according to




ph

Understanding and Managing Asthma, Chronic Bronchitis, and Emphysema

Highlights: Asthma, chronic bronchitis, and emphysema are all chronic respiratory conditions that can cause shortne




ph

Katalin Kariko and Drew Weissman Receive the Nobel Prize in Physiology or Medicine

Highlights: Kariko and Weissman's base modifications revolutionized mRNA, enabling rapid vaccine development mRN




ph

Advanced Generation Cephalosporin Approved by US FDA

Highlights: Basilea's Zevtera gets U.S. FDA approval for MRSAB and other severe infections Zevtera - A New antib




ph

Is Acetaminophen During Pregnancy Safe for Children?

Highlights: Acetaminophen taken during pregnancy has potential risk of neurological disorders in children Pregna




ph

Tax-News.com: Philippines To Complete Tax Incentives Review By Early May

The Philippines Department of Finance has announced that the Fiscal Incentives Review Board (FIRB) will complete the implementing rules and regulations for the corporate Recovery and Tax Incentives for Enterprises (CREATE) Act by the third week of May.




ph

Aakash Ahuja on 'How to be Fit: Physically and Mentally'

Highlights: Aakash Ahuja is a well-known Indian TV actor Despite his hectic schedule, he offers advice on how yo




ph

Press Release: Mobile phone app launched to strengthen new insurance scheme for India’s farmers

International Water Management Institute (IWMI) launched a mobile app, called AgRISE, in support of a new national agricultural insurance scheme.

The post Press Release: Mobile phone app launched to strengthen new insurance scheme for India’s farmers first appeared on International Water Management Institute (IWMI).




ph

Smoking, Diabetes, and Mobile Phone Use: A Deadly Mix for Your Heart Health

Highlights: Regular mobile phone use is associated with a 4% increased risk of cardiovascular diseases The risk




ph

Korean Scientists Reveal Links Between Sperm Quality and Mobile Phone Use

Mobile phones have brought the world closer and have made life easy during a very trying time. But those have their disadvantages too. They could have




ph

Compound GPHR-529 Pill: Advanced Pregnancy Prevention for Males

A team of research scientists said that they have developed a male oral contraceptive pill that didn't cause observable side effects, with the drug expected to enter human trials by the end of 2022.




ph

Extreme Weather: A Growing Threat to Mental and Physical Health

A new report has unveiled the escalating health risks posed by increasingly severe and prolonged weather extremes in the UK, as climate change intensifies (!--ref1--).




ph

Keep Your Phones Out of the Bedroom at Night to Sleep Well

Spending too much time on digital devices at night can affect youth medlinkmental health/medlink and sleep, warn heath experts. The Surgeon General's




ph

No Survival Gain from Extended Lymph Node Removal in Bladder Cancer

Extended lymph node removal during surgery for localized muscle-invasive medlinkbladder cancer/medlink does not improve patient survival(!--ref1--).




ph

Immunotherapy Breakthrough: 92% Survival for Hodgkin Lymphoma Patients

A new treatment that activates the immune system to fight cancer has boosted the survival rate for patients with advanced Hodgkin lymphoma to an impressive




ph

Leptospirosis Surge in Philippines Passes 2,000

The Philippines' Department of Health (DOH) announced that medlinkleptospirosis/medlink (!--ref1--) cases have continued to increase following the




ph

Boost for Indian Pharma Sector- Consistent Growth in Exports Continues

The exports of drugs and pharmaceuticals from India are experiencing consistent growth, reflecting an increase of 8.36 percent to reach (Dollor) 2.31 billion in July of this year.




ph

How Social Media Likes and Comments Fuel Muscle Dysmorphia in Young Men

A recent Australian study suggests that social media platforms such as TikTok and Instagram are contributing to unrealistic and unhealthy obsessions with




ph

Smartphone Addiction: A Growing Trend Among Sleep-Deprived and Cyberbullied Teens

Excessive smartphone use, lack of sleep, cyberbullying, and poor mental health are all interlinked issues affecting teens in today's digital era. Australian




ph

Auditory Hallucinations in Schizophrenia Patients

medlinkAuditory hallucination/medlink is a type of illusion, where people hear sounds that aren't there. This may be caused by issues in how the medlinkbrain/medlink processes sound.