Slashdot Mirror


User: kruhft

kruhft's activity in the archive.

Stories
0
Comments
137
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 137

  1. My take on mathematically generated music: on The Swedish DJ Who Invented Industrially-Manufactured Pop Music (bbc.com) · · Score: 1
  2. Re:Apple does this on Ask Slashdot: Any Idiosyncrasies of the New Windows 10 April 2018 Update? · · Score: 1

    That was me.

  3. How does one ensure proper punishment for a Corporation?

  4. A (programming) game of Space(s) exploration on Ask Slashdot: What Modern PC Games Would You Recommend For An Old School Gamer? · · Score: 1
    Explain:

    https://github.com/BusFactor1I...

    It's a Korn Shell script.

    Check the readme above for a bit more of an explanation. It's fun. And really challenging, even though there's only 3 words and 3 bits to work with on the virtual machine, a 'Seed'. You combine the words together and see if the calculation computes correctly based on your assumption on a non-deterministic machine. It starts out easy, but it get's difficult quickly. Here's the start. Check the github for the rest: #!/bin/ksh DEBUG=t # expect - test your expectations # # BusFactor1 Inc. # 2017 # License: AGPL set +k tee () { echo -n "$1 " /usr/bin/tee $2 } function tri { # execute the next word if x is 1 x=$(

  5. Re:Not so fast on Ask Slashdot: What Is Your View On Sloot Compression? (youtube.com) · · Score: 1

    Yep, an entire orchestra can play of a few pages of dead wood.

    There is much more information involved in the reproduction of music than what is contained on the sheets. Those are just the instructions for the processor.

  6. Is it technically possible it worked? on Ask Slashdot: What Is Your View On Sloot Compression? (youtube.com) · · Score: 1

    So the question is: is it technically possible that Sloot Compression, with its huge decoder file and tiny instruction files, actually worked?

    Yes.

  7. Re:What happened to "it just works"? on Apple Piles On the Features, and Users Say, 'Enough!' (nytimes.com) · · Score: 1

    Try turning on dictation on a mac, and in Safari, try saying 'Show numbers' and then tell me you can't browse with a voice assistant.

  8. Easier to do with Bluetooth on Windows 10 Will Soon Lock Your PC When You Step Away From It (theverge.com) · · Score: 1

    I once did a linux prototype like this that would lock and unlock your computer based on phone proximity using bluetooth. Worked like a charm. No camera required.

  9. Re:Code as structured data, and pre-parsed source on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 1

    newclass = cpp.Class()
    meth = newclass.addMethod(name="dosomething")
    meth.signature = cpp.Signature([cpp.int,cpp.float])

    Interesting idea and I like where it could go. Thank you.

  10. Re:Editing changed the question, unfortunately on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 1

    Thank you for the interesting response. Could you explain a bit more about what you mean by "using for example tree-pattern-matching replacement into a low-level form". What would you be replacing with what?

    My goto performance sensitive problem has always been raytracing, so I think that's the next logical project to implement with this tool and see where it goes.

  11. Re:Asking Obvious on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 1

    Unfortunately, the editors messed up a bit with the explanation of what sxc is and what it is good for. It's not about compiling your Lisp code to C, it's about writing C code using Lisp. With the S-Expression syntax of sxc, a whole world of macro programming and code generation become possible in a natural matter leading from the using of S-Expression and macros. This, so far, has been uncharted territory, although his type of project is quite popular to implement. It seems that nobody has actually used to it's full potential yet; hence the question.

    What do you think that the combination of a high level language for the generation of a low level processing language would provide, if anything over the normal combinations of cc + cpp?

  12. Editing changed the question, unfortunately on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 2

    I'm glad this story got posted and sxc is getting some press, but the real question I asked was:

    It is unknown exactly what power might come about from this combination of low level processing with high level code generation. Can you think of any possible uses?

    The idea of using pre-processors to generate C code is not new to programming; but the usage of the full power of Common Lisp in such a natural way is up to the question.

  13. Re:Back to the future on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 1

    Thank you for your anecdote, I appreciate the comparison with on of my favourite supercomputer companies! sxc is not necessarily a 'Lisp to C' converter, but a C -> C converter with the optional metaprogramming facilities to generate code using Common Lisp. The syntax of the sxc language is Lisp like; the semantics are C. So really this is a C -> C translator with added meta facilities.

    The code that goes in and the code that comes out is strictly C. What you can do with the added ability of Common Lisp is really what's at question for me.

  14. Re:Facebook on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 2

    Unfortunately the editors made a slight mistake with the description of this tool. It's not to 're-write your lisp code in C', it's to write new C code using Lisp as the macro system.

    HipHop was interesting in that it would compile PHP and make it run faster, but it's not similar to this in any way.

    sxc is a dialect of Lisp that has the semantics of C. There's not cross compilation from anything to anything; the syntax of sxc is that of C, but you're editing a representation of the parse tree. This is a list, and the meta-programming facilities allow you to generate code using Common Lisp, the most powerful language for generating that type of data structure; the list.

    The homoiconicity that this provides to C gives me suspect to say that it is a more powerful language overall than cc + cpp.

  15. Re:Not gonna do your homework on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 2

    It's not a senior project; I graduated 20 years ago[1]. It's a tool I've created recently from some ideas I've seen and had in hopes of realizing something that is more than the sum of it's parts.

    [1] Here's my senior project: http://github.com/burtonsamogr... ;-)

  16. Re: Excellent on How Would You Generate C Code Using Common Lisp Macros? (github.com) · · Score: 1

    Yeah, but being able to do a switch on strings is pretty cool, is it not?

  17. It's getting so bad I've switched to Solaris for my main machine, and 11.1 at that which is over 10 years old. Still the same UNIX software, an antique browser that hobbles along (but Gail works in HTML mode) but...it's solid and fast and works and has all the Solaris niceness of dtrace, ZFS and whatever else is hidden in there under the hood that hasn't changed in years and from a developer that strives to keep the platform stable for developers.

    Linux has completely jumped the shark for my day to day usage. Screen blanking and never coming back, processes randomly hanging and crashing the system to not booting at all. It's been an exercise in complete frustration lately, unlike the 20 years of regular frustration knowing that what i was using *was* better than the alternatives.

    So, yeah, screw it. I'm going corporate.

  18. We need a new Moore's Law for Memory on PC Industry Is Now On a Two-Year Downslide (theverge.com) · · Score: 1

    The next logical step in computer architecture with the speed of processors reaching a limit and the number of cores not exploding like they should be in desktop processors (although they are in GPUS) is memory. What if memory (RAM) was doubling every year and a half in computers and what that would do to architecture and software design; being a computer engineer I can see plenty of challenges that would come from that type of stretching of computer capabilities. Currently the 16GB standard is too tight and RAM is cheap. Let's start building these machines out and see what we can do with all the extra room.

  19. > It tells me that "some" people are ignorant and racists

    Half of people are below average intelligence.

  20. Once the infrastructure is in place for the 'right to be forgotten', it will become much easier to create 'Unpersons'. Orwellianisms bathed in faux Human Rights?

  21. Re:Movie ad's disguised as science news? on Could Humanity Really Build 'Elysium'? · · Score: 1

    That would be how Manna ended: http://marshallbrain.com/manna1.htm

  22. Re:distributed encrypted p2p email system on Silent Circle Follows Lavabit By Closing Encrypted E-mail Service · · Score: 1

    bitmessage

  23. Liposuction for the Brain on Brain Zapping Improves Math Ability · · Score: 2

    Doing Math is mental exercise. The only real way to get any real benefits is to just do it:

    http://www.google.com/search?q=the%20secrets%20of%20mental%20arithmetic.

    http://www.google.com/search?q=1001%20math%20problems

  24. Maybe it was The Madman on Help the OED Find a Lost Book · · Score: 1

    I recently picked up "The Professor and the Madman: A Tale of Murder, Insanity, and the Making of the Oxford English Dictionary" and this post made me think of the the story. A quick check gives a time frame of 150 years ago, and maybe everyone that works at the OED isn't familiar with the history of Dr. Minor. If he truly was a "Madman", I wouldn't put it beyond him to make up sources for some of his many contributions.

  25. I was part of the original MintChip challenge on In Canada, a Government-Backed Electronic Currency · · Score: 4, Informative

    After trying to get them to support Linux and even offering to do the development to get it to work with Linux they informed me that the hardware requires a binary blob and that Linux would never be supported.

    Some other developer also found an easy way to pull money off the chip without permission using a bit javascript and I wasn't too impressed with the design and security.

    There's a hard limit (1000?) transactions per chip so once you go over you need a new chip. I found that quite odd but maybe that's the limit to the amount of transactions this "anonymous" cash system can hold.