|
|
A part that doesn't have a location? "Quantum Space" "Entangled" "Multiverse" come to mind.
|
|
|
|
|
A part that identifies as not committed?
It's been 6 months since I joined the gym and there's been no progress. I'm going there tomorrow in person to find out what's really going on!
JaxCoder.com
|
|
|
|
|
Uncategorized
Miscellaneous
Non-compartmentalized
Parts Unknown
|
|
|
|
|
Well (particularly @Marc-Clifton - you might get a kick out of this)
I made an assembler for my little regex runner virtual machine.
now instead of regex you can write asm code directly to the fekking thing
; lex identifier
save 0
set "A".."Z", "_", "a".."z"
loop:
split idpart, done
idpart:
set "0".."9", "A".."Z", "_", "a".."z"
jmp loop
done:
save 1
match 0
instead of ([A-Z_a-z][0-9A-Z_a-z]*) which would give you the same code =P
however, you can at least do things with it you can't make with regex, but i'm not sure how useful that is in practice. If you really hate regex though you can use asm.
Next up, maybe I'll make a C++ -> asm compiler for it.
Real programmers use butterflies
|
|
|
|
|
|
honey the codewitch wrote: now instead of regex you can write asm code directly to the fekking thing
Very cool - speaks to my inner child, as after learning BASIC on a PDP-11 I really cut my programming teeth on years of assembly language programming.
|
|
|
|
|
Very similar with me, except later. I learned basic on an Apple II, followed by 6502 bytecode before I discovered the mini assembler.
I'll post an article about it later when i post lexly
Real programmers use butterflies
|
|
|
|
|
I made a linker for this.
I actually made a linker for this.
Reason being is so you can intersperse your hand written assembly code with compiled regex expressions.
somebody stop me!
Real programmers use butterflies
|
|
|
|
|
But it's ok - the £2,400,000 of public money they spent refurbishing Frogmoor Cottage will be repaid.
Harry will pay it off at £5 per week from his unemployment benefit.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
modified 19-Jan-20 7:12am.
|
|
|
|
|
Given the speedy Megxit outcome, the Queen should have negotiated Brexit.
modified 19-Jan-20 7:12am.
|
|
|
|
|
OriginalGriff wrote: Harry will pay it off at £5 per week from his unemployment benefit.
Are you sure he can afford that much? Getting used to living on a budget isn't easy!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
modified 19-Jan-20 7:12am.
|
|
|
|
|
Pratsit, more like.
Why didn't Charles think of doing this, decades ago? I'm sure ER indoors wouldn't have minded handing the reigns over to Anne.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: Pratsit, more like
For me it sounds more like parasit
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Teach endlessly for coin (5)
|
|
|
|
|
eDUCATe =>> DUCAT
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
ya
|
|
|
|
|
|
No. I don't own 750 Rubik Cubes.
I could build a very pixelated image of John Cena out of one though*
* If I owned one Rubik Cube, and I had any idea who John Cena is / was / will be. Which I don't.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Again with the logic issues!
It's a hideously inefficient and imprecise way to make a picture, but, for whatever peculiar reasons, he and his parents find logic in this inefficiency and imprecision (which will absolutely not get him into art school).
Are crayons banned, in his house, to prevent him drawing on the walls (which is tricky to do with Rubik's cubes)?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Pfft ... he's got a cheat sheet in front of him. He's a good "cuber", but probably a lousy artist (software)
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
In C# I took my lex from .045 msec to .028 msec by changing the lists i was using to arrays.
This despite the fact that there were no reallocs happening in those lists (i already checked)
_Fiber[] currentFibers, nextFibers, tmp;
int currentFiberCount=0, nextFiberCount=0;
is simply faster than this
IList<_Fiber> currentFibers,nextFibers,tmp;
Conventional wisdom is lists are about as good as arrays perfwise as long as your capacity is high enough.
Conventional wisdom can get bent
Real programmers use butterflies
|
|
|
|
|
That probably hasn't been true from the time CPUs got caches. Stroustrup himself says as much.
Mircea - I would put a smart quote in my signature if I wouldn't be so lazy and if smart quotes wouldn't be so overused.
|
|
|
|
|
Well, Microsoft's .NET soothsayers would tell him otherwise, but he's right.
Adding: After reading that link it looks like Bjarne and I aren't talking about quite the same thing.
Basically if this was C++ and not C# I'd be complaining that arrays are faster than std::vector, not lists
Real programmers use butterflies
|
|
|
|
|
Reference Source. Makes some sense. You're saving 17 microseconds and all of those checks and calls cost some amount of time. My thoughts have always been that lists are better as a default because you can abstract them (e.g. IList<t>) and you don't need to worry about bounds, while arrays are better when optimizing critical sections for performance (indirection has a cost).
|
|
|
|