Antiarrhythmic Drugs edited by Antoni Martínez-Rubio, Juan Tamargo, Gheorghe- Andrei Dan
‘Miedo de ser enfermera’: Los trabajadores de la salud están bajo ataque
Estigmatizados como focos de contagio en algunos países, los trabajadores de la salud han sido agredidos, maltratados y marginados.
BCI Congratulates Our 2020 Student Scholars
BCI announced today the selection of the organization’s 2020 Student Scholars for global bat conservation priorities
Atmospheric Science for Environmental Scientists, 2nd Edition
Enlightens readers on the realities of global atmospheric change, including global warming and poor air quality Climate change and air pollution are two of the most pressing issues facing Mankind. This book gives undergraduate and graduate students, researchers and professionals working in the science and policy of pollution, climate change and air quality a broad and up-to-date account of the processes that occur in the atmosphere, how these are changing Read More... |
Rivers in the Landscape, 2nd Edition
Rivers are the great shapers of terrestrial landscapes. Very few points on Earth above sea level do not lie within a drainage basin. Even points distant from the nearest channel are likely to be influenced by that channel. Tectonic uplift raises rock thousands of meters above sea level. Precipitation falling on the uplifted terrain concentrates into channels that carry sediment downward to the oceans and influence the steepness of adjacent hill slopes Read More... |
Beaches and Coasts, 2nd Edition
A new edition of a unique textbook that provides an exhaustive treatment of the world's different coasts—with focus on climate change sea-level rise Coastlines of the world are as diverse and complex as any geological setting on Earth, and understanding them is extremely important. Beaches and Coasts, Second Edition is an exciting and unique textbook that covers the world’s different coasts and details the highly varied processes that have shaped Read More... |
Geology For Dummies, 2nd Edition
Get a rock-solid grasp on geology Geology For Dummies is ideal reading for anyonewith an interest in the fundamental concepts of geology, whether they're lifelong learners with a fascination for the subject or college students interested in pursuing geology or earth sciences. Presented in a straightforward, trusted format—and tracking to a typical introductory geology course at the college level—this book features a thorough introduction to the study Read More... |
Exploring the Solar System, 2nd Edition
An Exciting and Authoritative Account of the Second Golden Age of Solar System Exploration Award-winning author Peter Bond provides an up-to-date, in-depth account of the sun and its family in the 2nd edition of Exploring the Solar System. This new edition brings together the discoveries and advances in scientific understanding made during the last 60 years of solar and planetary exploration, using research conducted by the world's leading geoscientists Read More... |
The Mediterranean Sea in the Era of Global Change 2: 30 Years of Multidisciplinary Study of the Ligurian Sea
Due to its particular characteristics, the Mediterranean Sea is often viewed as a microcosm of the World Ocean. Its proportionally-reduced dimensions and peculiar hydrological circulation render it susceptible to environmental and climatic constraints, which are rapidly evolving. The Mediterranean is therefore an ideal site to examine, in order to better understand a number of key oceanographic phenomena. This is especially true of the Ligurian Sea Read More... |
ArchLinux UEFI and Dell XPS 2015
unrelated important thing first: I am blogging on my own website too, you can read my very first public entry in there!
I will keep posting here less web-centric related issues, or mostly rants, and will post there interesting stuff about HTML5, JavaScript, client/server and Mobile Web development ... now, back to the topic ...
archibold and my Dell XPS Developer Edition
So they changed my motherboard today, it suddenly stopped recognizing the Hard Drive, and even trying other drives didn't work at all.Kudos to Dell for their assistance: the day after a person with already all necessary pieces arrived at my door and substituted the Motherboard with a very quiet and professional attitude.
... when I've asked assistance for a Lenovo Yoga Pro 3 they never even come back ...
If you've never heard about archibold, it's an installer which aim is to simplify ArchLinux and, optionally, GNOME configuration. Since I already backed up my Dell, and even if it was working like a charm, I've decided to erase it and see if I could make it work via UEFI.
Apparently this BIOS could be quite problematic and while
efibootmgr
seems to work without problems, it actually doesn't: it puts the EFI label into the list of Legacy boot-able devices so it won't work! Not only the boot manager
If you have tried my installer before, I suggested to useUEFI=NO
and enable Legacy mode on the bios. This was because not only I couldn't figure out how to install via UEFI, but I was using genfstab
generated /etc/fstab
during the installation and it was storing wrong UUID
s. Finally Managed to install with UEFI boot!
The TL;DR story is that if you have an EFI partition created through gparted, and you have Syslinux on it, you should go in the part of the bios where you can add UEFI partitions manually, selectingsyslinux/syslinux.efi
file to boot from.December 2015 ... Spaces or Tabs ?
TL;DR this post tries to explain why a compact solution based on a NON visually configurable predefined amount of spaces wins through facts and not personal style choices. If you'd like to argue please have the decency to read this post top to bottom before that. Thank you!
I've got 99 problems and "spaces VS tabs" actually is one of them!
I find it embarrassing for the entirety of the programming, developers, and designers worldwide industry and community to still have these kind of debates in year 2015!
We laugh about medieval people thoughts, modern bigotry, or how stupid is from time to time the rest of the world around us ... and yet we cannot stop whining about spaces or tabs.
Moreover, the untold story about this debate is that everyone is simply being selfish and every rationale behind is made of opinionated and volatile fluff that does not match current real-world scenarios (yeah, maybe me too, but before that, please keep reading 'till the end, thanks!).
Defining a Standard
There are few standards and protocols universally implemented in the programming world and JSON, as well as XML, are just a few and rare examples.There is no "my XML is better than yours" or "my JSON looks nicer" discussion there, as soon as you write something not conforming with the standard you are causing troubles either to your own code and yourself or to whoever needs to consume your code!
There's not "but ..." or "because my style ..." here, there is only one way everyone understands which is the only compatible way and the best way to move forward.
Unfortunately, in the history of Computer Science (funny it's called Science in this case) there's still no agreement on the "spaces VS tabs" matter.
Fact 1: Nobody wants horizontal scroll
Not only books are read vertically since ever, "technological mouses" are not even created to simplify such task and on top of that: if you don't set yourself a limit to the amount of columns your code should actually warn you, usually 80 up to 120 chars, it doesn't actually matter what choice you made to your indentation because "'yo column is so wide I though you were a code cruncher instead of a human being".We don't like to scroll horizontally and we would like to be able to put 2 or more different files beside each other to compare diffs and lines in a single screen ... right?
In other words, it's OK to have 80 to 120 chars column width limit because we all agree it's needed!
Then we have either developers that connect via SSH, those that use daily vi or vim, and people on Smart Phones that maybe are surfing online, studying some piece of code where they also have to scroll every single pre tag because by default each browser uses 4 or 8 spaces to represent a tab ... you say no?
This is something standard to show to you, it doesn't have any special parsing behind, it's just plain code.
Before asking ourselves which piece of code looks universally better, I just would like to show you a couple of cases different from your editor of choice scenario:
// 2 spaces indentation random code
class View {
constructor(options) {
this.model = options.model;
this.template = options.template;
}
render() {
return _.template(
this.template, this.model.toObject()
);
}
}
// its tabs based equivalent
class View {
constructor(options) {
this.model = options.model;
this.template = options.template;
}
render() {
return _.template(
this.template, this.model.toObject()
);
}
}