teleren/devto huggingface dataset:
Blogger icons
Tags: blogger, favicon
Published: 2010-08-29 22:27:00

---
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/y9hxcwi5y92j6zfcxbjx.jpg
title: Blogger icons
slug: blogger-icons
date: 2010-08-29 22:27
tags: 
 - blogger
 - favicon
---
One thing that strikes me about blogger, or the many bloggers that use it, is that I've never come across a blog that hasn't used the default blogger favicon. Now some people might not care too much, how important can a little 16x16 icon really be?

Well if you're like me, pretty important. I use Chrome, in fact I live by Chrome, and my bookmarks bar is simply a big list of icons. No text, just icons. So when I have a list of favourite blogs, I have to start guessing at which is which.

A few things are hard to hack in blogger, but luckily the favicon isn't. Simple put this slightly modified line below the title tag, and you're all set. I've never had to use the `type="image/vnd.microsoft.icon"` before but, it seems to do the trick for blogger!

    <link href="http://domain.com/iconnane.ico" rel="shortcut icon" type="image/vnd.microsoft.icon"></link>

...and tada! You're now helping make the world of icon bookmarkers a happier place!
Syntax highlighting test
Tags: syntaxhighlighting
Published: 2010-08-28 22:20:00

---
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/y9hxcwi5y92j6zfcxbjx.jpg
title: Syntax highlighting test
slug: syntax-highlighting-test
date: 2010-08-28 22:20
tags: 
 - syntax-highlighting
---

