- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
I do not! Er ...
Admin
Admin
I was going to say, "Come on! Coding forms were obsolete by the time Fortran 77 came out!" but then I distinctly remember using the damn things in 1978 ... I tell you guys, you can not believe the excitement and relief to finally be able to enter code at teleprinters (that's like computer terminals with a stack of fan-feed paper instead of a screen).
Admin
You actually took the time to figure this out? I looked at it and almost crapped my pants. Luckily, I pulled them down in time and just got a big pile of poo on the seat of my chair.
Admin
Admin
Repeat after me: sum, esse, fui, futurus
Admin
Haskell, as a language or logic, is very easy. It has a very nice interpretation as a logic.
Haskell, as a platform, is difficult because the language's ease and clarity allow the programmer to define complex constructs in mind-bendingly generic ways. It can be hard to figure out when to write generic tools versus when to use them. Haskell is hard the same way logic or category theory are.
All of these are easier than keeping a picture of a program's state (or even a few of its variables) in your mind.
Learning Haskell has some other issues, since things like memory management are platform dependent. You need to read the compiler documentation to figure some things out.
Admin
More like O(no!)
Admin
from itertools import combinations plm = ['a','s','d','f','1']
passwords = [[''.join(i) for i in combinations(plm, r)] for r in xrange(2, len(plm))]
It works ...
Admin
What, no unit tests?
Admin
Admin
Behold: A reimplementation. Why anyone would actually want this function is beyond me, but at least it's cleaner than the original
Admin
You, sir. Not quite my hero, but close. Not that anyone but the two of us gets why; does this sadden me?
Admin
Argh. Please learn about repeat keyword argument to itertools.product. :-P
Admin
so nice
Addendum 2024-05-20 22:19: Web scraping just got a lot easier with a new API I found that can bypass bot protection measures on websites. This API learn more leverages cutting-edge technology to replicate human browsing patterns, which helps it evade detection and access data smoothly. It's been incredibly effective for my needs, allowing me to scrape websites that were previously off-limits due to their stringent security protocols. This discovery is proving to be an invaluable asset in my data collection efforts!