Xiaomi va expandiendo su mercado pero realmente en México no hay muchas opciones de accesorios o bien te los venden por on-line en páginas de. México a precios muy elevados.Gearbest solucionó mi problema con este gran case.*el color azul es justo como lo imaginé al ver la. Imagen.*protege vs caídas*ajusta perfectamente no cuesta trabajo ponerlo pero tampoco se sale solo como otros cases.*me gusta la manera en que resolvieron la parte de los botones. Ver fotos*precio rompedor*compren con confianza si llegan las cosas.
Los orificios de la parte de arriba para el el infrarrojo no alienan perfectamente, a mi no me afecta porque no uso esa función pero creo que hay otro modelo de redmi note 4, el mio es la versión global con Snapdragon.
The case is very strong, Solid, And looks amazing. After a while of using the case i found it very comfortable. The case has an amazing style, Look And protection. Its fits perfectly and its a MUST HAVE CASE. For the while i was using it my phone fall off my hand couple of times and nothing happend to the phone. And for last, The volume/power buttoms are easy to press. The price is amazing for the quaity.
After a while of using this case, I couldn't find any cons. This case is PERFECT.
Easy to put on the phone. The phone in it does not hang out. Very light and reliable. Especially well protected corners. I also bought 2 of the same cover for my friends.I recommend to everyone.
Очень, ну очень приятен в руке. И очень плотно лежит. Скольжения никакого. Чтобы телефон выскользнул из руки в таком бампере - маловероятно. Очень понравился.
Качество и материалы изготовления хорошие,запаха не имеет.Для Redmi Note 4x чехол - НЕ ПОДХОДИТ.
Не подходит для 4x,только для 4.
it really very quality item and worth buying but as you can see in the photos is only for xiaomi redmi note 4 and not for 4x.
is only for xiaomi redmi note 4 and not for 4x.


text:
Q: Get back parentViewController I have a PhoneViewController : UIViewController
let phonePage = storyboard.instantiateViewControllerWithIdentifier("phoneViewController") as! PhoneViewController

I am presenting it from 2 different controllers.
// UIViewController1
self.navigationController?.pushViewController(phonePage, animated: true)

// UIViewController2
self.presentViewController(phonePage.embedInNavController(), animated: true, completion: nil)

I would like to have a have to detect which controller was its parent. How would I be able to do that?