_Originally posted on August 8th, 2010_ ([more info](https://dev.to/adamkdean/migrating-to-dev-to-190))

_Note: for the last decade I've moved blogs about 7 times. From blogspot, to my own blog, to another, to another, from platform to SQL to JSON to YAML and so on. Every time I've moved, I've always brought this first blog post with me. So while it doesn't serve to help folks much, it's kinda special to me. So here it is._

Just testing the syntax highlighter with this blog.

	using System;
	 
	namespace HelloWorld
	{
	    class Program
	    {
	        static void Main(string[] args)
	        {
	            Console.WriteLine("Hello World!");
	            Console.ReadKey();
	        }
	    }
	}
Cisco Valet - Nice, very nice
Tags: ciscovalet, goodbuy, network, router
Published: 2018-09-18 02:43:35

---
title: Cisco Valet - Nice, very nice
published: true
tags: cisco valet,good buy,network,router
canonical_url: https://www.briannipper.com/2010/08/cisco-valet-nice-very-nice.html
---

I just purchased the [Cisco Valet](http://www.target.com/Cisco-Valet-Wireless-Hotspot-White/dp/B003B4AVRE/ref=sr_1_1?ie=UTF8&searchView=grid5&keywords=Valet%20Cisco&fromGsearch=true&sr=1-1&qid=1281233889&rh=&searchRank=target104545&id=Cisco%20Valet%20Wireless%20Hotspot%20White&node=1038576%7C1287991011&searchSize=30&searchPage=1&searchNodeID=1038576%7C1287991011&searchBinNameList=subjectbin,price,target_com_primary_color-bin,target_com_size-bin,target_com_brand-bin&frombrowse=0) and I have to say I love it. ![](http://home.cisco.com/assets/store/M10/M10_Main01.jpg)

It took about 10 minutes to turn off my computer, unhook my current router and cable modem and then place the valet into the loop. After getting everything booted up... I was done.

The valet earns it's name. It auto-assigned a unique name (at least unique to my area) and a random password (probably not something that couldn't be determined, but unique enough). As an added bonus it includes a segment for guests.

Another added bonus is the nice little auto-config USB key that provides instant setup for any devices which you wish to connect to the non-guest segment of the wireless network. For instance the somewhat "old" laptop that I'm writing this post on (Dell Latitude D510) which has built in WiFi was connected within just a few minutes.

All in all an excellent $90 at Target and a product that I would recommend.
Fluent Interfaces in Views en Templates
Tags: csharp
Published: 2020-11-05 10:37:01

---
title: Fluent Interfaces in Views en Templates
published: true
date: 2010-05-29 07:00:00 UTC
tags: csharp
canonical_url: 
---

De afgelopen tijd zijn wij binnen Webpirates fan geworden van het gebruik van fluent interfaces om onze code beter leesbaar te maken. In dit artikel wil ik laten zien hoe wij fluent interfaces inzetten om views en templates een stuk leesbaarder, schoner en eenvoudiger in gebruik te maken.

### Wat is een fluent interface?

Kort gezegd maakt een fluent interface het mogelijk om de publieke API van een object op een efficiente en heldere wijze aan te spreken. De aanroepende code wordt hierdoor doorgaans sterk verkort, beter leesbaar en eenvoudiger in gebruik.

Het volgende voorbeeld laat zien hoe een class met een fluent interface in C# aangeroepen wordt:

{% gist https://gist.github.com/robinvanderknaap/35d1e87b87354b2743eac79eb8f46d22 %}

De customer class bevat naast een aantal properties ook een functie om orders toe te voegen. De order class heeft ook een fluent interface geïmplementeerd waardoor het order object ook eenvoudig te configureren is.

Dezelfde aanroep, maar dan zonder fluent interface zou er als volgt uit zien:

{% gist https://gist.github.com/robinvanderknaap/9c81e86c4b172e81425cae9f9f6e564c %}

Hoewel een fluent interface qua functionaliteit niets toevoegt ziet de code er een stuk overzichtelijker uit. Op [wikipedia](http://en.wikipedia.org/wiki/Fluent_interface) vind je heldere voorbeelden hoe je in verschillende talen een fluent interface kan maken. Ik zal hier dan ook niet verder op ingaan.

### Fluent interfaces in views

Binnen Webpirates gebruiken we fluent interfaces met name in views en templates. Views bevatten voornamelijk html en verschillende helperobjecten om eenvoudig html te genereren op basis van data die aan de view toegewezen is. De helpers lenen zich dan ook uitstekend voor fluent interfaces. In php templates gebruiken wij bijvoorbeeld een helper voor het opbouwen van een dropdown list:

{% gist https://gist.github.com/robinvanderknaap/95873b3081bcc0930bf9b0a802e91f62 %}

Voor ASP.NET MVC hebben we een HtmlHelper ontwikkeld waarmee eenvoudig en snel een grid (jqGrid) gegenereerd kan worden. De interface ziet er dan bijvoorbeeld zo uit:

{% gist https://gist.github.com/robinvanderknaap/dea3ae46b7afc935705a9d05493bef6f %}

Fluent interfaces maken object interfaces beter leesbaar en makkelijk hanteerbaar. De meerwaarde van fluent interfaces komt vooral tot z’n recht als binnen het object nieuwe objecten aangemaakt kunnen worden, zoals nieuwe kolommen in het grid voorbeeld. De code wordt dan aanzienlijker korter en overzichtelijker.
My "great white open page" problem
Tags: communication, developmentcycle, scope
Published: 2018-09-18 02:41:39

---
title: My "great white open page" problem
published: true
tags: Communication,Development Cycle,Scope
canonical_url: https://www.briannipper.com/2010/04/my-great-white-open-page-problem.html
---

As I begin taking up writing again, for the third time (sighing a little to myself)... I've realized something about the way my head works.  
  
When presented with a specific task my mind will race to form a solution. When I'm present with a problem I can't seem to stop coming up with ways to solve it.  
  
When I'm given a problem at work more often than not the problem has a very small scope, often the scope of the problem at work is along the lines of accepting information/data in one area, processing/modifying said data and then saving/sending data to another area. Now when presented with a problem that can be defined with such narrow terms it is easy for me to think of quite a few different wasy of solving the problem, then when going through these various options there are often inherit sets of advantages and limitations for each solution and it becomes a simple matter of disscusing the these pros and cons with the interested parties and refining the requirements of the solution to isolate which option is best suited.  
  
So the cycle is often:

- Describe a problem,
- "scope out" the problem,
- define solutions,
- filter solutions based on "scope"
- execute remaining solution.

I'll complete this cycle a few times every few months depending on the various levels of complexity which range from isolated problems that impact a few dozen users to something that has the potential to impact a few thousand users; however, event with the potential of impacting ten thousand users (which is never going to happen at the company I work for) it still doesn't seem that overwhelming.

Given this type of daily gring one would assume that solving my own problems would be easier, but there in lies the issue, the "Great White Open Page" problem.

I know I need to write on a regular basis to become a better communicator as well as to improve my skills at work (which as a programmer I feel one of the most important skills is communcation). However, when I set down to write I often find that I'm just staring at a blank page and NOTHING is coming to mind.

So as I come and stair at my computer screen I hope over the next few weeks or perhaps even months to formulate some type of structure that will narrow the scope of my problem so I can at least try to solve the "great white open page" problem.
Mindmapping met Bubbl.us
Tags: mindmap
Published: 2020-11-05 11:42:37

---
title: Mindmapping met Bubbl.us
published: true
date: 2009-11-12 08:00:00 UTC
tags: mindmap
canonical_url: 
---

Op [lifehacking.nl](http://www.lifehacking.nl/) kwam ik de term mindmapping een aantal weken geleden voor het eerst tegen. Mindmapping is een methode om je gedachten en/of ideeën over een bepaald onderwerp in kaart te brengen

> _A mind map is a diagram used to represent words, ideas, tasks, or other items linked to and arranged around a central key word or idea. Mind maps are used to generate, visualize, structure, and classify ideas, and as an aid in study, organization, problem solving, decision making, and writing._

> [_Wikipedia Mindmapping_](http://en.wikipedia.org/wiki/Mindmapping)

De methode intrigeerde mij direct aangezien ik al langere tijd op zoek ben naar een manier om gedachten over bepaalde onderwerpen snel vast te kunnen leggen, te kunnen ordenen en makkelijk terug te kunnen vinden. De onderwerpen waar je een mindmap van kan maken zijn zeer uiteenlopend: Het ontwerp van een nieuw software product, het opstellen van een offerte, de inrichting van een huis of gedachten over een blog artikel zoals deze. Kortom alles wat je maar kan bedenken.

Na wat zoeken vond ik een aantal tools die je helpen om deze mindmaps te maken. Belangrijk criterium is dat de mindmaps snel en eenvoudig te creëren zijn, je bent aan het brainstormen en je wil niet dat je tijd en focus verspeelt aan een applicatie. Eén tool heeft mijn hart gestolen:Bubbl.us

Bubbl.us is een webapplicatie die gebruik maakt van de mogelijkheden van Adobe Flash en is kinderlijk eenvoudig in gebruik, je kan direct beginnen met het maken van een mindmap. Je begint met één ballonnetje, en met behulp van de enter en tab toets maak je respectievelijk childs en siblings aan. Voor het opslaan van je hersenspinsels dien je een account aan te maken. Totale kosten: noppes.

![](https://cdn-images-1.medium.com/max/450/0*0jvn7z_TO-Di4w8u.jpg)

Het feit dat Bubbl.us een webapplicatie is heeft als voordeel dat je de applicatie altijd en overal kan gebruiken, mits je een internetverbinding hebt natuurlijk. Ook staan al je eerdere zielenroerselen altijd ‘in the cloud’ op je te wachten. Tevens is het mogelijk bepaalde mindmaps te delen met anderen, dit maakt het mogelijk om online te brainstormen!

Ik heb Bubbl.us de afgelopen weken gebruikt voor een aantal projecten, puur om mijn gedachten op een rijtje te zetten. Tot nu toe is het voor mij een efficiënte manier om mijn gedachten snel vast te leggen en te ordenen. Het leuke is dat je snel al je gedachten neer kan plempen en in een later stadium orde in de chaos kan aanbrengen. Het geeft een goed houvast gedurende het project en nieuwe ideeën en inzichten zijn snel ingepast en vastgelegd.

Bubbl.us is geheel gratis, vergeet daarom niet een klein bedrag te doneren als teken van dankbaarheid als je de tool echt gaat gebruiken. Dit kan eenvoudig met behulp van Paypal.

Overigens: Pen en papier zijn ook geweldige gereedschappen voor een mindmap ;)
PHP: One of the "Big Three"
Published: 2023-02-02 05:12:13

---
title: PHP: One of the "Big Three"
published: true
date: 2009-04-16 17:54:00 UTC
tags: 
canonical_url: 
---

I recently was reading TechRepublic article [10 skills developers will need in the next five years](http://blogs.techrepublic.com.com/10things/?p=643) where Justin James uses the terminology the "Big Three" to refer to .NET, Java and PHP and I found interesting some of the comments regarding PHP.  
Some suggested that PHP does not really fall into the same category as .NET and Java.  
  
According to the [PHP statistics for October 2008 report](http://www.nexen.net/chiffres_cles/phpversion/18824-php_statistics_for_october_2008.php), PHP is found on 32,84% of the web sites.  
  
What do you think? Is there something wrong with PHP?  
Feel free to leave your comments.  
  
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Resharper 4.5
Published: 2023-02-02 05:11:57

---
title: Resharper 4.5
published: true
date: 2009-04-15 14:53:00 UTC
tags: 
canonical_url: 
---

Finally, after being away for a couple days, I was able to upgrade to Resharper 4.5.  
After using Resharper for a couple years I'm so used to Resharper that it would be hard to use Visual Studio without it.  
  
The new version has been improved. I noticed right away that the solutions are loading faster and Visual Studio is more responsive.  
  
All licenses purchased after Dec 21, 2007 qualify for a free upgrade to ver. 4.5  
  
If you haven't used Resharper I recommend to give it a try. ([http://www.jetbrains.com/resharper/download/](http://www.jetbrains.com/resharper/download/))  
  
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
Fix bugs, then write new code
Published: 2023-02-02 05:11:38

---
title: Fix bugs, then write new code
published: true
date: 2009-04-14 19:44:00 UTC
tags: 
canonical_url: 
---

I have found this to be a good practice after finishing an Iteration. The code is fresh in your mind and you can fix the bugs faster than if you wait until a couple weeks later. Fixing those bugs should be included in your iteration planning.  
  
Back in 2000 Joel Spolsky wrote his well known 12 Steps to Better Code article and he makes some interesting comments regarding having your code ready to ship at all time. ([http://www.joelonsoftware.com/articles/fog0000000043.html](http://www.joelonsoftware.com/articles/fog0000000043.html))  
  
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
TIL: The hover media query can help to remove hover styles on touch devices (but may include false positives)
Tags: css
Published: 2019-02-16 22:59:50

---
title: TIL: The hover media query can help to remove hover styles on touch devices (but may include false positives)
published: true
tags: css
canonical_url: https://www.stefanjudis.com/today-i-learned/the-hover-media-query-can-help-to-remove-hover-styles-on-touch/
---

**Please make sure to read to the end of the article... it was edited and it's not as easy as I first thought.**

Today I followed [an interesting thread on Twitter](https://mobile.twitter.com/chriscoyier/status/1093206406696644608). Chris Coyier asked about use cases for the `@supports` rule in CSS. One reply shared a way to disable the "stuck hover states" of focusable elements. 

*Side note: It didn't use `@supports` but rather a media query to detect if the user agent has a hover supporting mechanism. But hey ... 🤷‍♂️*

If you use your mobile device to browse the web regularly, you might know what I'm talking about. When you click a button, the button stays in an emulated hover state until another elements gets focus. The browsers implemented it this way to give users a way to reach a hover state. 

You really shouldn't rely on hovers to build UIs. Unfortunately, the web is a messy place. There had to be a way to offer touch device users the same functionality as mouse users.

If you want to get rid of hover states on touch devices you can use the [`hover` CSS media feature](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover#Example).

```css
@media (hover: hover) { 
  a:hover {
    background: red;
    color: white;
  }
}
```

Personally, the hover styles are not bothering very much, but I could imagine that it annoys some people. Using this media query, you can get rid of the sticky hover state. 🎉

I set up [a quick CodePen](https://codepen.io/stefanjudis/pen/KJrxxO) ([www.my-links.online/hover-states/](https://www.my-links.online/hover-states/)) if you want to try it on your mobile phone.

## But wait!!!

**Edited: [Patrick H. Lauke had some very valuable comments](https://mobile.twitter.com/patrick_h_lauke/status/1097524818231070720).**

> In general, don't try to "detect" touch devices. design so it works for touch/mouse/stylus/keyboard. if you must, use whatinput.js or similar to check/guess the origin of the latest event

Detecting touch devices turns out to be very very hard. There are devices like the Microsoft Surface that can have a set of input mechanism. Or what if you use a mouse with your tablet. Before you implement media queries make sure to read Patrick's recommended resources.

- [Interaction Media Features and their potential (for incorrect assumptions)](https://dev.opera.com/articles/media-features/)
- [Detecting touch: it's the 'why', not the 'how'](https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/)
The right hash(s) for the job?
Tags: discuss, hash, perl, linux
Published: 2017-10-01 12:39:52

---
title: The right hash(s) for the job?
published: true
description: When quickly comparing files, hash collisions are likely false positives.
tags: #discussion,#hash,#perl,#linux
---

Once again, I'm finding myself deduplicating a repository of files, and trying to do it right.  Yeah, I could use a dedicated tool... but I'm not sure they're doing it correctly.

You see, they hash the file contents and try to match on that, assuming that they're going to be unique for each file.  But in reality, it doesn't work that way.  You're going to collide.

How do I know this?  I wrote my own deduplication tool.  

{% gist https://gist.github.com/STrRedWolf/77e7bb2cdcab35766e89917f4b18352e %}

Right now it's using SHA-256 to generate the hash digests, going over the entire file.  It stores them in a MariaDB database and compares them to all the other files as it steps through each file.  If there's a hash collision, it breaks out the venerable *cmp* tool and verifies that they're byte-to-byte duplicates.

The result?

In a hand-deduped archive of 69248 files, 420 were false positives.

My question now is:  Is SHA-256 the right choice?  Which would be better, or should I be using multiple hash algorithms to reduce that false positive number?  Speed boosting here is gravy at this point.
Hello World
Tags: hello, world
Published: 2000-01-01 01:01:01

---
title: Hello World
description: First post
published: true
date: '2000-01-01T01:01:01.441Z' 
tags: hello, world
---


![Steve Martin](https://thepracticaldev.s3.amazonaws.com/i/23ph0nk8gqqvhaq7jeq7.png)

> "If I had *one* wish that I could wish this holiday season, it would be for all the children of the world to join hands and sing together in the spirit of harmony and peace. And to publish a blog with git.

> If I had *two* wishes that I could wish for this holiday season, the first would be for all the children of the world to join hands and sing in the spirit of harmony and peace.. and the second would be for $30 million a month to be given to me, tax-free in a Swiss bank account."
Cloudflare Pages: Failed: an internal error occurred
Published: 2022-04-19 18:27:24

---
title: Cloudflare Pages: Failed: an internal error occurred
published: true
date: 1970-01-01 00:00:00 UTC
tags: 
canonical_url: https://denizaksimsek.com/2022/cloudflare-internal-error/
---

I deploy my website on Cloudflare Pages (at time of writing). My builds were failing with the error message:

```
17:24:49.795	Deploying your site to Cloudflare's global network...
17:24:50.632	Failed: an internal error occurred

```

No other information.

Googling yields that many things can cause this issue. In my case, it was a **directory called `_redirects/` in the output folder**.

Cloudflare expects `_redirects` to be a file to read redirect information from. (Indeed, that’s what I was using it for — it was output to a directory by accident).
We have liftoff! The final schedule is out!
Tags: python, pyconindia, community, conference
Published: 2020-09-13 19:44:27

---
title: We have liftoff! The final schedule is out!
published: true
date: 14/09/20
tags: python,pyconindia,community,conference
canonical_url: 
---

2020 has been a rollercoaster for all of us. Our team had setbacks, we pushed through them, and what a ride it has been for all of us helping to make PyCon India 2020 a huge success.

The sheer amount of proposals we received from you all over the last couple of days exceeded all our wildest expectations. The review committee along with all the volunteers worked quite hard to make the deadlines work. The schedule has been released a day before the deadline which signals us that we are on track as we move forward according to the plan. All these efforts go on to accomplish one outcome. An awesome PyCon India keeping you at its epicenter!

As we are releasing the talk and keynotes schedule, be sure to look out for the release of workshops and information about many more events in the coming days on [Twitter](https://twitter.com/pyconindia) and on [our mailing list](https://mail.python.org/mailman/listinfo/inpycon). Our rehearsal team is working double-time to get all the speakers in top shape for making this year's PyCon India experience amazing for everyone.

**Checkout the [PyCon India 2020 schedule](https://in.pycon.org/2020/schedule/)**

As a final note, we are nearly out of our [regular tickets](https://in.pycon.org/2020/#ticket). Be sure to grab yours before stocks last as tickets to the conference are limited. If you haven't bought your ticket yet, the only thing you be left with is regret when they all would go out of stock! **So be sure to [buy your PyCon India ticket](https://in.pycon.org/2020/#ticket) now.**

We will see you folks in 18 days!