|
The fun thing about problems like this is to figure out what makes it easy for you. We are really good at categorizing / grouping recursively without thinking, and computers have to be programmed to do this stuff.
So, why is this easy for the brain to figure out? How do you capture that ease in an algorithm?
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
ha, i just posted something similar to this "Mindfulness and coding" up top of the lounge
GMTA
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
as far as how, visually I can see the groups. The common prefixes jump out at me as I scan the list, but now I'm drilling down into how my eyes are moving across the data
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I think our brain is "used to" to spot differences by identifying some features
and comparing them. This enabled me to understand "your problem" ,
but at first I was lost …
|
|
|
|
|
it's an unusual problem for sure.
I've given up on LALR parsing for now because my tables are off - for some grammars - and i can't figure out why.
So instead what I'm doing is improving my LL(1) parser with automatic grammar refactoring so you can use grammars that are not intrinsically LL(1) - LL(1) being very limiting in terms of expressive power.
And this is part of the process. The full process is explained here at the link below, fortunately I got accustomed to understanding heavy Indian accents and Indian-English vernacular while at Microsoft. =)
Left Factoring[^]
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I can't even tell what you're trying to communicate to the reader.
|
|
|
|
|
here. Consider this as flat strings (same problem)
abbc
aaab
dbba
dc
aab
dbbc
should be split into the following groups and sorted based on common prefix
abbc
aab
aaab
dbba
dbbc
dc
however, if there are more common prefixes, they need to be further grouped so
aab
aaab
becomes it's own subgroup.
the result ultimately becomes a tree.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Similar to a Word Search Tree (Spell Check Tree) ?
|
|
|
|
|
anyway, I'm not looking for a solution here.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Sure, but you still need to clearly communicate your rant.
|
|
|
|
|
meh. i already solved it so it's no longer renting space in my head.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Do naughty programmers dress up in Loungerie?
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
That question is just pants.
|
|
|
|
|
Speaking only for myself... no.
|
|
|
|
|
... who posts those dumb questions. I was watching the film "Jason Bourne" last night (yes, I know). At the beginning was the usual scene, a darkened room with a few people controlling the world from their laptops. As their fingers were playing over the keys I heard someone say "Use SQL to corrupt their database(s)".
|
|
|
|
|
I liked the first Bourne, I read the books and the books are very of their time.
|
|
|
|
|
Richard MacCutchan wrote: Use SQL to corrupt their database(s) Having performed my time writing SQL, yes I can see that. The best way to do this is to have inexperienced people try to "improve" the SQL code for you... that will irreparably booger up a database faster then you can say STOP! NO DON'T!
It was broke, so I fixed it.
|
|
|
|
|
|
|
Modern apps use AutoCorrupt.
|
|
|
|
|
GenJerDan wrote: Modern apps use AutoCorrupt.
Aka Windows 10 update service.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
LMAO
someone probably heard "SQL injection attack" and only remembered the SQL part.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Well, that happens in real life, so...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
|
Yeh, the silliest thing of all is the uber-elaborate GUIs that are always in movies, at least the high budget ones, when there's any sort of science involved. When, in actual fact, it's probably more likely to be black and white text output on a terminal window or something.
Though, speaking of which, have you guys seen the ad for the upcoming new Windows terminal program? It's sort of doing a double reverse spin on what I was saying above.
The new Windows Terminal - YouTube[^]
Explorans limites defectum
|
|
|
|