A: The short answer is :
if let navController = self.navigationController {
    return navController.viewControllers[navController.viewControllers.count - 1]
    // take care if count <= 1
else {
    return self.parent
}

But is this what you really looking for ? What behavior are you trying to implement based on who is his parent ?
I don't have the answer to this question but you should make your code readable. Let me explain by an example :
let phonePage = storyboard.instantiateViewControllerWithIdentifier("phoneViewController") as! PhoneViewController

// Option 1
self.navigationController?.pushViewController(phonePage, animated: true)
phonePage.mode = PhonePageMode.list

// Option 2
self.presentViewController(phonePage.embedInNavController(), animated: true, completion: nil)
phonePage.mode = PhonePageMode.grid

// In your PhoneViewController class
switch self.mode {
    case .list: // present as a list
    case .grid: // present as a grid
}

is more readable than :
let phonePage = storyboard.instantiateViewControllerWithIdentifier("phoneViewController") as! PhoneViewController

// Option 1
self.navigationController?.pushViewController(phonePage, animated: true)

// Option 2
self.presentViewController(phonePage.embedInNavController(), animated: true, completion: nil)

// In your PhoneViewController class
guard let parent = self.parentViewController else { return }
if parent is ThisClassWhichWantsAList {
    // present as list
} else if parent is ThisOtherClassWhichWantsAGrid {
    // present as grid
}

If you want to use its parent as a condition to do things differently, you'd rather use an additional attribute. Your futur self will be thankful.

A: you can try this code:-
if let wd = self.window {
       var vc = wd.rootViewController
       if(vc is UINavigationController){
            vc = (vc as UINavigationController).visibleViewController
        }

        if(vc is YourViewController){
            //your code
        }
    }

A: if your'r view controller is pushed from navigationViewController than parent class in parentViewController available and if presented than in presentationController available.
You can check in this way:
if let parentVC = self.navigationController.parentViewController{
   //parentVC.className

}

if let presentedVC = self.navigationController?.presentationController{
   //presentedVC.className
}

A: So you basically have to check if the view controller in the navigation controller stack, at the index of count - 1 is the kind of view controller that you are looking for.
Short version:
if navigationController.viewControllers[navigationController.viewControllers.count - 1].isKind(of: TheVCYouAreLooking for.self) {
    print("it is")
} else {
    print("it is NOT")
}

Long version from a playground:
//These are your two view controllers
class FirstVCClass: UIViewController {}
class SecondVCClass: UIViewController {}

let vc = FirstVCClass()
let secondVC = SecondVCClass()
//Create a navigationcontroller and add the first VC in the stack
let navigationController = UINavigationController()
navigationController.setViewControllers([vc], animated: true)

//Now push the secondVC
vc.navigationController?.pushViewController(secondVC, animated: true)

//The last vc in the stack is the one you've just pushed
print(navigationController.viewControllers.last!)

// Now check
if navigationController.viewControllers[navigationController.viewControllers.count - 1].isKind(of: FirstVCClass.self) {
    //The view controller that is before you current vc in the stack is of the class
    print("it is")
} else {
    print("it is NOT")
}

redpajama_set_name: RedPajamaStackExchange


SCVHistory.com SC1705 | Film-Arts | 'Heroes' (TV Series) on Location at City's Soledad Mine Property, 2006.
December 1, 2006 — NBC's "Heroes" (2006-2010) starring Jack Coleman, Hayden Panettiere, Milo Ventimiglia and Masi Oka on location at the City of Santa Clarita's Soledad mine property.
The City of Santa Clarita owns 800 acres of vacant land with graded lots and old mining equipment in Soledad Canyon, just east of the historic SPRR Lang Depot site. The city purchased the property in hopes of gaining leverage in its ongoing fight to block a gravel mine and concrete batch plant on the property, as approved by the federal Bureau of Land Management in August 1990. The city now owns the surface rights, but the federal government continues to control the mineral rights.
Others to use the Soledad mine site for filming are the rock band Aiden ("Moments" music video) and the Martin Donovan movie, "Duress" (2009).
"Heroes" also used Golden Valley High School for at least one episode.
Photo courtesy of the Santa Clarita Film Office.


text:
Prince Cause Of Death Ruled An Opioid Overdose
June 2, 2016 TheFCC	Leave a comment
(Minneapolis Star Tribune) Prince died from an overdose of painkillers, a source with knowledge of the megastar's death investigation has told the Star Tribune.
Continue reading Prince Cause Of Death Ruled An Opioid Overdose →
DeathMinnesotaOpioid OverdosePainkillersPaisley ParkPrince
This Guy Spinning Yo-Yos Is Totally Tricking Gravity
Watch as these diabolos get spun and twirled in the air like they're being controlled by some sort of sorcery and not at the mercy of gravity. That's how good ChihHan Chao, 2015 Red Bull PAO champion, is at using the hand sticks to juggle these crazy yo-yos. He's making the discs dance and tossing them back and forth with such flair that it's like they're floating orbs moving around him.
Continue reading This Guy Spinning Yo-Yos Is Totally Tricking Gravity →
dancinggravityTricking GravitytricksYo-Yos
Scientists Say They're One Step Closer to Universal Cancer Vaccine
Scientists are reportedly one step closer to creating a universal cancer vaccine that would cause the immune system to attack tumors like it were a virus. The breakthrough comes a couple of months after it was announced in February that the U.S. would move to test a lung cancer vaccine available in Cuba.
Continue reading Scientists Say They're One Step Closer to Universal Cancer Vaccine →
CANCERMedicineNewsSCIENCE
Theranos Founder Elizabeth Holmes, Formerly Worth $4.5 Billion, Now Worth 'Nothing'
Last year, Elizabeth Holmes, the founder of troubled blood-testing company Theranos, was at the top of Forbes' Richest Self-Made Women list with an estimated net worth of $4.5 billion, making her the first youngest self-made female billionaire. On Wednesday, the magazine revised its estimate to "nothing."
Continue reading Theranos Founder Elizabeth Holmes, Formerly Worth $4.5 Billion, Now Worth 'Nothing' →
biotechElizabeth HolmesTheranosTheranos Founder Elizabeth Holmesyoungest self-made female billionaire
FBI chiefs want databases exempt from privacy protections
The FBI has hatched a plan to prevent its colossal database of fingerprints and mugshots from falling under the auspices of the Privacy Act. The bureau wants a series of exemptions from the law, including the requirement to tell people, when asked, that they're listed on the system. The feds also want to remove the requirement for people listed on the database to be able to correct any errors in their file. Naturally, the EFF and 44 other privacy groups have protested the move, sending a letter to the Department of Justice asking for an extension on the 21-day consultation period to debate the issue properly.
Continue reading FBI chiefs want databases exempt from privacy protections →
cultureDatabaseEFFFacialRecognitionFBINGIpoliticsprivacyPrivacyActsecurity
Free Supercharging won't come standard on the Tesla Model 3
Tesla's early adopters have been enjoying a lifetime of free charging at the company's network of Supercharger stations, but that won't be the case for owners of the forthcoming mass-market Model 3. In today's annual shareholder meeting, CEO Elon Musk explained free charging for life won't be included with the new model, but will be available as an optional package.
Continue reading Free Supercharging won't come standard on the Tesla Model 3 →
elonmuskgeargreenmodel3superchargerSuperchargerNetworkTeslatransportation

redpajama_set_name: RedPajamaCommonCrawl


text:
Register a trademark in Vietnam 2023 - Vietnam Trademark
Register trademark Vietnam with 5 step:
#1. Step 1: Search for the possibility of trademark registration
#2. Step 2: File the trademark application
#3. Step 3: Follow up trademark registration records at the National Office of Intellectual Property
#4. Step 4: Grant protection certificate or respond to the refusal notification
#5. Step 5: Renew the validity of the trademark registration certificate
Register a trademark in Vietnam : All information foreign investors need to know
Registering a trademark in Vietnam gives individuals and organizations the exclusive right to use the brand in business and distribution of goods. This article advises on the accurate and quick process of exclusive trademark registration.
With a large population, Vietnam is one of the destinations for foreign investors as well as many foreign brands that are also interested in the Vietnamese market. To invest in as well as bring goods and services to the Vietnamese market, one of the top concerns of businesses with products, goods and services is to register a trademark in Vietnam.
Conditions for filing trademark registration applications in Vietnam for foreign organizations and individuals
Subjects with foreign elements can only file through an Intellectual Property Representative Organization in Vietnam to apply for registration of establishing trademark rights.
Note: Foreign individuals and organizations that are rights holders to geographical indications in accordance with the laws of the country of origin have the right to register such geographical indications in Vietnam in their trademark registration applications. Compared with the application for registration of a geographical indication of a Vietnamese organization or individual, a foreign organization or individual needs to have documents proving that the geographical indication is being protected in the country where the geographical indication is located. if it is a geographical indication of a foreign country.
Trademark registration is necessary when doing business in Vietnam
Is it necessary to register a trademark for foreigners?
In the era of economic integration, many foreign enterprises are also actively investing in Vietnam. These enterprises are very interested in the protection of trademarks and trademarks in Vietnam. Therefore, the registration of a trademark for a foreigner will help your company or business be recognized with the exclusive rights to the trademark and prevent unfair competition acts of other subjects.
The registration of foreign trademarks in Vietnam has also been facilitated by the state and law of Vietnam for businesses with the hope that this country will develop more and more. The registration of a foreign mark, also known as an international trademark registration, will help your company protect your logo, product name, or any other sign that distinguishes products and services between them. individuals or organizations, or in other words it is considered a trademark under the laws of the country.
When your product's trademark meets all the conditions, then you can completely proceed to register the trademark to be granted a trademark protection certificate, the holder has the exclusive right to affix the trademark on his product, has the right to let others use it through a trademark license agreement, has the right to transfer trademark ownership, has the right to prevent any third party from infringing.
To save time and money when registering a trademark, before registering, you can ask for help from intellectual property organizations to conduct a search for the possibility of trademark registration. The search results will be available within 7 working days and the required document is a sample of the trademark and product that you need to register.
Upon receiving the search results, if it is concluded that the trademark is registrable, you should proceed with the trademark registration immediately to get priority in filing the earliest application.
Registering a trademark in Vietnam should be aware of this country's laws
Notice of priority for foreign trademark registration applications in Vietnam
Vietnamese law applies the priority of filing the first application, the right of priority in the registration of trademark protection. According to this principle, if many different applicants apply for the same/similar trademark for the same or similar products or services, that application has a priority or first filing date. will be protected.
If different applicants submit multiple applications for the same subject with the same priority or first filing date, only one application will be accepted for protection with the consent of these applicants.
If the application owners cannot reach an agreement, that object will be refused to grant a protection title.
The applicant's priority claim will be accepted if the following conditions are met:
The applicant is a Vietnamese citizen or a citizen of a country that is a member of the Paris Convention or resides, has a production or business establishment in Vietnam or in a country that is a member of the Convention.
The first application has been filed in Vietnam or in a Contracting State to the Convention and that application contains a claim for priority right to register the mark.
Trademark registration applications are filed within 06 months from the date of first filing and the priority period is counted from the date of first filing, the filing date of the first application is not included in the priority period.
In the registration application, the applicant clearly states the claim for priority right and must submit a copy of the first application certified by the first application-receiving agency in the case of filing abroad.
Procedures for trademark search in Vietnam
Searching is a completely voluntary procedure on the part of the applicant. However, it is advisable to proceed with this procedure as it is the first and important step in the preliminary assessment of a trademark.
But this search is for reference only and is not a basis for granting or not granting a degree.
Process and procedures for trademark registration in Vietnam
Free preliminary search: Many units will conduct a free preliminary search for customers to evaluate the registrability of the mark within 01 days since the customer provides the trademark sample.
Official search and review at the National Office of Intellectual Property: After a preliminary search of the mark, there are no signs of similarity with the registered trademark. Customers should carry out the search procedure through representatives of the support units to best appreciate the protection ability of the trademark. The search procedure through a representative takes 1-3 working days.
Register a trademark in Vietnam: detail process
Formal examination time limit: 01 month from the date of application submission.
The Intellectual Property Office Of Vietnam will consider the application for eligibility in terms of form, label form, application owner, filing right, subheading, etc.
If the enterprise's registration application meets the conditions, the NOIP will notify the acceptance of the valid application and publish the application.
If the enterprise's registration application does not meet the conditions, the NOIP will issue a Notice of not accepting the application and request the enterprise to amend. Enterprises make amendments as required and submit amendments to the National Office of Intellectual Property
Time limit for publication of trademark registration applications: 02 months from the date of notification of acceptance of valid applications.
Contents of announcement of a trademark registration application are information related to a valid application stated in the notice of acceptance of a valid application, a sample of the mark and the attached list of goods and services.
Time limit for substantive examination: 09 months from the date of application publication.
The National Office of Intellectual Property considers the conditions for trademark registration, thereby assessing the possibility of granting a title to the trademark registered by the enterprise. If the trademark registration application satisfies all conditions, the National Office of Intellectual Property shall issue a Notice of intention to grant a diploma for the trademark registered by the enterprise.
If the trademark registration application does not meet the conditions, the National Office of Intellectual Property shall issue a Notice not to grant a title to the trademark registered by the enterprise. Enterprises consider and send official correspondence to respond, complain about decisions of the National Office of Property, and at the same time provide grounds for granting trademark protection titles to their trademarks.
Time limit for grant of diplomas: 02-03 months from the date of payment of diploma fees
After the decision to grant a diploma is issued, the enterprise shall pay the fee for the diploma and obtain the trademark protection title.
Thus, normally, the normal registration time of a trademark is about 12-18 months from the date of acceptance of a valid application. In case the business needs to carry out the procedure with a fast registration time from the date of accepting the valid application, please contact Viet An Law for detailed instructions.
What are the benefits of trademark registration?
When registering a trademark, the benefits that the right holder can get include:
Exclusive use of goods bearing that brand and recognized by law.
Be protected by law to avoid acts of infringing upon industrial property rights (such as counterfeit goods, imitation goods, ...).
Enhancing the brand value of products and services.
Trademark registration in Vietnam brings many benefits
Bringing benefits in competing with similar products in the market, helping to distinguish and protect the owner's trademark from other brands.
This is the basis for creating a competitive advantage over competitors in the market, affirming the reputation of the brand, thereby bringing abundant profits for your own business. Besides, avoiding the situation when businesses are on the way to develop unregistered trademarks. At this time, the parties with bad intentions can make a pre-registration for the trademark and you will be at a complete disadvantage in the dispute. If you do not want to break the law as well as this situation, it is best for businesses to protect themselves.
Register a trademark in Vietnam
Vietnam trademark register
Certificate of trademark registration
How to Register a Trademark in Vietnam Updated for 2023
Trademark registry Procedure in vietnam
Trademark registration in Vietnam
7 STEP REGISTER A SUCCESS TRADEMARK IN VIETNAM
HOW TO REGISTER A TRADE MARK IN VIET NAM
STEP BY STEP REGISTER TRADEMARK IN VIETNAM
REGISTER TRADEMARK VIET NAM
TRADEMARK REGISTRATION VIETNAM
TRADEMARK VIETNAMESE


To configure your UMi Z to use MTN Internet in South Africa follow below steps.
Replace above values in your Z with values in each setting below for MTN alternative settings that could be compatible with your device.
UMi Z is not your phone?


text:
Two color-blind brothers see each other in color for the first time, and it's magical.
Reminder: We live in a very vibrant world.
Robbie Couch
It's easy to take the colorful world around us for granted sometimes.
Sure, sunsets and coral reefs can be pretty spectacular. But what about the vivid colors of party balloons or a pink beach towel?
GIFs via jpapenhausen/YouTube.
Aren't those colors special too?
In a touching new video, two brothers, Jimmy and Jace, both of whom are color-blind, try on a pair of glasses that allow them to see colors as they truly are for the first time.
Within seconds of sliding them on, both guys break down, overwhelmed with tears of joy.
Because yes, colorful balloons are amazing.
The video, which you can watch below, was filmed by the brothers' mom while their many loved ones joined them to watch in support. Their mom called the experience a "special [and] amazing moment."
The video is touching hearts across the internet, garnering more than 100,000 views by June 24, 2016 — just three days after being posted.
The glasses Jimmy and Jace tried on were made by a company called EnChroma. And, clearly, they're pretty neat.
The brand's glasses — which are the "only speciality eyewear that alleviates red-green color blindness," according to EnChroma's website — are making a real difference to many of the more than 10 million Americans who are affected by color blindness.
In May 2015, color-blind dad Opie Hughes put on a pair and shed a few tears after truly seeing the color of his kids' eyes for the first time.
He told Upworthy last year that the experience was "like finally seeing a painting finished that you had looked at for 30 years unfinished."
Watch Jimmy and Jace slide on their pair of glasses for the first time below:
science technology vision color blind color blindness seeing enchroma glasses color


text:
Food Methods
Food Methods Blog
Information and Insight
By David Hill on Sunday, March 25, 2012
Here is a quick refresher, or primer, on all the science you'll ever need to know. (If you believe that, have I got a deal for you!)
There are three states of matter: solid, liquid, and gas. For water, these are ice, water, and vapor or steam. Generally when the temperature goes up, the state of matter changes from solid to liquid, then from liquid to gas. Sometimes it goes straight from solid to gas. This is called sublimation.
All matter contains energy. Energy is "where the action is" with regard to science – but we actually know very little about it. Quantum physics is the study of… never mind. Energy can be in different forms. Examples: thermal (heat), electrical, nuclear, magnetic, mechanical (a.k.a. kinetic), chemical, and more…
Atoms are the basic units of chemistry. An element is matter that is made of atoms that all have the same number of electrons. Examples of elements are carbon, hydrogen, nitrogen, oxygen, phosphorus, and sulphur.
A compound (also called a chemical compound) is made up of molecules. A molecule is the smallest indivisible bit of a pure chemical compound. Some examples of chemical compounds include water, ammonia, salt, carbon dioxide, and ethanol.
When chemical reactions take place, electrons are exchanged between molecules and new chemicals are formed. Molecules aren't necessarily made up of different elements. For example, an oxygen molecule is made of two oxygen atoms bound together.
Ions are electrically charged molecules that have lost or gained electrons. For example, as salt (sodium chloride) is dissolved in water, the sodium chloride molecule "breaks apart" into chloride ions and sodium ions. These ions combine with the hydrogen (H) and hydroxy (OH) ions of the water. In the salt water solution, these reactions – where compounds are being formed then broken apart again - are constantly taking place.
I have told you these things because an awareness of them is frequently important when working with food. Now, don't you feel smarter?
More food information for you
Food+Tech Connect
Eater Portland
Food Processing | Oregon Business Plan
Grocery Manufacturers Association
Food Safety Preventive Controls Alliance
Food Methods on Instagram
Food Methods on Twitter
Click here to send us a message
Drop us a line. We'd love to hear from you.
KC Buster Aggie
Login here. If you have a Food Methods account, use it to access special features and exclusive content.
The ultimate goal of all food industry processes is the eating experience.
Our goal is to contribute meaningfully to that overall effort. Cheers!
Notice | Privacy | Trademarks
foodmethods.com - Version 4.1 beta
Copyright © 2015-2017. Food Methods.


Thematic version 0.9 represents a major change in Thematic. Actually, this release represents everything I've learned from the Thematic user community and my continual efforts in studying how most WordPress themes are actually used.
Thematic is all about you: what you want to do with it, how you're using WordPress, and how you're going to use it to meet your online goals.
Head to the Thematic download page and get it now or keep reading and find out what the story is with the best version yet of your favorite WordPress Theme Framework.
As you can see, there have been some changes. Thankfully, they've all been for the better.
First of all, I've done away with building to a consistent baseline. That is, having everything line up to the same baseline across content and sidebar. In theory, or on a static site, that's a great idea. In practice, I've found that it ends up being a detriment when you're customizing using the default style as a guideline or starting point. Basically, things stop lining up and it makes me koo-koo bananas when I go to visit your blog.
What I've replaced it with is a complete rethink of the Thematic typographic scale that adds up to a more harmonious overall appearance. Something beautiful on it's own but easy to fit into almost any design. You can think of it as a damn elegant theme that's ready for you to build a successful website with. Beautiful, pleasant, damn elegant typography, and simple design, are a must for engaging your website visitors and keeping them coming back. Now Thematic takes care of all that for you.
The real icing on the cake for people ready to take their Thematic theme to the next level, Hooks and Filters, are now everywhere in Thematic. Making your Child Theme a potential super-plugin for WordPress. You can see the complete list on the new (in development) Guide To Customizing The Thematic Theme Framework along with code snippets that you can just cut and paste into your Thematic Child Theme.
Thematic now has jQuery-powered drop-down menus built in to the core. This is one of the most common feature requests I've received—but I resisted doing this for a long while. Finally, I came to the conclusion that Thematic's refusal to gracefully handle sub pages was a deficiency. Especially since it's so easy to modify the code that's creating the drop down menus with your Child Theme.
First of all, if you don't like drop-down menus, outright killing the drop downs in your Child Theme is actually pretty easy.
Overriding and adding to the default options with your Child Theme is pretty easy too—once you know how to do it.
Thematic has always stood out amongst premium and free themes by letting you edit the text that appears in the footer of your blog. Even going so far as letting you remove the link back to the Thematic Theme release page without having to edit the actual theme files or purchasing special "unlock" codes.
And now, we've made it even easier to edit your footer text by using shortcodes for some common footer items.
You probably already know that Thematic let's you easily, and rapidly, build bullet-proof websites with it's modular CSS. You can use @import to load up a CSS reset, basic typography, 2 or 3 column grids, basic styles, and more. Now Thematic gives you a head start on Child Theme development. This is the real secret to taking advantage of everything Thematic has to offer.
As of now, there are 2 basic Child Themes officially part of the Thematic project, Thematic Classic and A Sample Thematic Theme.
A Sample Thematic Theme resides in the main thematic directory. Simply move a copy into your wp-content/themes directory, rename it and activate it and you're on your way to customizing your theme the smart way—without touching the original theme files.
Want to add a search form to the header, remove the menu, add more options to the menu, register new sidebars, or custom widgets? You can do all that and more from within your Child Theme functions using the hooks and filters built into Thematic.
The Thematic Classic Child Theme (download it here) approximates the look of the original Thematic, pre version 0.9. It's also a good example of how to make a custom Child Theme by mixing and matching the modular CSS files. Perfect for those of you who have been reluctant to customize your theme using a Child Theme.
Thematic has a ton of contributors and hawk-eyed supporters on a hunt to make it better but I'd like to give a special thank you and shout out to Chris Gossmann who helped make this release a killer one. Chris, you're awesome. Thank you.
And an extra big thank you goes out to all the people working on translations that have helped make Thematic a truly international project. _e('Thank you', 'thematic').
And to everyone using Thematic, talking about it, and promoting it, thank you. Thematic could have been just a fun project for me but it's all of you, spurring me on to make it better, that's making it a great one.
Download Thematic and build your blog the smart way.
This is a great framework to build something special, especially for those of us who need a little extra help with the coding. Thanks, Ian! And, I look forward to seeing what the Thematic community does with this powerful tool.
Just upgraded to 0.9 and so far so good! Thanks for including the classic stylesheet in the pack!
I love the core drop down menus & the new hooks are just what I've been looking for. Can't wait to start playing with it.
Note that I'm just trying to modify the default hooks-filters file and haven't tried to create a child functions.php file yet. Any suggestions?
Suggestion: don't edit the thematic file. 😉 You can add your own custom blog description using functions.php in your child theme.
I've just used this latest version of thematic 0.9 to build a custom website. I must say it was such a pleasure! The typography is incredibly elegant. That is a hard balance to find, but you've found it.
It's pretty amazing that I can make a whole new site with just a few lines of code in a child theme to customize the things I need.
While it does take a big of thinking to grok the concept of adding and removing actions, it is worth it in the end, allowing you to add whatever elements you need anywhere in the theme using the myriad action hooks.
Thanks Ian, Chris and others for such a great wordpress theme framework!
Absolutely brilliant – Thanks so much!
Beautiful got a sneak when you sent it to me last week. No doubt the best yet.
Working on creating a child theme that looks like the WP 2.7 Admin. I know there is a theme already like it.
But not powered by thematic:) If it works out I'll post a linky. Calling it WPMatic at the moment.
I just found a little bug in your hooks-filters.php. There is a blank missing between "entry-date" and the actual date, line 518.
And as a proposition for the next version: How about integrating "co-authors", i.e. displaying more than one author for a post/page?
It would be cool if you could also insert a [back-to-top] shortcode for the footer options.
You could just insert a name="top"> after the body tag in the header.php and then you can insert the link Back to Top somewhere in the footer. But make it one of those handy shortcodes.
Edit: arghhh!! I dont know how to insert html code sample in to the comment without it being seen as html!
WOW! Amazing theme. This blows me away.
Very very very very helpful and downright…awesome.
Why buy Thesis when you can get Thematic?
thanks a lot for all your hard work, ian!
excellent framework to build upon!
Hmmm… It seem truly interesting. I have download it, and also subscribe to your mailing list in order to keep in touch. Thanks for sharing your work! I'll take a serious look at this. Since i am new to WP and i want to learn to make my own themes. Thanks again.
I only really discovered thematic last night, and can't try out the new version just yet (I'm at work, see), but from what I've read this morning, it seems to be as much of a revolution as WordPress itself. I cannot recall the amount of time I've downloaded a theme, hacked it to death and then thought 'surely this isn't the best way'.
Now, it seems, I can start with a truly great foundation that's extensible and dependable!


