I've heard of some 2d lighting libraries that use the GPU to do some primitive ray tracing. Also maybe check out sprite lamp when you get a moment, I think they're in Alpha.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Yeah I do have one 2D particle/lighting lib in my back pocket that I want to look at before i totally homebrew
I haven't really dug deep yet because dynamic lighting is sort of the cherry on top for what I am doing, it's literally the last thing on the list
If I could find a 3rd part lib where I could just hand over a gl or d3d context to and say "do what you will", that would certainly save me a TON of time
If you're not using a GL/DX context, SDL2 uses the software renderer.
At that point that I wanted dynamic lights I'd use OpenGL and just use the 3d system as a 2d one to take advantage of the acceleration GPUs have for stuff like that.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
you can tell SDL to use hardware all you want. It will do hardware rendering for what you give it, which is 2D texture rendering. and it will do that on OpenGL or D3D or whatever is available.
But the thing is, if you want to use a shader, you have to break away from SDL's APIs and types and do it yourself. Which is a real bear. I don't need anywhere near the fidelity of Sprite Lamp though, luckily.
you can tell SDL to use hardware all you want. It will do hardware rendering for what you give it, which is 2D texture rendering. and it will do that on OpenGL or D3D or whatever is available.
But the thing is, if you want to use a shader, you have to break away from SDL's APIs and types and do it yourself. Which is a real bear. I don't need anywhere near the fidelity of Sprite Lamp though, luckily.
I basically just need primitive raycasting
Seems like you could throw it as a texture on a quad in OGL and then throw in 3d lighting and get the same effect and move your CPU rendering to the GPU with very little change on your end.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
well yeah, if my software lighting ends up being too slow, the last ditch effort would be to force SDL to prefer OpenGL even on Windows, and then start writing straight OGL rendering techniques to supplement what's already there
I want to save that for last though, because I am not good at opengl. Honestly I don't even know the proper way to write a shader.
For our HL7 systems, we just get the text report (doctor's indications etc.) and you have to look at imaging in your PACS.
Yeah that's typically what ours does too.
But I guess with CCD/HL7v3 you can inline "non structure documents" in a c62 or whatever they're called. Something to do with nonXMLBody and all that. I can't make heads or tails of it and the documentation shows you the structure but not an example on how to inline data.
At least with HL7v2.x you could base64 encode data into an OBX field to do this.
CCD is the most frustrating thing I think I have ever dealt with.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Yeah CCD is a nightmare. Like a lot of their attributes are flat out mandatory.
I don't get it, they're random numeric codes. You could just leave them out and have the element hierarchy and just imply the number. I don't even know. Did they consult a good software person when designing these things?
Just like with EDI the gubment was involved so it's going to be crappy and annoying by default so that consultants can charge huge fees to do any work related to it.
What you really need to do unfortunately depends on the question "well, what does my downstream do with this shit exactly?"
That's why we have so much translating going on in Cloverleaf, there is no way you could directly plumb one application to another HL7 endpoint to HL7 endpoint.
What you really need to do unfortunately depends on the question "well, what does my downstream do with this shit exactly?"
That's why we have so much translating going on in Cloverleaf, there is no way you could directly plumb one application to another HL7 endpoint to HL7 endpoint.
Which is so dumb!
Seriously you and I probably could've sat down and snapped off a better standard that actually works and doesn't let people just add shit.
I mean what do you need really in healthcare?
Images.
Medication IDs (snomed should be fine for this)
ICD9 or ICD10 for diagnoses (let both exist in the standard)
plain text data for examinations and all that
CPT codes for procedures
I mean right there you've pretty much got a standard that works for data, the standard could be like... 5-10 pages tops and pretty simple and clear.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
So, Linode has done some more infrastructure upgrades, I just upgraded PAdev (carbon).
1GB memory -> 2GB, and storage is now on SSDs.
Thanks, Linode!
Let me know if anything is amiss with your PAdev accounts or services. Or if you want to signup for dedicated Linux hosting that is shared by forumers and managed by myself (just $5/mo!)
So, Linode has done some more infrastructure upgrades, I just upgraded PAdev (carbon).
1GB memory -> 2GB, and storage is now on SSDs.
Thanks, Linode!
Let me know if anything is amiss with your PAdev accounts or services. Or if you want to signup for dedicated Linux hosting that is shared by forumers and managed by myself (just $5/mo!)
interesting that they reduced the number of cores
which actually makes the memory increase for me less useful, because for my own stuff, my non-cache memory usage is mostly based on how many cores I have available
I wish that someway, somehow, that I could save every one of us
On my system I see - used more than _, but it seems that - are pretty consistently used for both appending version numbers and as directories referring to package names (the debian package name in this case). I don't see a lot of - or _ outside of that.
I don't think it matters too much which you use
End on
I wish that someway, somehow, that I could save every one of us
So, Linode has done some more infrastructure upgrades, I just upgraded PAdev (carbon).
1GB memory -> 2GB, and storage is now on SSDs.
Thanks, Linode!
Let me know if anything is amiss with your PAdev accounts or services. Or if you want to signup for dedicated Linux hosting that is shared by forumers and managed by myself (just $5/mo!)
interesting that they reduced the number of cores
which actually makes the memory increase for me less useful, because for my own stuff, my non-cache memory usage is mostly based on how many cores I have available
Depends yeah, for overall typical hosting services it should be better with the increased memory and i/o, but if you are actually doing CPU limited workloads then it's a downgrade on the bottom 2GB plan.
It is mostly a wash on the 4GB plan, and an increase above that.
Personally I use - because it's way easier to type but I don't doubt that _ is uncommon.
Of course, you could always use "\ " :P
undergroundmonorail on
Pokémon X | 3DS Friend Code: 0490-4897-7688
Friend Safari: Fighting - Machoke, Pancham, Riolu | In game name: Jessica
Official Weather Gym Leader of the G+T Pokémon League. @me to try for the Climate Badge!
I didn't actually use it, but today I wrote this because I was curious.
class Thing(object):
__next__ = next # python3 compatibility
def __iter__(self):
self.b = True
return self
def next(self):
if self.b:
self.b = False
return self
else:
raise StopIteration
It doesn't seem like much, it's just an iterable that returns itself once. But...
class Thing(object):
def __init__(self, name):
self.name = name
__next__ = next # python3 compatibility
def __iter__(self):
self.b = True
return self
def next(self):
if self.b:
self.b = False
return self
else:
raise StopIteration
t = Thing('scooby doo')
print t.name # scooby doo
for s in t: print s.name # scooby doo
This way, you can write functions that will do a thing to every instance of this class in a list, and that same function will do that same thing to just one instance if you only give it one instance.
I can't decide if this is pythonic because duck typing or unpythonic because it's disgusting.
undergroundmonorail on
Pokémon X | 3DS Friend Code: 0490-4897-7688
Friend Safari: Fighting - Machoke, Pancham, Riolu | In game name: Jessica
Official Weather Gym Leader of the G+T Pokémon League. @me to try for the Climate Badge!
Posts
I've heard of some 2d lighting libraries that use the GPU to do some primitive ray tracing. Also maybe check out sprite lamp when you get a moment, I think they're in Alpha.
I haven't really dug deep yet because dynamic lighting is sort of the cherry on top for what I am doing, it's literally the last thing on the list
If I could find a 3rd part lib where I could just hand over a gl or d3d context to and say "do what you will", that would certainly save me a TON of time
At that point that I wanted dynamic lights I'd use OpenGL and just use the 3d system as a 2d one to take advantage of the acceleration GPUs have for stuff like that.
But the thing is, if you want to use a shader, you have to break away from SDL's APIs and types and do it yourself. Which is a real bear. I don't need anywhere near the fidelity of Sprite Lamp though, luckily.
I basically just need primitive raycasting
Yeah I'm digging it. Not sure if I want to drop any money on it or whatnot.
Seems like you could throw it as a texture on a quad in OGL and then throw in 3d lighting and get the same effect and move your CPU rendering to the GPU with very little change on your end.
I want to save that for last though, because I am not good at opengl. Honestly I don't even know the proper way to write a shader.
OGL shader is probaly going to be easier than the software ray tracing but I'm just as clueless as you are!
This is going to be such a clusterfuck.
Getting my boss to fork over cash to HL7's org for them is going to be difficult. Something tells me I'm going to be flying blind here.
Anyone got any spec sheets on how to create CCDs/HL73s ?
If I deploy an .ear file using WebSphere, does it move the file to a different location or does it always launch from that location?
For example, if I deploy the following ear:
/opt/home/wasadmin/software/Software.ear
and then I delete that .ear file, will the app still work correctly?
Ah that seems like it's mostly Canadian centric then from what I can pull.
Thanks anyways though!
Yeah that's typically what ours does too.
But I guess with CCD/HL7v3 you can inline "non structure documents" in a c62 or whatever they're called. Something to do with nonXMLBody and all that. I can't make heads or tails of it and the documentation shows you the structure but not an example on how to inline data.
At least with HL7v2.x you could base64 encode data into an OBX field to do this.
CCD is the most frustrating thing I think I have ever dealt with.
Nintendo ID: Incindium
PSN: IncindiumX
I don't get it, they're random numeric codes. You could just leave them out and have the element hierarchy and just imply the number. I don't even know. Did they consult a good software person when designing these things?
http://motorcycleguy.blogspot.com/2013/03/displaying-nonxmlbody-in-hl7-cda.html
I did find this.
Holy hell was that a nightmare to track down. Whoever this motorcycleguy is, he's a godsend.
<code code="10160-0" codeSystem="2.16.840.1.113883.6.1"/> <title>Medications</title> <text> ... </text> </code>You'd figure that would be the equivalent to this:
<medications> <medication name="Tylenol" snomed="437876006" /> </medications>Hey look at that, meaningful data that isn't fucking retarded.
Nintendo ID: Incindium
PSN: IncindiumX
What you really need to do unfortunately depends on the question "well, what does my downstream do with this shit exactly?"
That's why we have so much translating going on in Cloverleaf, there is no way you could directly plumb one application to another HL7 endpoint to HL7 endpoint.
Which is so dumb!
Seriously you and I probably could've sat down and snapped off a better standard that actually works and doesn't let people just add shit.
I mean what do you need really in healthcare?
Images.
Medication IDs (snomed should be fine for this)
ICD9 or ICD10 for diagnoses (let both exist in the standard)
plain text data for examinations and all that
CPT codes for procedures
I mean right there you've pretty much got a standard that works for data, the standard could be like... 5-10 pages tops and pretty simple and clear.
1GB memory -> 2GB, and storage is now on SSDs.
Thanks, Linode!
Let me know if anything is amiss with your PAdev accounts or services. Or if you want to signup for dedicated Linux hosting that is shared by forumers and managed by myself (just $5/mo!)
sec_lib or sec-lib?
interesting that they reduced the number of cores
which actually makes the memory increase for me less useful, because for my own stuff, my non-cache memory usage is mostly based on how many cores I have available
sec_lib afaik
I don't think it matters too much which you use
So Image_Library-v1.2.5 or whatever. But just spaces in a foldername? Meh, doesn't matter really.
Depends yeah, for overall typical hosting services it should be better with the increased memory and i/o, but if you are actually doing CPU limited workloads then it's a downgrade on the bottom 2GB plan.
It is mostly a wash on the 4GB plan, and an increase above that.
Of course, you could always use "\ " :P
Friend Safari: Fighting - Machoke, Pancham, Riolu | In game name: Jessica
Official Weather Gym Leader of the G+T Pokémon League. @me to try for the Climate Badge!
I like _ because I often already have dashes.
Sample Log 2014-04-17.log
Sample-Log-2014-04-17.log
Sample_Log_2014-04-17.log
Easier to grok for me and closer to the original, the line down the middle gives it a different readability in the second case.
Bonus points if you can use \ in some way that causes naive string handling to choke on your directories only after they've been used at least once.
class Thing(object): __next__ = next # python3 compatibility def __iter__(self): self.b = True return self def next(self): if self.b: self.b = False return self else: raise StopIterationIt doesn't seem like much, it's just an iterable that returns itself once. But...class Thing(object): def __init__(self, name): self.name = name __next__ = next # python3 compatibility def __iter__(self): self.b = True return self def next(self): if self.b: self.b = False return self else: raise StopIteration t = Thing('scooby doo') print t.name # scooby doo for s in t: print s.name # scooby dooThis way, you can write functions that will do a thing to every instance of this class in a list, and that same function will do that same thing to just one instance if you only give it one instance.I can't decide if this is pythonic because duck typing or unpythonic because it's disgusting.
Friend Safari: Fighting - Machoke, Pancham, Riolu | In game name: Jessica
Official Weather Gym Leader of the G+T Pokémon League. @me to try for the Climate Badge!