tag:blogger.com,1999:blog-15136575.comments2023-10-17T12:00:16.772+01:00Code rantMike Hadlowhttp://www.blogger.com/profile/16441901713967254504noreply@blogger.comBlogger2860125tag:blogger.com,1999:blog-15136575.post-78924887896907395782021-01-27T19:26:19.638+00:002021-01-27T19:26:19.638+00:00^ the above comment doesn't explain why or how...^ the above comment doesn't explain why or how to improve on your solution and is in fact an inefficient use of reading time. Looking up solutions via google and the web is all about efficiency, and your post helped shed light on Binary Formatting albeit not all I was looking for; the comment above however is a rediculously inefficient addition to the blog post and basing my time and results on it is a terrible idea and has already failed me into writing a response to help negate the comment to future readers, even if it means inefficiently spending their time to efficiently avoid Anonymous.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-63784024023387505042020-12-15T01:15:35.472+00:002020-12-15T01:15:35.472+00:00Oh no, it me :( :( Oh no, it me :( :( geeklindahttps://www.blogger.com/profile/16917852879964673515noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-76267042412988269042020-10-02T13:44:23.759+01:002020-10-02T13:44:23.759+01:00Hi!
It is still possible to clone - it just looks...Hi!<br /><br />It is still possible to clone - it just looks a little different now.<br />A little bit below the "New Page" button, you will find:<br /><br /><b>Clone this wiki locally</b><br />Carlhttps://www.blogger.com/profile/17218961636821584347noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-2036537358538516042020-09-28T01:54:02.866+01:002020-09-28T01:54:02.866+01:00"i think it is because i'm sending mime t..."i think it is because i'm sending mime type application/octet-stream. how do i set the api to accept any type of contents?"<br /><br />Hi again. I've managed to fix the problems in my project: <br /><br />- i needed to add authorization header<br /> request.Headers.Add(HttpRequestHeader.Authorization, "Bearer " + token);<br />- and when deploying to IIS...i needed the destination folder to be on Full trust permissions in file explorer for user: IIS_IUSR so that it can create the file on server, otherwise it gives error 500<br /><br />thanks for the wonderful code :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-34327036407098875212020-09-24T01:09:41.312+01:002020-09-24T01:09:41.312+01:00Hi, i've implemented your codes (where possibl...Hi, i've implemented your codes (where possible) in my web api, but i've encountered an error when sending from console app (with your codes as well) error is: Method not allowed.<br /><br />i think it is because i'm sending mime type application/octet-stream. how do i set the api to accept any type of contents?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-66757528005686542102020-09-02T20:53:05.315+01:002020-09-02T20:53:05.315+01:00Hi, for the dotnet cli you have to add quotes arou...Hi, for the dotnet cli you have to add quotes around the compile directive:<br /><br />dotnet build /p:DefineConstants="FOO"<br /><br />Works just fine.<br /><br />IIRC it took me a while to figure this out.Dave Shawhttps://www.blogger.com/profile/10787538579544984789noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-33895899707878103232020-08-28T16:56:20.730+01:002020-08-28T16:56:20.730+01:00I think there's a way out: Use sqlite for stor...I think there's a way out: Use sqlite for storing configurable values. It's a self-contained file format, it has a way to dump to a reviewable, versionable text representation for tracking, it's fast enough to access online so you can modify things during runtime, it's got a lot of tooling support, it uses a real language, it's extensible, there are specific rules for how to migrate data and if you adhere to the generally advised notion of never directly accessing data through tables and only using views, straightforward migrations of the configurations are possible.<br /><br />If there's a significant drawback it's that the types are a bit too flexible, but not much worse than many other text formats.Dan Nugenthttps://www.blogger.com/profile/17024579990613770367noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-64855847978133722482020-08-27T16:04:35.248+01:002020-08-27T16:04:35.248+01:00excellent, I'd lost in Javascript a long time ...excellent, I'd lost in Javascript a long time ago.秋窗余照https://www.blogger.com/profile/05998323422888783788noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-68812658602247620262020-08-04T15:35:59.498+01:002020-08-04T15:35:59.498+01:00Have been bitten by this before, and came up with ...Have been bitten by this before, and came up with much crapper solution to this, where I pre-published stuff and then copied the result of the publish to the new layer for container<br /><br />Anyway great post, have added my own link here to it : https://sachabarbs.wordpress.com/2020/08/04/restoring-from-an-azure-artifacts-nuget-feed-from-inside-a-docker-build/sachahttps://www.blogger.com/profile/14379789134486990569noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-10484646863871366492020-07-31T02:31:25.811+01:002020-07-31T02:31:25.811+01:00It is the year 2020 and every so often I still sen...It is the year 2020 and every so often I still send this bookmarked link to threads (too often LinkedIn) where a bunch of PMs with the coding knowledge of a rutabaga bemoan the state of "Agile Project Management". Often with "we're going back to waterfall because agile doesn't work".<br /><br />Nothing has changed - and likely never will.Marakaihttps://www.blogger.com/profile/15394221702571617097noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-86393467088438658652020-07-28T10:12:10.089+01:002020-07-28T10:12:10.089+01:00Thank you for this explaination but in 2020, there...Thank you for this explaination but in 2020, there is no longer "clone url" button! Only "Edit" and Newpage" buttons.<br />RegardsAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-23041004234563793512020-07-16T21:13:00.116+01:002020-07-16T21:13:00.116+01:00Just want to say, its the year 2020 now and I am s...Just want to say, its the year 2020 now and I am still using this document almost 3 times a year to show this same pattern. This is one of those things that hasn't yet changed.Xeno PuTtSshttps://www.blogger.com/profile/00934389605618434836noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-66318379980360347712020-07-03T07:47:53.536+01:002020-07-03T07:47:53.536+01:00I have a ASP NET application which uses Rabbitmq j...I have a ASP NET application which uses Rabbitmq just for publishingapublishing messages on some of its endpoints.<br />I understand that i create a connection in the startup class and reuse it.What i dont underatand is how should to deal with the IModel ? Should i create it per request ? Create channel , publish message and close channel ? If not should i create a singleton service containing a semaphored/locked IModel shared between my services ? I do not see a benefit if i need to add a special thread/task where all requests push tobercovici.adrian.simon@gmail.comhttps://www.blogger.com/profile/18017392272993545982noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-70331659232886071602020-06-16T05:22:25.204+01:002020-06-16T05:22:25.204+01:00My understanding is that the Large Hadron Collider...My understanding is that the Large Hadron Collider project was programmed using LabVIEW RT (-- perhaps not exclusively, but some key aspects). Furthermore, SpaceX employs a number of LabVIEW specialists.<br /><br />I myself have been developing large, complex automation systems using LabVIEW for many years. (One of my projects actually won a US national award for innovation. No one asked me what programming language I used. They were only concerned whether the technology worked.)<br /><br />I can imagine that there are better tools for business applications and web development, however with shrinking budgets, increased pressure for time-to-market, and a need to rapidly prototype, deploy, and modify, graphical LabVIEW is a great tool for many engineering applications.<br /><br />The points about source code control and difference-tracking are well-taken though. There have been several attempt at this over the years, and the results haven't been great. However, watching the execution flow in debug mode is a fabulous debugging tool that usually shortens debugging from hours to minutes. I know there are powerful debugging tools on the text side, but if you have a logical error (rather than a syntax issue), it's great to watch the values flip and evolve before your eyes. <br /><br />Am I technically a programmer? Perhaps not. (I have worked with assemblers, fortran, pascal and C compilers, compiled BASIC, and other "textual" tools in the past.) But for getting results, an advanced graphical programming environment is like any other tool -- the power comes from knowing how to use it effectively. <br /><br />There is good and bad in every approach. If you prefer text, then go with text. Many people process their world visually, and graphical programming languages provide advantages and disadvantages that are different from the advantages and disadvantages of text-based approaches.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-67243223762397363882020-05-19T20:47:01.511+01:002020-05-19T20:47:01.511+01:00I stumbled upon this while searching for how to dr...I stumbled upon this while searching for how to draw chord boxes with SVG, I was beginning to write something similar to this for my own use, and now I don't need to! <br /><br />TBH, I don't have your skills, mine would have been nowhere near as useful, or professional looking. Thank you for sharing your hard work.purestbluehttps://www.blogger.com/profile/13263872022161762273noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-54475210522420603182020-04-30T20:46:05.771+01:002020-04-30T20:46:05.771+01:00Reminds me of Ivan Sutherland's Wheel of Reinc...Reminds me of Ivan Sutherland's Wheel of Reincarnation: http://cva.stanford.edu/classes/cs99s/papers/myer-sutherland-design-of-display-processors.pdfScott Cooperhttps://www.blogger.com/profile/10621655805082979910noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-2443767475544712342020-04-16T09:05:01.615+01:002020-04-16T09:05:01.615+01:00Great post, Mike. Thanks for writing.
Would love...Great post, Mike. Thanks for writing.<br /><br />Would love to see a follow-up where you re-examine the CI/CD tooling for deployments to Docker/K8s once you're happy that the core framework conversion has stabilised.<br /><br />CraigTPhttps://www.blogger.com/profile/04642617911026379075noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-84822561476015361662020-04-16T03:01:57.737+01:002020-04-16T03:01:57.737+01:00Wow, what a great article Mike. Thanks for sharing...Wow, what a great article Mike. Thanks for sharing.preet sanghahttps://www.blogger.com/profile/07027050079768738581noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-2577318339684964302019-11-06T13:50:13.995+00:002019-11-06T13:50:13.995+00:00nice article thanksnice article thanksKarl-Ernst Kretschmerhttp://lets-crack-perl-interview.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-13965302269712559872019-11-04T07:34:45.662+00:002019-11-04T07:34:45.662+00:00You really want to make sure that both the data yo...You really want to make sure that both the data you are storing and sending the message (or storing a message to be sent) are in the same TRANSACTION, otherwise you might end up storing data and the process never sends the message (or vice versa).<br /><br />Here is a great presentation on the topic:<br /><br />https://vimeo.com/111998645Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-1101821636945923902019-10-18T18:00:29.617+01:002019-10-18T18:00:29.617+01:00The article is bang on - it only looks easy to cre...The article is bang on - it only looks easy to create queuing systems in a database. <br /><br />Message brokers are not storing messages in a single shared table and performing searches through them - messages are going to specific queues. In other words, a broker does not have to search for messages to process.<br /><br />A message broker can be used as a front-end to a database. This provides the ability to disconnect your applications performance from user load - if all of your database operations are driven out of message queues, your application will perform at a consistent level regardless of workload. Even better is if all of your workload, not just database operations, is driven out of message queues.<br /><br />Monitoring progress using a message queue is super easy - have the processing jobs post messages to a monitoring queue which is consumed by your monitoring application.<br /><br />Finally, using a message broker allows you to perform all processing asynchronously, yet allows callers to simulate synchronous calls if they would like to. If a client wants to execute a job synchronously, the producer for that job creates a callback queue and a consumer to monitor it. It then passes the callback queue name into the request. The consumer of that job sends completion messages to that callback queue on completion. When done properly, the resulting data can be fed back into the callers output stream - in other words, the caller appears to have made a synchronous call, but it actually was processed asynchronously. <br /><br />The hardest part about adopting a message broker is convincing people that it is easier than creating your own. And it is actually is easier and far more useful in the long run. A message broker will quickly become a central aspect of almost all of your most complex processing problems.<br /><br />Try it, you will like it!rpbarbatihttps://www.blogger.com/profile/04645764973907648320noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-34297067693156654972019-06-27T13:51:56.414+01:002019-06-27T13:51:56.414+01:00Hello, I found this method has no longer supported...Hello, I found this method has no longer supported, but I finally made it by adding this<br />![SID_import](images/SID_import.png)<br /><br />(My file Name named ->> SID_import.png in the image folder)<br /><br />Best RegardJulis Suryadihttps://www.blogger.com/profile/10638900673793659243noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-15999505140017042452019-06-27T09:06:44.766+01:002019-06-27T09:06:44.766+01:00This is SO awesome!!! Thank you so much for writin...This is SO awesome!!! Thank you so much for writing this and sharing your source code!Anthony Coffeyhttps://www.blogger.com/profile/04208353901001614780noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-89582993226385452272019-06-16T22:32:50.625+01:002019-06-16T22:32:50.625+01:00Mike,
GuitarDashboard is a very nice site and I h...Mike,<br /><br />GuitarDashboard is a very nice site and I have linked it in a couple of my daily hangouts.<br /><br />I use it to spell out chords, because I use mostly fake books to figure out tunes, and to transpose. When entering tunes into mus score, it's helpful to have this interactive tool to check my spellings. <br /><br />Regards,<br /><br />sTevosTevonoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-35586822838745688812019-05-31T19:14:51.496+01:002019-05-31T19:14:51.496+01:00thanks. this was helpful in embedding an image on ...thanks. this was helpful in embedding an image on my local computer. Github documentation is focused on how to insert an image from a URL. While this translates to the same steps here were missing from GitHub documentation.Manoj Guglanihttps://www.blogger.com/profile/10279142344557707599noreply@blogger.com