text:
Brian aims for kite surfing record
By Paul Bibby
Mandy Nolan's SoapboxMandy Nolan - January 19, 2022 7
Mandy Nolan's Soapbox: Emergency response for our emergency responders
We need our nurses. Right now, they are the most important workforce in the country. Not politicians or real estate agents or tradies or miners. Nurses. Paramedics. Hospital doctors.
National NewsThe Echo - January 21, 2022 0
Brian Kiss von Soly is on his way to Mebourne in an effort to break a world record. Photo supplied.
Paul Bibby
It all started when Brian Kiss von Soly was given the Guinness Book of World Records for his 21st birthday.
'I went through it to see if there was a record I could beat', the Ocean Shores resident and talented beer brewer says.
'I thought the record for eating an onion looked doable, but it turns out the first bite absolutely burns and it gets worse from there.
'Every once in a while, I'd take a look and see if there was a record I could go for'.
Fast-forward 14 years, and it appears Brian has finally found his Everest. On December 28, the 35-year-old embarked on a mission to complete the world's longest solo kite-surfing journey.
Sailed out of New Brighton
Carrying a dry-bag backpack containing the absolute basics for survival, he sailed out of New Brighton Beach for an epic 40-day voyage of more than 1,300 kilometres, to Melbourne.
'Yes, it's a world record attempt, but I'm seeing it as more of an adventure journey', Brian says.
'I just needed a bit of a reset, so I took 44 days off work and decided to go for it.'
'It's been lots of fun already. I've seen flying fish, massive turtle, dolphins, a seal or two. And I'm meeting lots of people too when I camp up for the night'.
Negotiating Australia's at-times-treacherous eastern coastline without a support vessel will be far from easy.
There are many points throughout the journey where he will be travelling beside remote, rugged terrain, creating issues both in terms of finding a place to camp overnight and getting help if a problem occurs out on the water.
15 years of kite surfing experience
Despite having more than 15 years kite surfing experience, Brian still faces the possibility of misjudging the wind or having an issue with his gear.
'There's a lot of risk', he says.
'Wind is one of those things that is quite unknown. If it drops out suddenly then the kite can drop into the water, can get swallowed by waves, can tear…
'But that's half the fun – figuring out solutions on the fly'.
Fortunately, Brian is also equipped with the latest satellite and GPS technology.
If something goes seriously wrong, a single tap on his watch will see the nearest rescue vessel or helicopter swiftly dispatched in his direction.
The technology also helps him keep in touch.
'I can get texts from people through the satellite, and into my watch. So I'm getting messages while I'm out there. And people can track me. I can make a 3D map movie of the journey. It's amazing really.'
If all goes according to plan, Brian hopes to be pulling into Port Phillip Bay some time in early February to secure that long-desired place in history and, quite possibly, a nice cold beer.
You can keep track of Brian's progress at www.share.garmin.com/8M6E5.
world record attgempt
Previous articleZombie coastal plan is back!
Next articleBail rejected for Julian Assange
Hospitality leaders help Melbourne's nightlife
Local News Eve Jeffery - November 6, 2020 0
There's nothing like a lunch date to get good ideas cooking, and local hospitality leaders have done just that with an initiative to support the struggling hospitality industry in Melbourne.
My conspiracy with Abbie Hoffman
Byron Echo The Echo - October 29, 2020 1
Our covid days have pushed the limits of what we'll watch on Netflix. Maybe you caught the series on the Chicago conspiracy trial of 1969, starring Yippie defendant Abbie Hoffman? This story is about my conspiracy with Abbie...
Home under threat from Council fines
Byron Echo The Echo - August 28, 2020 5
In 2011 Barry McIntosh bought his dream home in New Brighton. In 2020 Byron Shire Council told him he would have to demolish significant parts of it. Now he's heading to the Land and Environment Court and has been charged $6,000 in fines.
Are you affected by flooding in the north of Byron Shire?
Local News Aslan Shand - June 19, 2020 1
In 2017 the region was devastated by the impact of Ex-Cyclone Debbie with homes, livelihoods and lives being lost. The draft North Byron Floodplain Risk Management Plan is on exhibition and your feedback is vital.


