Skip to content
  • 0 Votes
    11 Posts
    0 Views
    P
    I read them so quickly (generally one day each) that I barely remember anything about them. I do recall "The Secret" having a decent premise, but I don't recall the premise of "No Plan B". I consider them all about the same as far as quality goes. The ones with sex scenes are better of course. I am astounded that the author has come up with so many interesting premises and followed them through. But I also get sidetracked by the clumsiness some of the details. And I don't like that Jack doesn't stick around to clean up the mess.
  • 0 Votes
    30 Posts
    2 Views
    H
    There is a time and a place for it, and it's sometimes useful when doing some heavy Generic Programming. Like, in theory if you had to design your own tuple type (I know std already has one, but ignoring that), the function to access a tuple's value might be an auto because it's difficult to even type out the template instantiation necessary for the return type, much less come up with it. Another place I use it: In my graphics library you can define pixels with an arbitrary memory footprint. Different amounts of bits for different channels, like RGB565 or YUV888 etc. Because of the arbitrary nature of it the integer values for each channel may be a different type. For example, while a channel probably won't be more than a uint8_t can hold (8-bits) it might be (12 bits? uint16_t would be necessary) Because of that, when I go to assign values from arbitrary pixel formats I don't actually *know* what type it is, other than some kind of integer of 64 bits or less (based on static_assert constraints). So I could always promote it to a uint64_t but that creates other problems when you have to cast down again. So auto is what's for dinner. Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
  • Did you miss me?

    The Lounge javascript cloud csharp linq com
    20
    0 Votes
    20 Posts
    0 Views
    Kornfeld Eliyahu PeterK
    Welcome back... Poland is a very nice country, I imagien it is event better than it was undert comunist rule (the time I visited there)... Sander Rossel wrote: Been to Auschwitz and it's even worse than what you see on TV I've been there with my grandfather - who survived that - but I was very young and all I remember is the sadness and endless cry... "If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
  • My friend keeps saying...

    The Lounge javascript cloud csharp linq com
    5
    0 Votes
    5 Posts
    0 Views
    D
    Ron Anders wrote: you'd complain if hit with a golden hammer. I know this is being pedantic, but really, being hit with a hammer doesn't do anyone any good, no matter its color or what it's made of. Do you get to keep the hammer after being hit with it?
  • 0 Votes
    13 Posts
    0 Views
    Sander RosselS
    Nice one. Lots of anime shows have killer soundtracks or theme songs. Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • This is a first...

    The Lounge javascript cloud json csharp linq
    5
    0 Votes
    5 Posts
    0 Views
    Sander RosselS
    That's not really Swagger's fault. Swagger is just (generated) documentation of a web API with the ability to test the API. If the API sucks, so will Swagger. If anything, Swagger showed you the API sucked and that you didn't need to invest more time in it. The only "bad experience" I've had with Swagger was it breaking when doing some non-standard API development (like having a single endpoint for all functionality, don't ask...). I can't really expect Swagger to handle such weird edge cases. Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • Wordle 995

    The Lounge javascript cloud csharp linq com
    8
    0 Votes
    8 Posts
    0 Views
    J
    Wordle 995 5/6 ⬛⬛🟩🟨⬛ 🟩🟩🟩⬛⬛ 🟩🟩🟩⬛⬛ 🟩🟩🟩🟩⬛ 🟩🟩🟩🟩🟩 Da da daa, duh da daa... dum. Jeremy Falcon
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    7 Posts
    0 Views
    J
    good one! :) "A little time, a little trouble, your better day" Badfinger
  • Got pulled over by a police officer...

    The Lounge javascript cloud csharp linq com
    7
    0 Votes
    7 Posts
    0 Views
    J
    good one. :) "A little time, a little trouble, your better day" Badfinger
  • 0 Votes
    4 Posts
    9 Views
    R
    Well aren't you just the most delightful ... :)
  • 0 Votes
    8 Posts
    0 Views
    M
    Jokes like this, Nevermore. I’ve given up trying to be calm. However, I am open to feeling slightly less agitated. I’m begging you for the benefit of everyone, don’t be STUPID.
  • 0 Votes
    4 Posts
    0 Views
    R
    Probably some Microsoft guys in the Lounge today. Do not escape reality : improve reality !
  • 0 Votes
    14 Posts
    0 Views
    J
    Salvatore Terress wrote: It was not my choice to use lambda - I took the code from another forum contributor Pretty sure that is a choice. As suggested in the other post you can rewrite it. Not sure I have ever used a code sample where I did not modify it.
  • Missing "type specifier " ?

    C / C++ / MFC database debugging linq functional question
    10
    0 Votes
    10 Posts
    0 Views
    L
    I am using this code example to get more familiar with "connect". I am at 3rd attempt to write easy to understand way to process menu / submenu code. I had it working at one time, for one menu. Now I am adding more menu and now my submenus are "multiple selection" instead of single submenu. This code example seems to have that "fixed" , but now it is using lambda...
  • Been into board games lately

    The Lounge javascript cloud csharp linq com
    36
    0 Votes
    36 Posts
    1 Views
    P
    March Comes In Like a Lion is a great series, and it probably added to my thoughts about learning it. I don't think I'd ever go to the extent of studying famous games for anything. I have learned to play Hanafuda Koi Koi, a card game that's much easier. It shows up in Summer Wars and a number of other shows. I've played Hanafuda at SF cons. The other goal is to learn the Japanese version of Mahjongg. My wife and I got tired of the American version, where you get a card each year that says what the winning hands are for the year. You spend all your time studying the card instead of just playing. I would buy a set of Nyan shoji pieces in a heartbeat!
  • In .NET enumeration is slow

    The Lounge csharp design linq com graphics
    52
    0 Votes
    52 Posts
    0 Views
    T
    If you do buddy with a set of freelist heads, one for each size, and your buddy combiner orders the freelist, you have an extra benefit of locality: most accesses would go to the lower end of the heap, making better use of virtual memory (less paging). A background GC could unhook a freelist (maybe leaving a couple entries in the list for use while the GC was working), returning with one shorter list for the original freelist and one list of combined buddies to be put into the next higher size freelist. The head end of the freelist may be rather unordered - this is where all the allocation and freeing is taking place. If the list is long - it hasn't been emptied for quite some time - the tail end may be perfectly sorted after the previous GC/combination round. If you do sorting e.g. by Smoothsort, handling the already sorted part has complexity O(n), so most likely, the long freelist will not required much effort. You find buddies by traversing a sorted list, so the list of buddy pairs will also be sorted. If the next higher freelist is also mostly sorted, all buddy pairs is inserted into this is list in a single traversal. I would do real timing tests with a synthetic heap load (modeled after a relevant usage scenario) to see if it really is worthwhile the resource cost of an asynchronous GC thread - strongly suspecting that a finely tuned incremental but synchronous buddy manager can do it both at a lower total resource cost and with so small delays that it would be a much better solution. Final remark: "you've finished doing useful work and you don't need to make the user wait for the collection". In most systems, each process has its own heap. Multiple processes allocating from one common global heap requires a lot of resource consuming synchronization. Most CLI programs are run in their own processes. So when they complete, noone cares about what their heap looks like at that time. There is no reason to do any garbage collection at that time. The entire data segment holding the heap is released en bloc. In an embedded system, you often have a single systemwide heap. But few embedded system have CLI interfaces for running arbitrary programs that start up and terminate as a function of user operations. Even if the embedded system has some sort of UI, user actions are usually limited to activating specific built-in operations in the embedded code, not separate CLI oriented programs. But of course, there may be exceptions :-) Religious freedom is the freedom to say th
  • She's started talking to me again...

    The Lounge javascript cloud csharp linq com
    7
    0 Votes
    7 Posts
    0 Views
    B
    "Time flies like an arrow. Fruit flies like a banana."
  • Waking up hurts extra hard today...

    The Lounge javascript cloud csharp linq com
    6
    0 Votes
    6 Posts
    0 Views
    D
    Sander Rossel wrote: back to work on Monday. That's why I went back to work on Wednesday - so I can ease back into it, starting with a 3-day work week. Had I waited until Monday, going from doing nothing for a few weeks, to a full 5-day work week right from the get-go would've been brutal. I still found this week to be rather long, even with just 3 days.
  • xterm cannot run -e option

    Linux Programming c++ linq design debugging functional
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied