In the new version of the author’s extension UsableHomeButton for Firefox, added ability to copy decoded URL of page, support for minimal URL for Yandex.Market; fixed copying site’s domain with no suffix, etc.
Marat Tanalin on web-development and IT
SmartUpscale — новое авторское расширение для веб-браузера Firefox, предотвращающее размытие изображений, фактические размеры которых в физических пикселах в целое количество раз больше их истинных размеров, т. е. каждый пиксел изображения может быть представлен как группа физических пикселов (2×2, 3×3 и т. д.) одинакового цвета.
Может быть полезно при использовании мониторов с высокой плотностью точек, в том числе 4K-мониторов, используемых при системном масштабе 200%.
After installing Update 2 for Microsoft Visual Studio 2015 Community, there were two issues when building some C++ projects:
- the IDE was unable to find the
windows.hheader file (main WinAPI header), and that was causing a fatal error;
- there was an “Unresolved external” error when using functions from the standard WinAPI library
Fortunately, both issues can be solved by changing some project settings.
- the IDE was unable to find the
Features of the author’s extension UsableHomeButton for Firefox are expanded with the new items of context menu of the “Home” button:
“Remove query string”, “Canonical URL”, “Minimal URL”, “Open in private window”, and “Copy” submenu.
25 years after publication of my first academic papers involving C++, I’m retiring from active involvement with the language.
I’ve spent the last quarter century focusing almost exclusively on C++, and that’s caused me to push a lot of other things to the sidelines. 25 years of deferred activities begets a pretty long to-do list. The topmost entry? Stop trying to monitor everything in the world of C++. :-)Scott Meyers
ExplorerHiDpiFix is a free author’s program to work around the bug of Windows 7’s Explorer which causes that, at system-level zoom of more than 188%, the address bar gets very short, and almost entire width of the window is occupied by the search box, while changing the ratio of their lengths by drag-n-dropping the gap between them does not work.
The program forcedly sets lengths of the address bar and the search box at ratio of 3:1 (75% / 25%) and is intended for those not in a hurry to upgrade their Windows 7 to Window 10 which is free of this issue.
The fix is applied automatically to Explorer windows already opened on the program start, and, during the program is running, the fix is applied to new Explorer windows right after their opening as well as after each change in their size.
Happy second half of the decade to all dear readers.
Many of the servers running unsupported versions of PHP aren’t even running the secure version of their branch.
PHP code has flaws, much like Python code, node.js code, and Ruby code. We’ve got fewer this year than last, and hopefully, we will have fewer next year. Sadly, not all applications get better at the same rate. Some people just will not bother to patch old code. That is not a language problem, that is a people problem.Cal Evans, Zend Developer Zone
ARIA allows developers to re-invent and extend native HTML features in meaningful ways. But like all bolt-on technologies its features are brittle compared to its built-in counterparts.
By using native HTML features, wherever practical, over custom HTML with bolt-on semantics and interaction behaviours, you will save yourselves and users a lot of grief and ensure that your User Interfaces work robustly across the largest number of devices, operating systems, input devices, browsers and assistive technologies.Steve Faulkner, HTML5 Doctor
Three author’s applications for Windows are added to the “Projects” section:
- MultilinePathEnv — multiline editor of the
Pathsystem environment variable;
- WhiteScreen — screensaver that smoothly changes its transparency when starting and closing;
- DoNothing — stub application that closes itself immediately after start.
The applications are freeware and do not need installation — just unpack the downloaded archive.
- MultilinePathEnv — multiline editor of the
orderCSS-property without need for turning-on Flexbox mechanism (
display: inline-flex) for their parent element.
The library works in all Flexbox-capable browsers and Internet Explorer 7+.
File size with minification and Gzip compression applied is 1 KB.
Why should we push the web forward? And forward to what, exactly? Do we want the web to be at whatever we push it forward to?
The innovation machine is running at full speed in the wrong direction. We need a break.Peter-Paul Koch
Sometimes, there is an undesired question mark at the end of URL. This happens, for example, when using link buttons in browsers based on WebKit (Safari) and Chromium (Opera 15+).
There is a workaround: trailing question mark when query string is empty can be automatically removed with server-side redirection.
Letting implementation complexity leak into the UI is a common antipattern.
ALL cycles can be detected by “keeping track of a dependency graph and using common cycle-detection algorithms”. Worst case scenario, we can just be very aggressive about what depends on what and it’s still better than rejecting entire features that are needed by thousands of authors daily on the grounds of “but if used nonsensically it could result in a cycle and then the world would explode!!!11”.
Potential cycles come up all the time with any reasonable styling mechanism that supports the kinds of constraints needed by real designs.
There’s something utterly perverse in thinking it’s an acceptable compromise to throw more work on the shoulders of the thousands (if not millions) of authors to prevent the handful of implementors from doing extra work.Lea Verou (1, 2)
Detailed personal impressions of the 23.8-inch IPS-based modern computer monitor Dell P2415Q with 4K Ultra HD (3840×2160) resolution.
Impressive clarity, full 60 Hz without MST, no PWM, barely noticeable crystal inversion, heavy Glow effect, and other specifics.
The useful Firefox extension Copy Link Name that allows to copy text of a link on a webpage to clipboard has stopped to work in Firefox 39 (Aurora / Developer Edition).
The official support email does not work, while website of the extension author is just a stub without ability to contact him. However it is possible to fix the extension easily by ourselves.
Sometimes, it is needed to apply styles to each group of
DDelements in a common container like
DIVis disallowed by the HTML specification:
DLis the only valid parent element of these elements.
The security issue is that browsers need to make the domain name portion of the URL clearly visible. I hope that the smart folks working on Chrome can figure out a way to do that without castrating the browser’s ability to easily share links.
It’s a classic case of:
- Something must be done!
- This (killing URLs) is something.
- Something has been done.
Technically, obfuscating the URL seems to solve the security issue. But technically, decapitation seems to solve a headache.Jeremy Keith
Internet Explorer 8 (IE8) web-browser does not support the
getElementsByClassName()DOM-method, but supports
querySelectorAll()that allows to achieve the same goal without using any JS libraries.
CSS Cascading and Inheritance Level 3 specification that has recently reached the CR (Candidate Recommendation) status contains two important new features.
unsetvalue allows to reset value of a CSS property.
- Shorthand property
allallows to set a value to all CSS properties supported by browser without need to list them explicitly.
Using both features in conjunction should allow to easily and gracefully reach the result currently reached via multiline “reset” stylesheets.
Gaps in sprites (+)
To speed up downloading small images like icons, they are often united into one image called sprite. This minimizes delays caused by waiting for server response for each of image files.
However using sprites is connected with some nuances. One of most common errors is placing images in sprite without gaps between them.
For nearly 15 years, I’ve called myself a web developer.
In those 15 years I’ve had job titles like Technical Architect, Project Manager, Lead Designer, and even Director of Technology. Underneath it all, though, I just built web sites. Ask me what I did and I’d tell you that I was a web developer.
Over a month ago, I took a new title: Product Manager.
I’m not coding anymore. And I’m feeling a little uneasy about it.
Why does this make me uneasy? Because I’ve always shared my experience as a web developer and I suddenly find myself wondering how long I can continue to do that.Jonathan Snook
Sometimes there is a need to style a link as a standard button. This is typically undesirable; however, if we have the task anyway, then it makes sense at least to do this properly.
People of Mozilla — company developing Firefox web-browser — on switching Opera to WebKit (Chromium) layout engine and dropping development of Opera’s own engine — Presto.
matches()in latest versions of the standard). It allows to determine if an element matches specified CSS selector. It is one of key features allowing to go without libraries like jQuery to bind live event-handlers conveniently.
Internet Explorer supports
msprefix) as of version 9 only. But what to do with IE8 which we are still forced to support in many cases? Fortunately, there is a compact solution that does not need any third-party libraries.
But if advanced features of jQuery are unneeded for a specific task or project, Sizzle can be used as a standalone library, resulting in 5-6-x faster loading compared with jQuery.