text:
Q: Django - How to populate choices in a modelchoicefield with a field from another model filtered by logged in user I'm trying to made a modelform with a modelchoicewidget which inherits its choices from another model than the model the modelform is connected to, and this selection is to be filtered by the current logged in user. The example below illustrates my intentions - let's say I have two different models where one model allows the user to register meal types (breakfast, dinner etc), and the other model allows the user to create specific meals based on those meal types, with the connecting variable being the title of the meal type.
models.py:
class Mealtypes(models.Model):
    author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
    title = models.CharField(max_length=200, default='')
    description = models.TextField(default='')

class Specificmeals(models.Model):
    author = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
    meal_name = models.CharField(max_length=200, default='')
    mealtype = models.CharField(max_length=200, default='')
    fruit = models.BooleanField(default=False)
    meat = models.BooleanField(default=False)
    dairy = models.BooleanField(default=False)

forms.py
from django import forms
from django.core.exceptions import ValidationError
from django.forms import ModelForm
from .models import Mealtypes, Specificmeals

class MealAdder(ModelForm):
class Meta:
    model = Specificmeals
    fields = [
        'meal_name',
        'mealtype',
        'fruit',
        'meat',
        'dairy',
    ]

widgets = {
        'text': forms.Textarea(attrs={"style": "height:10em;" "width:60em;"}),
        'mealtype': forms.ModelChoiceField(queryset=Mealtypes.title.filter(author='author')),
        'fruit': forms.CheckboxInput(attrs={"style": "margin-left:350px;"}),
        'meat': forms.CheckboxInput(attrs={"style": "margin-left:350px;"}),
        'dairy': forms.CheckboxInput(attrs={"style": "margin-left:350px;"}),
        }

I'm trying to play around with the ModelChoiceField to make it query the mealtypes from the Mealtypes model filtered by the current user, but I keep getting attribute errors (object has no attribute..)
What am I doing wrong, and how can I solve this?

A: First, add the following to your Mealtype model, so you can output the actual title of the MealType:
def __str__(self):
    return f"{self.title}"

Then, start by passing the request user in your view:
form = MealAdder(author=request.user)

And then in your forms.py you should use the queryset in the form's __init__ like the following:
from django.forms import TextInput, CheckboxInput, Select, ModelChoiceField

    class MealAdder(ModelForm):
        def __init__(self, author, *args, **kwargs):
            super(MealAdder, self).__init__(*args, **kwargs)
            self.fields['mealtype'] = ModelChoiceField(queryset=Mealtypes.objects.filter(author=author))

        class Meta:
            model = Specificmeals
            fields = ['author', 'meal_name', 'mealtype', 'fruit', 'meat', 'dairy']
            widgets = {
                'author': Select(),
                'meal_name': TextInput(attrs={"style": "height:10em;" "width:60em;"}),
                'fruit': CheckboxInput(attrs={"style": "margin-left:350px;"}),
                'meat': CheckboxInput(attrs={"style": "margin-left:350px;"}),
                'dairy': CheckboxInput(attrs={"style": "margin-left:350px;"})
            }

Don't forget you have to have an author field in the form, as this cannot be null.