recentpopularlog in
« earlier   later »
Jen Simmons: Revolutionize your page: Real art direction on the web - YouTube
Interesting insights about Instapaper, reader mode, intelligent digital assistants using pages without the designers' CSS--and there being no stats for that.
design  webdesign  columns  flexbox  layout  conference  talk  cssgrid 
october 2019
Why would a python programmer learn rust when there are no jobs in it - YouTube
That is the coolest shirt I've ever seen. Please someone tell me where I can buy that, and port it to a vim color theme
rust  devel  programming  conference  talk 
october 2019
I used Elm in production and it cost me my job – Annaia Berry - YouTube
Time to bill the functionality not the time spent.

Once upon a time, a cargo ship was not starting. Everything seemed fine to mechanics, but the engine just wouldn't start.
After weeks of immobilization and dozen of hours of costly experts not finding the solution, the ship owners were directed by one of the experts to an old retired mechanic who supposedly worked magic in his days. The owners went for it, because at that point they would have hired a shaman if he had promised them to fix their ship.
The old guy came with his own toolbox. Within ten minutes he took out a little hammer and gently hit a specific point in the engine, which then consented to fire up.
The ship owners were delighted and asked the guy to send them the bill. On the morrow he came back with a single-line $10,000 bill. They told the old mechanic that it seemed disproportionate for the time he spent. The mechanics then rewrote the bill as such :
- poking with a hammer : $2
- knowing where to poke : $9,998
elm  haskell  devel  programming  makingyourselfdispensable  video  conference  talk 
october 2019
"The Mess We're In" by Joe Armstrong - YouTube
"...and now for the tricky bit."
I find that I do write really big comments - when I am thinking through the problem. Then they quickly become irrelevant, or even misleading, as you refine the approach, refactor, and generally do things differently. To keep the comments in alignment with the code doubles your effort.
erlang  fp  video  talk  joearmstrong  forthecomments 
october 2019
Sean Penn The Novelist Must Be Stopped | HuffPost
“Behind decorative gabion walls, an elderly neighbor sits centurion on his porch watching Bob with surreptitious soupçon.” ― page 71
“While the privileged patronize this pickle as epithet to the epigenetic inequality of equals, Bob smells a cyber-assisted assault emboldened by right-brain Hollywood narcissists.” ― page 99

This is all, apparently, supposed to seem deeply witty and profound. Instead, it’s akin to the product of a postmodern literature bot. It doesn’t seem quite possible that a human person wrote this mess.
celebrity  writing  ishard 
october 2019
HowTos/NewerApps - CentOS Wiki
You might need to do something like

<code class="language-bash">
yum-config-manager --enable centos-sclo-sclo
yum-config-manager --enable centos-sclo-sclo-rh
</code>

…even *after* installing the 'centos-release-scl' package.
centos  epel  scl  sysadmin  packagemanagement  centos6  solution 
october 2019
How to possibly fix a PC that will turn on but will not beep and will not display anything on screen - YouTube
Do what the video shows: Disconnect the power cable, remove the CMOS battery, short the CMOS jumper pins for 9 seconds then return the jumper cap to its initial position (only if you can find these jumper pins; if not, skip this step), press your PC's chassis power button switch (to discharge any remaining power circulating in the system), leave the PC unplugged and in this state overnight, then the next day return the CMOS battery to its socket, power up the PC, and if no beep, then disconnect the power cable, press your PC's chassis power button switch (to discharge any remaining power circulating in the system), remove one component, power up the PC, and if no beep then repeat (each time unplugging the PC, pressing the power switch to discharge remaining power, removing a remaining component, and then powering up, and this until the PC beeps at boot).If it never beeps, even when you are down to just motherboard, power supply & CPU+fan, one of these remaining components may be bad
awardbios  posttest  pc  hardware  troubleshooting  video 
october 2019
github - Relative Link to Repo's Root from Markdown file - Stack Overflow
On GitLab, it seems to be '/../tree/whatever'.
after some research I've found such solution:

[the real relative root of any fork](/../../)
github  gitlab  gfm  markdown  relativelinks  maybesolution 
october 2019
joe is broken · Issue #99 · karan/joe
is solved the update issue by going into the .joe-data directory and manually checking out the master branch. After checking out the branch, joe recognizes the .gitignore files.
joe  python  gitignore  bug  errormessage  needshelp 
october 2019
PEP 440 -- Version Identification and Dependency Specification | Python.org
For a given release identifier V.N, the compatible release clause is approximately equivalent to the pair of comparison clauses:

>= V.N, == V.*

This operator MUST NOT be used with a single segment version number such as ~=1.

For example, the following groups of version clauses are equivalent:

~= 2.2
>= 2.2, == 2.*

~= 1.4.5
>= 1.4.5, == 1.4.*
python  pip  semver  packaging  versionpinning  pinning  versioning  dependency  reference  dammitbrain 
october 2019
Getting Started With setuptools and setup.py — an_example_pypi_project v0.0.5 documentation
<code class="language-python">import os
from setuptools import setup

# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
name = "an_example_pypi_project",
version = "0.0.4",
author = "Andrew Carter",
author_email = "andrewjcarter@gmail.com",
description = ("An demonstration of how to create, document, and publish "
"to the cheese shop a5 pypi.org."),
license = "BSD",
keywords = "example documentation tutorial",
url = "http://packages.python.org/an_example_pypi_project",
packages=['an_example_pypi_project', 'tests'],
long_description=read('README'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)</code>
python  install  setup.py  setuptools  packaging  template  dammitbrain 
october 2019
python - How can I simulate input to stdin for pyunit? - Stack Overflow
As of Python 3.5 "If you are patching builtins in a module then you don’t need to pass create=True, it will be added by default."

<code class="language-python">
@patch.object(module_under_test, "raw_input", create=True)
def test_using_decorator(self, raw_input):
raw_input.return_value = input_data = "123"
expected = int(input_data)

actual = module_under_test.function()

self.assertEqual(expected, actual)</code>
python  mock  monkeypatching  testing  unittest  solution 
october 2019
Evidlo/redrum: Reddit wallpaper changer. Does math to rank images.
<code class="language-ini">
## search these subreddits
subreddits = winterporn
earthporn
natureporn
spaceporn
jungleporn
astrophotography
californiapics
breathless
amateurphotography
amateurearthporn
eyecandy
bridgeporn
cabinporn
churchporn
megalithporn
summerporn
architectureporn
</code>
python  reddit  wallpaper  downloader  eyecandy  samplecode 
october 2019
« earlier      later »
per page:    204080120160

Copy this bookmark:





to read