tag:blogger.com,1999:blog-6631127102489130322.comments2024-02-06T09:37:03.802-08:00Amish ProgrammerJoshua Ganeshttp://www.blogger.com/profile/02344437586406159667noreply@blogger.comBlogger24125tag:blogger.com,1999:blog-6631127102489130322.post-41426411370921135622022-10-20T11:52:39.218-07:002022-10-20T11:52:39.218-07:00Nicee blog thanks for postingNicee blog thanks for postingSkylight Contractors Redlandshttps://www.professionalskylight.com/us/california-skylights/skylight-contractors-redlands.shtmlnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-1928027412462275382021-05-04T04:56:05.700-07:002021-05-04T04:56:05.700-07:00I have read a few of the articles on your website ...I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think. <a href="https://apostascomvalor.com/analise/esc-online-aposta-gratis-de-10e-bonus-analise-e-vantagens/" rel="nofollow">esc online</a>Opal A. Diazhttps://www.blogger.com/profile/01505627945235626126noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-18260123650381364022019-08-21T00:28:50.245-07:002019-08-21T00:28:50.245-07:00This article is an appealing wealth of informative...This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention. <a href="https://www.xn--vf4b27jfqja61l.site/" rel="nofollow">안전놀이터</a>brittanymlemayhttps://www.blogger.com/profile/05828142970980753025noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-89615693041009807202019-07-06T02:34:47.284-07:002019-07-06T02:34:47.284-07:00i read a lot of stuff and i found that the way of ...i read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future.. <a href="https://futbol-mexico.com.mx" rel="nofollow">Fútbol mexico</a>Richard C. Lamberthttps://www.blogger.com/profile/14766504022599651016noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-85273629079236109862019-05-08T00:40:26.971-07:002019-05-08T00:40:26.971-07:00Most of the time I don’t make comments on websites...Most of the time I don’t make comments on websites, but I'd like to say that this article really forced me to do so. Really nice post! <a href="http://usvaluebetting.com/" rel="nofollow">http://usvaluebetting.com/</a>Blog Comment Backlinkshttps://www.blogger.com/profile/11978208268095899570noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-59867334109216026802017-07-10T10:02:25.416-07:002017-07-10T10:02:25.416-07:00Positive site, where did u come up with the inform...Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include.<br />security technology https://www.itomhq.uk/blog/noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-71200803401308586112015-11-03T08:21:18.480-08:002015-11-03T08:21:18.480-08:00Very nice write up. One thing I would do is to dif...Very nice write up. One thing I would do is to differentiate password hashing/key expansion hash functions such as scrypt/bcrypt which are designed to be slow to prevent brute force attacks from such crypto hash functions as SHA2 which are designed to be fast.<br /><br />People might think that hashing and salting with SHA-256 is a good idea, when it is not.John Bandelahttps://www.blogger.com/profile/09812333294561223811noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-36400077785625087332015-04-02T10:16:36.810-07:002015-04-02T10:16:36.810-07:00I have an analogy, but no good referent for it. S...I have an analogy, but no good referent for it. Something about pointer chains, where you're looking for the barbecue sauce, but all you can find is people pointing, saying "Try over there. I saw him with it a while ago..."Rosshttps://www.blogger.com/profile/16367287655636396603noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-35361568206855708612014-09-20T10:26:26.682-07:002014-09-20T10:26:26.682-07:00davmac, I must admit that I'm excited to see a...davmac, I must admit that I'm excited to see a direct reply from one of the authors I've linked in this post.<br /><br />I am forced to acknowledge, first, that while I had read a few of your posts at the time of publication, I am by no means familiar with your entire collected works.<br /><br />As I said in my article, "perhaps I'm taking these people too literally". I was looking for concrete examples of a theme I've heard repeated many times. Your title is clearly provocative, and I hope that you don't feel that I am calling you out too strongly on it.<br /><br />Anyhow, thanks for your reply, and I encourage you to keep on writing and striving to make software better one bug report at a time.Joshua Ganeshttps://www.blogger.com/profile/02344437586406159667noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-17228703254975624172014-09-19T02:16:24.305-07:002014-09-19T02:16:24.305-07:00Hi Joshua, I'm the author of one of the blogs ...Hi Joshua, I'm the author of one of the blogs you linked to ("Software is Crap"). In regards to my own blog, I think you've missed something, which is that the title (and the content) are *deliberately provocative*. I don't really think that *all* software is crap.<br /><br />Yes, the blog was born partly out of frustration - at having to deal with software that is flawed, often in quite fundamental and obvious ways - but that is not its reason for existence. It serves both as an outlet for me but also as a way to document these flaws, encourage them to be fixed, and to encourage other developers to put in that little bit of extra effort to avoid introducing the same kinds of errors and flaws into their own software. It also keeps a record of workarounds and fixes that I have discovered, which are occasionally useful to others.<br /><br />Many of my blog entries correspond to a bug report, written by me, for the particular piece of software I'm complaining about. For example, http://davmac.wordpress.com/2014/08/02/rails-devs-we-dont-know-how-to-fix-it-therefore-its-not-a-bug/ and http://davmac.wordpress.com/2014/05/13/javas-nimbus-look-and-feel-and-custom-keymaps/ and http://davmac.wordpress.com/2009/10/25/mysql-and-c99-aliasing-rules-a-detective-story/ (the latter even included a fix, which took me several hours of my own time to determine).<br /><br />I think perhaps you're guilty of pointing at my blog as evidence of something which it is not, without actually having read it. This doesn't really bother me (and heck, thanks for the link, I like traffic) but you should be more careful. The Jeff Atwood post you link is also worth reading - especially where he says "All the rest of us can do is keep making our software less shitty over time-- a process of continuous improvement."<br /><br />That's the point. Not that when software is terrible we should "throw in the towel" as you put it, but rather the opposite - we should strive to make it better. And furthermore, we should try to understand *why it is bad* and how we can avoid making such mistakes in the future. That's what my blog is really about.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-70301347440804124612014-09-14T11:18:37.524-07:002014-09-14T11:18:37.524-07:00I want them to say, we will miss her sooo much. S...I want them to say, we will miss her sooo much. She was always a team player, ready to pitch in and offer help as needed, willing to go the extra mile, that she was always encouraging and supportive to her co-workers and friends on staff! I want them to say, we will miss her smile, her sense of humour, and laughter...and the food she brought in for pot-lucks or surprised us with cookies, cake or Timmies donuts! Man she will really be missed!! (And I will miss them as well!!)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-43285758081198606792014-09-14T09:36:18.995-07:002014-09-14T09:36:18.995-07:00You got me. Fixed just for you.You got me. Fixed just for you.Joshua Ganeshttps://www.blogger.com/profile/02344437586406159667noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-86681310304410933722014-05-19T08:21:50.967-07:002014-05-19T08:21:50.967-07:00Either "All tolled" is a typo for "...Either "All tolled" is a typo for "All told", or you were punning on the toll that it took. Or maybe the Insta-Set Clock has a bell that tolls?Rosshttps://www.blogger.com/profile/16367287655636396603noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-35929584093087478092014-05-10T02:11:33.867-07:002014-05-10T02:11:33.867-07:00I'd be curious to see the error message on tha...I'd be curious to see the error message on that.<br />POS Error: Please load paper into the feed slot. <br />Cashier: Ok, um, but this thing doesn't have a slot!Allaunhttps://www.blogger.com/profile/14686604201843686818noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-86604597703066213272014-05-09T22:19:05.602-07:002014-05-09T22:19:05.602-07:00I'm simulating a thermal printer. They only wo...I'm simulating a thermal printer. They only work correctly when the paper is loaded right side up. I'd better make sure I simulate the correct side of the receipt paper for both big endian and little endian systems :)Joshua Ganeshttps://www.blogger.com/profile/02344437586406159667noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-79500747339588536062014-05-09T21:48:29.450-07:002014-05-09T21:48:29.450-07:00I love the printer status dialog. However, I must...I love the printer status dialog. However, I must disapprove of gluing the paper door shut. The roll of paper that spans the country will run out after you print 43 million or so sheets, and then you have little choice but to replace the printer. Therefore, to conserve the lifetime of your non-physical printer, I recommend printing on both sides of the imaginary paper :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-31958340398089147772014-05-09T16:15:13.358-07:002014-05-09T16:15:13.358-07:00My software maintainer self cringes at this. My ha...My software maintainer self cringes at this. My hacker self revels in the fact that this is the most glorious hack I've ever seen.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-88186325630806387442014-05-09T13:37:59.429-07:002014-05-09T13:37:59.429-07:00I think my favourite example of a "dirty hack...I think my favourite example of a "dirty hack that gets the job done" was by the developers of the DOS game Wing Commander. The game worked fine, but when exited, it output a strange error message to the console, complaining about some virtual memory issue. They couldn't figure out the cause, and it didn't seem to be hurting anything - so they opened the executable in a hex editor and changed that message to "Thank you for playing Wing Commander".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-8423392034122346862014-05-09T06:57:55.929-07:002014-05-09T06:57:55.929-07:00I can tell you that some company in London (UK) is...I can tell you that some company in London (UK) is using the same sort of trick to get receipt data out of the POS, you are not alone!Anonymoushttps://www.blogger.com/profile/05281323016120615787noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-23369813562733623102013-05-10T18:15:19.482-07:002013-05-10T18:15:19.482-07:00Yes, this was indeed a malloc() issue. The program...Yes, this was indeed a malloc() issue. The program was getting deadlocked on the malloc call waiting on a lock that would never be released.<br /><br />The man pages do cover this, and that's always a good place to start. I don't always buy the standard RTFM response, however. Man pages can be confusing and exceptionally technical, especially to people new to the topic. Those are the same people most likely to need to reference the man pages.Joshua Ganeshttps://www.blogger.com/profile/02344437586406159667noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-87090705325133950582013-05-10T08:02:13.000-07:002013-05-10T08:02:13.000-07:00My guess is that this was not an STL issue, but a ...My guess is that this was not an STL issue, but a malloc issue. You can't safely call malloc (or any functions that call malloc) in a signal handler, because if the program was interrupted in main() after a call to malloc, the signal handler COULD deadlock the lock that malloc uses to protect the data structures it uses for heap accounting.<br /><br />The man pages describe what functions are safe in signal handlers, and what are not. Readers should definitely read the manual.<br /><br />Lastly, a colleague of mine pointed out that using signalfd on Linux (or the kqueue equivalent method on BSD) is a far superior method to handling signals than using a shared atomic integer.<br /><br />The reason it is superior is that it allows you to process the signal while in "normal" excecution context rather than in "signal" context, where significant restrictions apply.Tom Dialhttps://www.blogger.com/profile/01823681847675275480noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-75557959495862307932013-05-10T08:00:09.885-07:002013-05-10T08:00:09.885-07:00This comment has been removed by the author.Tom Dialhttps://www.blogger.com/profile/01823681847675275480noreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-30370123467945073862013-03-16T14:19:47.135-07:002013-03-16T14:19:47.135-07:00Advertising is an interesting "evil"!?! ...Advertising is an interesting "evil"!?! Anyhow I did know all those commercials even what is in a Big Mac. You did watch the commercials more than the shows. I do remember that. I guess you have to decide if it's worth it to add advertising or not. Like you said it wouldn't make much right now but maybe one day. I think I might if it wasn't too invasive. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6631127102489130322.post-65158077392199605322013-02-24T11:39:37.331-08:002013-02-24T11:39:37.331-08:00Thanks Josh to make us all aware!Thanks Josh to make us all aware!Lizhttps://www.blogger.com/profile/02571429798883880312noreply@blogger.com