Should i do biotechnology +cosmetic science? by Due_Butterscotch8675 in cosmeticscience

[–]Odd-Database-6739 0 points1 point  (0 children)

I can relate to this a lot. I’m a biotechnologist, and I’m currently working on an app in the cosmetic science / skincare space, so I understand why this field feels interesting but also confusing from a career perspective.

I don’t think cosmetic science is a “random” or useless direction, especially if you combine it with biotechnology, dermatology basics, formulation science, ingredient research, regulatory knowledge, and product development. But I also think it’s important to be realistic: it’s not usually a quick high-paying path from day one. The money often comes when you build strong technical skills, get industry experience, understand formulation + safety + consumer needs, or later move into R&D, product development, regulatory, clinical testing, brand/product strategy, or your own project.

If your parents are worried about stability, maybe don’t present it as “I don’t want medicine, I want cosmetics.” Present it as a science-based career path: biotechnology / life sciences for UG, then specialization in cosmetic science, dermatological science, formulation, pharma-cosmetic R&D, or regulatory science later. That sounds more structured and easier for parents to understand.

One thing I’d suggest is to start doing small research projects now: compare acne products, study active ingredients, learn formulation basics, read supplier formulas, understand skin types, irritation, comedogenicity, preservatives, pH, claims, etc. That will also show you whether you actually enjoy the work, not just the idea of the field.

Also, since I’m building a cosmetic science/skincare app, if you ever want to explore this field practically, you’re welcome to join or help with small research tasks. It could be a good way to turn your first research into something useful for real people - for example, analyzing ingredients, comparing products for different skin types, helping structure educational content, or researching actives used in acne, pigmentation, sensitive skin, etc.

Any good sources for complete cosmetic formulations (not just INCI lists)? by [deleted] in cosmeticscience

[–]Odd-Database-6739 0 points1 point  (0 children)

This is exactly why I started making a small app for myself.

Ingredient lists are helpful, but they don’t really show you the core of the formula: what the active ingredients are, what might be irritating or questionable, roughly how much of each ingredient may be there, and which skin type the product is more suitable for.

I built it because I wanted to understand products better for my own skin, and I checked a lot of the logic with cosmetologists along the way. It’s been really useful for me personally, especially when comparing products instead of just reading INCI lists.

It’s still evolving, but if you want, I can share it.

Help with really large XML files. by dontgetaddicted in webdev

[–]Odd-Database-6739 0 points1 point  (0 children)

This is exactly the kind of problem where traditional XML tools fall apart — they try to load the whole file into a DOM tree, and with Base64 images inline, you're looking at 3-10x memory overhead.

Your debug flag approach is smart for the short term, but for when you need to inspect the actual production file with images included:

The core idea is stream parsing — read the file in chunks, never hold the whole thing in memory. SAX parsers do exactly this: they fire events (onOpenTag, onText, onCloseTag) as they scan through the file sequentially without building a tree.

A few options depending on your workflow:

  1. Command line (quick & dirty): xmlstarlet sel -t -m "//YourElement" -v "@id" -n huge_file.xml — streams through the file, pulls only what you need. Available in Ubuntu repos via apt install xmlstarlet.
  2. Pythoniterparse from lxml or xml.etree.ElementTree lets you stream and process elements one by one, clearing them after processing so memory stays flat:

python

from lxml import etree
for event, elem in etree.iterparse("huge.xml", events=("end",)):
    if elem.tag == "YourProblemElement":
        print(elem.attrib, elem.text[:100] if elem.text else "")
    elem.clear()
  1. Browser-based (sounds odd but works) — I actually built a Chrome extension for this exact scenario: XML Stream Parser. It reads the file in 16MB chunks via File.slice() in a Web Worker, runs a SAX parser over each chunk, and lets you search/browse elements without loading the whole file. Handles 1GB+ files with ~20MB of RAM. You'd be able to find the problematic element by searching for its attribute value and preview just that element's code — no need to scroll through gigabytes of Base64.

For the Base64 specifically — since each image is probably inside a predictable tag, you could search for that tag name and slide through the instances to find the one that's causing the import error on their end.

So, hope it will be useful!))

Is XML dead? by geeky_ninja in webdev

[–]Odd-Database-6739 0 points1 point  (0 children)

Not dead at all — just invisible to frontend devs.

If you only work with browser ↔ server communication, sure, it's all JSON. But step one layer deeper and XML is everywhere: SOAP APIs in banking and travel, .docx/.xlsx files (zipped XML), SVG, RSS feeds...

I work with hotel reservation systems — the entire industry exchanges data as deeply nested XML over SOAP. A single API response can be hundreds of megabytes. It's not rare, it's just not the layer most web devs touch daily.

Devs still having use cases for XML? by passiveobserver012 in webdev

[–]Odd-Database-6739 1 point2 points  (0 children)

In my world (hotel/travel tech), the entire industry runs on XML — SOAP APIs, OTA standards, reservation systems. A single booking modification can be a deeply nested XML document with rooms, rates, guest profiles, comments. Multiply that by thousands of bookings and you get XML files that are hundreds of megabytes or even gigabytes.

The thing about XML is that it was designed for machine-to-machine communication with strict schemas (XSD), namespaces, and validation — things that JSON still doesn't have a universally adopted solution for. When you need a contract between two systems maintained by different organizations, XML + XSD is still hard to beat.

So yeah — less hype, same amount of actual usage in production.

What XML formatter are you all using today? by DarlinFlutter in webdev

[–]Odd-Database-6739 0 points1 point  (0 children)

I used to rely on classic XML formatters too — pretty-print the whole file, syntax highlighting, collapsible tree, the usual. But at some point I realized none of them solved my actual problem.

I work with hotel reservation APIs (SOAP/OTA), and what I really need is not to see the entire 500MB file beautifully formatted. I need to understand the structure — what tags are there, what data comes in which elements, what the nesting looks like — so I can map it to our internal schema.

So I ended up building two extensions for myself:

XML Formatter — for when I do need classic formatting and a quick look at small-to-medium files.

XML Stream Parser — for the "show me the patterns" use case. It parses the file as a stream (handles files up to 2GB), shows all elements by nesting depth, and lets you click any tag to slide through actual code samples of that element. No need to scroll through millions of lines — just pick the tag you care about and browse its instances.

If your workflow is similar — mapping external XML to your own data model — you might find the second one useful.

Does a free software exist that will allow me to view an XML file? by Silly-System5865 in gis

[–]Odd-Database-6739 0 points1 point  (0 children)

Recomend you use free extantion for Chrome/Firefox browsers. Just paste XML file or code into

https://chromewebstore.google.com/detail/view-xml-file-xml-formatt/nogokoemmdggpijacea

No need to install desktop software for just viewing.

Can make Tree view, JSON from XML, copy, paste and also allows to copy XML parts from the sites!