Threads for mahmud

  1. 3

    God I miss those A-W blue & white books. IMO, the highest quality technical book series in computing.

    1. 1

      Too risky to adopt this early. I am just gonna wait for Gentoo users to try it first.

      1. 4

        What is the motivation behind this? Do you frequently use a browser that doesn’t use JavaScript?

        For the record, I’m not against this…

        1. 7

          It kinda irks me a little bit when websites unnecessarily rely on javascript. Just a pet peeve of mine, to be sure.

          1. 19

            Life is short! If you die next week, is this how you want to send that last week?

            (I use that question with myself often.)

            1. 4

              That is the wrong way to look at it. Unnecessarily running javascript, accepting cookies and generally being a negligent web user puts you and your privacy in harm. I use NoScript, RequestPolicy and Adblock with Firefox. After whitelisting all my main sites, I no longer need to even touch it, and my web experience is better because of this proactive discipline.

            2. 1

              wouldn’t lobsters be a lot slower without using ajax? Sending get and post request that require refreshes for everything would slow down the experience pretty extensively – enough to degrade the UX aswell… Not saying i’m against it, just not sure why..

              1. 3

                The existing ajax enhancements will continue to work as before, with the added benefit that things will also work if javascript is unavailable.

          1. 1

            OT:

            “.. and a few pals ..”

            “..these guys show ..”

            “These guys began with ..”

            The tone of the article is distractingly unprofessional. Why not just “researchers”. Plus I think the “math” tag is unwarranted; this is basic tf-idf with a judicious use of keywords.

            1. 5

              A lovely page. It’s worth noting that SML has been revived a bit and has a few new spiffy sites

              1. 2

                And not a single serviceable editor extension. Emacs, TextMate, SublimeText, Atom, .. nothing seems to format SML well. The SML code I download seems appropriately formatted, anything I create requires manual indentation. What do people use to write SML? Preferably with Emacs.

                1. 2

                  In addition, no readline support - for reasons no one can truly seem to comprehend. Just another frustrating oddity of working with SML. // in before rlwrap.

                  1. 1
                    1. 3

                      Obviously sml-mode is the first thing I tried, in all its variants, thenTuareg.

                      Load it. Open any SML file that looks good. Now hit TAB and see it dismantle all form.

                      1. 2

                        I’ve only written OCaml, so Tuareg worked fine for me. That’s a pain :|

                        Are you comfortable with elisp? Could fix it you know :)

                        1. 1

                          I don’t like learning to write new languages by writing an emacs mode for them. I know so little of the Language Way that I might not capture all the aesthetic nuances. And other people seem to be indenting them just fine; so why not tell me what they use? :-P

                          1. 2

                            I asked a few ML users, they just use sml-mode AFAICT. :\

                1. 3

                  The author doesn’t name the technique, but it’s straightforward code instrumentation. Albeit a covert, performance conscious one.

                  http://en.wikipedia.org/wiki/Instrumentation_%28computer_programming%29

                  It was popular before debugging facilities were added to the operating system. The PC architecture has the INT 3 interrupt for inserting breakpoints. Some HLLs implement their profiling extensions by patching the bytecode in this manner.

                  1. 3

                    Was the previous name too googleable?

                    1. 3

                      I also don’t understand this switch. Nimrod seems like a much more sensible name, much easier to remember.

                      1. 4

                        “Nimrod” typically means “idiot”, at least in the US, so the negative connotations attached to the name could hold back the language’s adoption.

                        1. 5

                          “Nimrod” typically means “idiot”, at least in the US, so the negative connotations attached to the name could hold back the language’s adoption.

                          Only very colloquially. It was an idiom for “great hunter” and Bugs Bunny sarcastically using it to refer to Elmer Fudd turned it into idiot.

                          1. 3

                            Yes, but at least it means something. Nim is just random…

                            1. 2

                              Actually, Nim is a game.

                      1. 5

                        The authors taught this functional programming course. Plenty of slides and supplementary material organized by chapter:

                        http://www.cl.cam.ac.uk/teaching/1314/L26/materials.html

                        1. 1

                          That looks very interesting, thank you.

                        1. 2

                          Is anyone else under the impression that CSS is trying to be javascript lately?

                          1. 5

                            If something can be done using CSS3 instead of JS, that’s great. Besides the fact that old browsers don’t like it there are no performance drawbacks.

                            1. 3

                              I’m not sure it’s a recent development. The look-what-I-did-only-in-CSS has been a favorite past-time of Hacker News threads.

                              1. 3

                                CSS Zen Garden goes back to 2003!

                            1. 7

                              That name is so clever.

                              1. 2

                                Can someone explain it for me? I get the .rs part, but not the whole thing. (Hint: I’m not so proficient in English.)

                                1. 7

                                  It’s the Revised5 Report on the Algorithmic Language Scheme or the r5rs for short.

                                2. 2

                                  Even more clever than Cherry.py

                                1. 17

                                  Levine’s classic. Probably the first online book I have referenced in a “publication”; my high-school (A-Levels) project was an x86 disassembler. Actually, it was a database course management project, but I changed it a month before graduation, and my teacher refused to grade it; so she let me do disassembly with the tacit understanding that I wasn’t gonna get any help from her, and I was at the mercy of the outside graders. (I also changed the implementation language from Pascal to C and x86 assembly)

                                  It was my first real program. And I bled. The x86 binary format is not for the faint of heart, at least not a non-programming teenager.

                                  And I didn’t do well ;-)

                                  Trivia time: John Levine is (was?) the moderator of comp.compilers in the 90s, which I read religiously. He would edit posts with his own addenda (“[I think the Dragon book has this algorithm” – John]“), etc. I didn’t realize it was an edit, so I took on to asking questions in usenet and other online fora, but if I ever had a doubt about my question, I would add ”-John" addendum at the end with my own alternate theories. To this day, my teenage alias is archived with that embarrassing signature for perpetuity.

                                  Another trivia. One night I refused to go hang out with my teenage friends because I wanted to read up on SML/NJ, and work through some of Norman Ramsey’s “Hacker Challenges”. Ramsey was then at Harvard, IIRC, and had a page of challenges for “elite” “hackers”. Me being a “blackhat”, then, totally misunderstood the label; I spent close to a month studying SML/NJ, because one of Ramsey’s challenges was an optimizing linker for SML/NJ. I poured over Levine’s book and all sorts of publications trying to live up to this challenge. I thought writing a linker for SML/NJ would label me “elite” and give admission into exclusive IRC channels for top-criminals ;-)

                                  That month was the last time I had casual friends for the next decade. Everyone of those boys moved on and I never noticed us growing apart. The next time I looked up from this “research”, it was 2 years later and I was by now a Unix programmer (up, or down, from an Win 9x script-kiddie.) I missed prom, home-coming, graduation, new year’s eves .. the entire millennium, and I didn’t even care. I had better things to do.

                                  I found a new, different kind of pride. I was no longer another immigrant Somali kid “hustling” in America; I now had role models. I was better than bad-ass, I was curious. And I am grateful to this day I did!

                                  1. 1

                                    That is one hell of an interesting story, I am shocked as to how far a few books took you in life

                                  1. 3

                                    Updating my CV and learning Spring framework.

                                    1. 1

                                      I feel like I’m always rushing to update my CV before recruiting season; how often do you all update in actuality?

                                      1. 2

                                        When looking for a new job, usually.

                                        1. 1

                                          I only update my CV before the end of a contract or when going overseas, or because we ran out of money. In a 12 year dev career, never resigned and never fired. This time I’m very close to breaking the streak and calling it quits.

                                      1. 15

                                        This thread not complete until there’s an Open Dylan weekly update from BruceM ..

                                        1. 6

                                          Gotta admire his dedication though :-)

                                          1. 6

                                            Posted! I was sleeping … I’m in a far-away timezone. :)

                                            What’re you doing this week?

                                          1. 9

                                            I don’t do individual playlists, prefer to listen to entire works of favorite musicians. Mostly jazz, blues, reggae and soul. Just looking at my current playlist.

                                            Miles Davis, Herbie Hancock, Charlie Mingus, Jonas Hellborg, Moon Hooch, Cody Chesnutt, Nikki Yanofsky, Renaud Garcia-Fons, Hypnotic Bras Ensemble, De'Angelo, Lala Hathaway, Anthony Hamilton, Lettuce, Soulive, Groundation, Black Uhuru ..

                                            Mix of masters, mainstream and buskers.

                                            I’m probably the noisiest quite guy to work near. Big fuck-off headphones on, restless-leg syndrome and a lot of nodding and head-bobbing. Add to that my habit of alternating between sitting and standing desk, coffee, dark chocolate and nuts, and I’m pretty much wired the whole time I’m at work.

                                            Here is a taste of my tastes:

                                            http://www.youtube.com/watch?v=zkqCHb2HPeA&list=PLA99DFCD25068007B

                                            [Quick edit: Yeah, I do choose instrumentals over vocals when coding. For all sorts of other other non-creative programming chores, then I do prefer vocals.]

                                            1. 5

                                              Hellborg, Ustad Khan & Qureshi: a great album for coding…

                                            1. 5

                                              Reading “Domain-Driven Design”. Have a first client for my supply-chain automation SaaS app; a market segment I have never worked in, working very closely with the client, almost every night, and establishing the “Ubiquitous Language” of the application domain. I was writing it for another, dissimilar industry, but now decided to broaden the scope and make it a generic business platform, with more elaborate user-extensions.

                                              In other words, nothing ;-)

                                              1. 4

                                                I trialed it for a micro-service solution I needed. It’s too flimsy, and we quickly outgrew it. We now use Restlet and couldn’t be happier.

                                                1. 1

                                                  Eclipse, saddled with every plugin I can find for aspirational hacking. Work is all Java. Fun is mostly Scala. But then sometimes I get frustrated and pull out the therapeutic SLIME mode for Common Lisp.

                                                  Previously Emacs. You can never quit emacs. Nowadays I use it mostly to clean up and format data, but also for Scala and Common Lisp. Outside SLIME, Ensime and org-mode, I really don’t use many emacs modes.

                                                  iTerm is my terminal of choice. I use my high-end Macbook Pro like a 4.4BSD: . I have hacked on every machine I have ever owned, and learned it at the systems level. But not my Mac. I’m entirely unexcited about the Apple platforms. I use it with resentment, only because Ubuntu is invariably on shit hardware. I am NOT a Mac power-user.

                                                  Brew for downloading. Git for version control. I actively pay for Free Software.

                                                  1. 1

                                                    Haxe is the LLVM of transpilers.

                                                    1. 1

                                                      One unexplored external is the prosecution of hackers under anti-terrorism, and even copy-right, laws, at least in the U.S. and U.K. And that’s just as individual hackers. Their assembly into groups might as well compound the severity of those sentences into RICO, or similar trials.

                                                      1. 4

                                                        It seems they’ve taken the concept of an “open laptop” rather literally with that case design.

                                                        1. 2

                                                          Nothing an aftermarket can’t fix. Hooray for openness!