The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,528 other followers

Archive for the ‘Fun’ Category

Essential drop table animals – now with user-generated content – ThePracticalDev – O RLY?

Posted by jpluimers on 2019/04/17

Source:

'; DROP TABLE animals; --

Now with user-generated content!

O RLY? @ThePracticalDev

Via:

Also available as [WayBack] Big picture.

–jeroen

Posted in Database Development, Development, Fun | Leave a Comment »

Requirements to write multi threaded code

Posted by jpluimers on 2019/04/01

Steps:

  1. get gist.github.com – Developers must be this tall to write multi threaded code
  2. render to PNG/PDF/HTML
  3. print
  4. attach to wall

Via [WayBack] Kristian Köhntopp – Google+

Related:

Bernd Paysan’s:

The three most 2. common race
1. off-by-one software conditions
errors:
counting
core dumped (Segmentation fault in printf)

–jeroen

Read the rest of this entry »

Posted in Development, Fun, Multi-Threading / Concurrency, Software Development | Leave a Comment »

Geek Prank 😈😂😜 Windows XP Desktop Prank

Posted by jpluimers on 2019/04/01

Prank your friends by secretly opening this website on their computer while they’re away. Wait for them to return and watch their reaction

[WayBack] Geek Prank 😈😂😜 Windows XP Desktop Prank

There are others too, for instance:

Via: [WayBack] geekprank.com Simulate Windows XP, Windows 7, Windows 10 and other annoyances in the browser (and switch it to full screen). – Thomas Mueller (dummzeuch) – Google+

–jeroen

Posted in Apri1st, Fun | Leave a Comment »

IP over Avian Carriers

Posted by jpluimers on 2019/02/21

From the geek fun department: [WayBackIP over Avian Carriers – Wikipedia.

I learned through this slightly after the fight to keep HTTP status code 418 (I’m a teapot) which is part of RFC2324 released on April 1st, 1998.

The IP over Avian Carriers is part of three RFCs, all released on April 1st in various years:

–jeroen

via: Http-statuscode ‘I’m a teapot’ is voorlopig veilig – IT Pro – .Geeks – Tweakers

Posted in Communications Development, Development, Fun, Geeky, HTTP, Internet protocol suite, Software Development, TCP | Leave a Comment »

Di Cleverly – Google+: on 42 and geek stuff

Posted by jpluimers on 2019/02/11

Since it is the 42th day of this year: Via [WayBack] Di Cleverly – Google+

  • Adrian Colley
    For a slightly more serious answer, asterisk is most commonly used (in computing) to mean “repeat the previous pattern zero or more times”. In HHGttG, it’s suggested that if the Question and the Answer were known at the same time, the universe would vanish and be replaced by something even more bizarre and inexplicable. There is a theory that this has happened several times. Zero or more times, you might say.
  • pedant powers activated !

    in regex * is zero or more of the preceding character, but there is no preceding character

    as a file glob * is zero or more anything

    as an operator * is multiplication, but there are no operands

    in sports * next to a stat flags possible cheating

    there will be others if I go looking, but I think the point is that the question was ill defined with lack of context, therefore the answer is also ill defined with lack of context, at least that is how I interpreted the answer when I first saw the tv series (it was a radio show before that, but I never heard it)

    saying the answer is * is also ill defined and lacks context (i.e. is * a regex or a glob or an operator or …)

    also ASCII is not computer software, let alone the most basic computer software, ASCII is simply an agreed mapping from numbers to symbols eg 01000001 = 65 = 0x41 = A

    so if 42 was actually hexadecimal, then 42 = B and maybe the question was multi-choice (aka multi-guess), therefore my answer is 44 = D = all of the above

  • +Perry Winkle not ever regular expression. And as i said the books predates regex.
  • +Martin Krischik in sed, vi, awk, Perl, Python, Posix and many others it is, any exceptions would be painful regex engines to work with IMO

    also, I think you’ll find regex is actually older than HHGttG. HHGttG was first a radio play in 1978, regex was coined in the early 1950s for algebra and used in unix in the early 1970s

  • Jeroen Wiert Pluimers

    Sorry to spoil it: groups.google.com – Why 42 ? where in 1993, Douglas Adams writes:

    <<
    The answer to this is very simple. It was a joke. It had to be a number, an
    ordinary, smallish number, and I chose that one. Binary representations,
    base thirteen, Tibetan monks are all complete nonsense. I sat at my desk,
    stared into the garden and thought ’42 will do’ I typed it out. End of story.

    Best,

    Douglas Adams
    London, UK | d…@dadams.demon.co.uk (dormant)
    Currently in Santa Fe, NM | ada…@nic.cerf.net (current)
    >>

  • The first time someone handed me an iPhone with Siri, I asked the meaning of life, the universe, and everything. Siri simply gave me information on those specific search terms. (More recently I asked the question again, and Siri answered 42)

    Google responded with a reference to Bill & Ted’s Excellent Adventure, “Be excellent to each other”.

    I need someone to ask Alexa and report back.

    I’m using this to gauge where we are in the possibility of having AI overthrow humanity in the immediate future. 😁

  • Di Cleverly
    +Martin Krischik he played the guitar left handed! Wow! You really do learn something new everyday!
  • +Adrian Colley You’re mixing regex with “everything in computing”

    +Martin Krischik And Douglas Adams worked mainly with Apple and Unix. Apple ripped off the * wildcard from Unix, CPM ripped it off from Apple, and MS-Dos ripped it off from CPM. The fact that DOS used it isn’t relevant. And regex started in 1951. A quick Google search confirmed that. So yes, it was in existence in 1979. GREP was using regex long before 1979. And yes, DA’s programming experience would have exposed him to all this. You seem to be conflating degrees with actual ability.

  • Perry Winkle (Shy Geek)

    FYI (geek alert) Unix was popular as a document printing/typesetting system early on hence tools like latex and nroff/troff (especially for printing formulas in computer science papers etc)

    (trivia alert) grep comes from the ed (or sed) command g/re/p where re is short for regular expression, it translates kind of as “globally in the file/stream, if the re matches, then print the line”

–jeroen

Read the rest of this entry »

Posted in Fun, History | Leave a Comment »

 
%d bloggers like this: