101 Discussion / Question Topics

Remove Filter
Member Avatar for Mushy-pea

Hey. I've been working on a home brew game since late last year, writing an engine in Haskell and GLSL that includes 3D graphics, basic physics and programmable game logic. The version in the second video shows the first appearance of lighting and importation of OBJ files (the cube was …

0
303
Member Avatar for Mushy-pea

Hi. In August I built a PC using a second hand Biostar TA990FXE "Extreme Edition" motherboard and AMD FX-6100 six core CPU @3.3 GHz at the core of it. I recently installed the Oracle Virtualbox VM on Windows 10 and tried running a couple of Linux and BSD OS instances, …

Member Avatar for rproffitt
0
275
Member Avatar for Mushy-pea

Hi. I've developed a bit of an interest in encryption as well as programming in Haskell since I last used this forum. So I decided to build a symmetric block cipher and test its properties to gain more of an understanding of such things. This is for research purposes as …

Member Avatar for Mushy-pea
1
304
Member Avatar for Mushy-pea

Hi. I just thought I'd post this photo of me and some graffiti lights in Bristol. I'd never come accross such a thing before, but given the city's traditions I perhaps shouldn't be surprised. Steven ![22802893a6963c1ba779ea316309fb65](/attachments/large/0/22802893a6963c1ba779ea316309fb65.jpg "22802893a6963c1ba779ea316309fb65")

Member Avatar for jwenting
2
91
Member Avatar for Mushy-pea

Hi. I'm working on some Haskell code that takes some string input and processes it to return a list of integers, the reason for which should become clear when the app. eventually get finished. The list processing functions do what I want when I call "parse_data (contents)" in GHCi, but …

0
99
Member Avatar for Mushy-pea

Hi. I've been trying to get this simple function in Haskell to let me call it for many hours and come to a problem I can't find an answer for. The function is of type Float -> Float -> [Int] so I need to pass it two Float values. I've …

Member Avatar for TrustyTony
0
120
Member Avatar for Mushy-pea

Hi. After many years of having a hobbyist interest in programming but doing other things for a job, I've decided it might be time to attempt a career change to application development. The other areas I've worked in, such as teaching English to non - native speakers, aren't directly relevant …

Member Avatar for stultuske
0
313
Member Avatar for Mushy-pea

Hi everyone. You may remember that I posted a short story here about a year ago. I've cobbled together another little tale and, as the first one seemed to be appriciated, I thought I'd give it an audience here in two parts. Hoping for your amusement, fellows. The message (part …

Member Avatar for Mushy-pea
0
163
Member Avatar for Mushy-pea

Hello again. I got a fancy prancy new mobile phone recently with video capture :p . I want to transfer a video I made on it (of me playing the guitar, badly) to GoogleTube, but the file is too big to put in an MMS message. I have a Yahoo …

Member Avatar for amna masood
0
157
Member Avatar for Mushy-pea

Hi. I haven't posted here for some time but I'm still a big fan. Anyway, I had an interesting dream last night and it inspired me to write a short story based on it. I hope no one minds if I post the first part of it here for your …

Member Avatar for soccerjerseys
2
182
Member Avatar for Mushy-pea

Hi. I live in Japan in a city just outside Tokyo, although only for a few more weeks. Before a train's doors close here, a jingley little tune gets played to warn people still descending the steps to the platform they need to hurry up. The variety of tunes available …

Member Avatar for WaltP
0
117
Member Avatar for Mushy-pea

Hi. I recently read that the current US federal budget predicts the US debt to GDP ratio will reach over 70% in 2011 and about 80% by 2020. This analysis assumes fairly strong economic growth. The question that springs to mind is, if a budget surplus can't be achieved during …

Member Avatar for jbennet
0
288
Member Avatar for Mushy-pea

Hello everyone. I'm trying to install a Ralink tech. wireless PCI network card on netBSD 3.1. I've looked at a netBSD online manual page and it says there is a driver for this chipset in the distribution I'm using (namely ral(4)). However, after booting up with the card physically installed …

Member Avatar for johny09
0
234
Member Avatar for Mushy-pea

I invented an encryption algorhythm today and used it to "hide" the information in an unused password I came up with. This was done on paper, not with a program. However, I am planning to start laying some code down for this today (in Haskell, partly as an exercise to …

Member Avatar for Michael_Knight
0
120
Member Avatar for Mushy-pea

Hello everyone and welcome to the next episode of Mushy-pea's blog. This entry is about my favourite language (except English of course) Perl. If you're a regular Perl user you might already know this; the developers of Perl 6 are using a prototype version of the Perl 6 interpreter written …

0
64
Member Avatar for Mushy-pea

Hello blog readers. So I was thinking, "how can I seriously depress the lovely Daniweb visitors today?". Then it hit me: The End of All Life (EAL). I was reading an article in Physics World a few years ago about some predictions on the long term survival prospects of life, …

Member Avatar for 'Stein
0
244
Member Avatar for Mushy-pea

Hi everyone. Now, I`m sure that by now most of you are pretty tired of hearing the world`s politicians blaming everyone they can think of for the financial crisis, but....bear with me. My argument is that capitalism (in it`s current form) is unsustainable in the long term because it requires …

Member Avatar for Chaky
0
156
Member Avatar for Mushy-pea

Situation: You are in your house relaxing, just about to have a cup of tea. Then the phone rings, the doorbell rings and the kettle starts to whistle simultaneously. What do you do next? A: Answer the phone. B: See who is at the door. C: Take the kettle off …

Member Avatar for Mushy-pea
0
152
Member Avatar for Mushy-pea

Hi. I live in Japan and recently bought a second hand laptop, with Japanese Windows XP on it. When I got it home I promptly installed Opera 9.61 (my favourite browser :) ) and started browsing away. The only problem is that the install program thought I was Japanese and …

Member Avatar for Mushy-pea
0
119
Member Avatar for Mushy-pea

Hi. If you gained the ability to look inside every other mind that exists, do you think you would lose the ability to hold any particular point of view, given that you were now aware of how everyone has reached their individual view. Steven.

Member Avatar for vmanes
0
80
Member Avatar for Mushy-pea

Hi. Some people might remember a post made a long time ago, which contained a link to one of [URL="http://www.zanorg.com/prodperso/jeuxchiants/index_eng.htm"]this set of irritating games[/URL]. Well, as you can see they're still there (plus a few more) and just as irritating as ever. But, what you might have missed the first …

Member Avatar for ahihihi...
0
118
Member Avatar for Mushy-pea

Hi. I recently removed one of the user accounts from a Vista laptop I've been using. I was asked if I wanted to delete the user's folder as well and selected yes. However, after creating another user I noticed that the previous user's folder was still there. As the administrator, …

Member Avatar for Suspishio
0
91
Member Avatar for Mushy-pea

Hello everyone. A few months ago I got a cheap new mobile phone with video recording. I'd just heard about Youtube at the time. So, the obvious came to mind (video myself playing a tune on the guitar and post it :p ). What resulted from this became an object …

Member Avatar for VernonDozier
0
155
Member Avatar for Mushy-pea

Hi people. The idea of this game is to make people guess the answers to rather obscure questions, like.... Which of these two has the larger data capacity? (a) My CD collection (b) The hard disk on my laptop Steven.

Member Avatar for maui_mallard
0
238
Member Avatar for Mushy-pea

Hi. In my house we have an IPv6 capable router, for which the owner of has kindly given me the password for the settings page. It is a Linksys DD-WRT wireless device with Linux installed. When you enable IPv6 support it gives you the option to enter a Radvd configuration …

0
71
Member Avatar for Mushy-pea

Hi. I was at work in my call centre today when a colleage asked me to have a look at a customer issue. We support BT broadband customers, but we're not BT (they just pay us to do it). So, this guy is saying he's getting slow web page loading …

Member Avatar for leo002000
0
107
Member Avatar for Mushy-pea

Hi. I've got this issue on my Vista laptop that's been there since I got the thing about six months ago. The system clock falls behind the actual time at a silly rate, which can be up to several minutes in a session but varies sporadically. Then every so often …

Member Avatar for MidiMagic
0
201
Member Avatar for Mushy-pea

Hi. I've got a Packard Bell laptop that is specified as having 1 GB of RAM. However, looking in the Windows system information and the BIOS both show it as having 896 MB. Does anyone know how I would go about determining whether the missing RAM is being used for …

Member Avatar for jbennet
0
110
Member Avatar for Mushy-pea

Hi guys and girls. Has anyone else heard the new Radiohead album In Rainbows? The gimmick is, you can choose what yoy want to pay for it on their website. Steven.

Member Avatar for lasher511
0
53
Member Avatar for Mushy-pea

Hi people. Just thought I would warn about a little issue I had with my Vista system last night. I tried to install [URL="http://www.colinux.org"]colinux[/URL] and the system crashed to a blue screen. When I tried to start it again normally it suffered some kind of kernel mode exception, did a …

0
79
Member Avatar for Mushy-pea

Hi everyone. Could anyone tell me how I can enable non - admin users to run programs installed by the admin user? I installed Opera 9.1 as an admin, but I'm not sure how to allow other users to access it. Any advice appriciated. Steven.

Member Avatar for joshSCH
0
108
Member Avatar for Mushy-pea

Hello everyone. I informed Google of my forum website URL via the standard method recently. Within about five days, it started finding search terms inside my forum when given "Mushy-pea [search terms]". Nice one Google, I thought :) . However, when you click links that go from Google directly to …

Member Avatar for Mushy-pea
0
127
Member Avatar for Mushy-pea

Hello everyone. I will soon be releasing an early version of my open source bulletin board system, PerlBB. Can you guess how I thought the name up :p ? I'm not going to say whats special about it here, but there will be plenty of promotion on my homepage when …

Member Avatar for Mushy-pea
0
176
Member Avatar for Mushy-pea

Hello everyone. I recently "migrated" my 8 year old computer from Windows 98 to NetBSD 3.1. The installation went fine and the machine is able to connect to the internet through a local router :) . However, I still have a couple of questions to ask: 1. When you run …

Member Avatar for blud
0
134
Member Avatar for Mushy-pea

Hello again. I browse through the code snippits section every so often, so I'm aware it's got an impressive collection of language catagories. However, something I think would benefit this section is the inclusion of a Haskell catagory. I've started learning this language recently (when I get time), so I …

Member Avatar for Rashakil Fol
0
86
Member Avatar for Mushy-pea

Hello everyone. We were introduced to a nifty little tool in my job today (I'm in broadband tech support). It's called Go To Assist and it lets you "share" a customers desktop to help solve their problems remotely. I came up with tyhe idea of trying to do a reciprocal …

0
33
Member Avatar for Mushy-pea

Hello everyone. Does anyone know if there is a way to start a child process from within a script, then capture the child's standard output and exit code? From looking at the docs it seems that [code=perl] $status = system("command"); [/code] lets you capture the exit code but not STDOUT. …

Member Avatar for Mushy-pea
0
129
Member Avatar for Mushy-pea

Hello everyone. I added an ethernet adapter card to a computer of mine yesterday and the keyboard stopped working. I've checked the connection and it's fine. The keyboard appears to be disabled at BIOS level because I can't get into setup by pressing DEL during the boot process. Windows still …

Member Avatar for Mushy-pea
0
69
Member Avatar for Mushy-pea

Hello everyone. After 15 months without a job I have been offered a trial run in a......flour mill (water wheel included, but they don't use it). If I get the job I'll as close as matters be "Living off the land", something that has become somewhat rare in my country. …

Member Avatar for jwenting
0
133
Member Avatar for Mushy-pea

Hello everyone. I have been using the Haskell compiler GHC 6.6 a bit recently to test some simple programs (for learning purposes). In it's default mode it produces three output files for a given source file: a .exe, a .o and a .hi. The .exe is quite big and I …

Member Avatar for Rashakil Fol
0
66
Member Avatar for Mushy-pea

Hello everyone. You might or might not have heard of these poeple, namely the Bulletin (of the Atomic Scientists): [url]http://www.thebulletin.org/minutes-to-midnight/[/url] Their publications monitor how close humanity is to catastrophic destruction at our own hands and, (presumably to scare the hell out of us :p ) maintain a symbolic clock that …

Member Avatar for mattyd
0
210
Member Avatar for Mushy-pea

Hello everyone. I need to write a Bash script to remove blocks of text from a given file. The idea is, the text to be removed will be marked by appearing between certain delimiter characters i.e. [code] Here's some text and ~this bit gets removed~, where tilda is the delimiter. …

Member Avatar for kuom
0
108
Member Avatar for Mushy-pea

Hello everyone. I'm still working on that forum system I mentioned a bit ago (perlBB). Hopefully it'll be ready for Christmas :p . However, I ran into a strange problem while I was re-writing parts the two functions below. [code=perl]sub enter_post { my(@field, $input, $offset1, $offset2, $n, $name, $field_length, $flag_guest, …

Member Avatar for swampyankee
0
86
Member Avatar for Mushy-pea

Hello everyone. I've got the stuff working I talked about here ( [url]http://www.daniweb.com/techtalkforums/thread68292.html[/url] ). Now, I am working on this problem; I need to check if a cookie is present on the client machine. It's presense will indicate the user is logged in. If it is there I need to …

0
76
Member Avatar for Mushy-pea

Hello everyone. Is it allowed to have a "use" statement inside an eval that is compiled separately to the enclosing program (i.e. eval EXPR, not eval BLOCK). The reason I want to do this is, I have modules of code that I don't want to be compiled every time my …

Member Avatar for MattEvans
0
140
Member Avatar for Mushy-pea

Hello everyone. I am currently working on the HTML / Javascript front end of a web forum system (perlBB). I have a couple of questions that would I would like to ask. 1. Is the way to include an external javascript file in a page like this? [code=HTML] <head> <link …

Member Avatar for Mushy-pea
0
276
Member Avatar for Mushy-pea

I was wondering whether anyone else has experienced this. When a script I am working on got above a certain size, the line numbers quoted in the compile and run time error messages started to be inaccurate. The line numbers now seem to always be before where the error actually …

Member Avatar for Dukane
0
69
Member Avatar for Mushy-pea

Hello everyone. If you live in the UK and you watch the news this will not need explaining to you. But....that rubbish reality TV show Big Brother on C4 has caused a diplomatic crisis. Why? Jade Goody has been bullying the **** out of Bollywood star Shilpa Shetty (using the …

Member Avatar for jbennet
0
208
Member Avatar for Mushy-pea

Hello everyone. I decided to try out XAMPP ( [url]http://www.apachefriends.org/en/xampp[/url] ), which contains a pre configured distribution of Apache 2.2.3. My intention is to use it for some local testing of a web application that uses Perl scripts. I got Apache running easily enough and it runs the sample Perl …

Member Avatar for mangokun
0
194
Member Avatar for Mushy-pea

Hello everyone. I'm working on getting threads of replies to work in my forum system. I'm using this function: [code=perl] sub read_fields { my($offset1, $offset2, $offset3, $offset4, $this_offset, $result, $n, $dbase, $data, @field_name, @name_length, $num_fields, $m, $check, $check2, $primary_key, $action, @passed_array); ($offset1, $offset2, $result, $dbase, $num_fields, $m, $action, $primary_key, @passed_array) …

0
63

The End.