@WayneWerner booooo. I once got really frustrated at a unit test that was failing and I couldn't spot the difference. So I finally put it in to the interpreter to compare the two strings and just show me the diff....it was one frackin' character, similar to your string. high five.
That's nice, but it matters more in js compared to other languages. Maybe a bit of both? Like color warmness based on scope but different colors within that range for each variable
Since I read and write upside down the un thing is even trickier. I didn't figure out the actual problem was until I created myself a fnord.txt to see if that worked.
@WayneWerner that reminds me of the TED talk about the guy who reversed his bike's handlebars. He couldn't ride a normal one after that. However, his young kids could switch back and forth easily due to the neuroplasticity of youth.
"I guess you can get her a gift card, but it would be better to get one for {place at the mall that only sells gift cards at the mall, and not anywhere lower-traffic like Target or Wawa}"
@Kevin Oh. That can actually work out well. Because usually you can buy those at the information kiosks in the shopping mall, and they have a few of those scattered around. So the chances for smaller lines and easier exit is much higher than going in to <store>
I hope that when everyone is disappointed by the gifts I got them, they remember that I'm chronically bad at doing things that should be simple for ordinary humans, and temper their emotions accordingly
I would have framed it, but you can't frame a gif. Well, you can if you buy one of those expensive digital frames, but I'm not willing to spend that much on you. I feel like this is going really well.
You're welcome. And if you don't have the frame hung prominently somewhere in your home when I visit six months from now, I'm going to be quietly hurt. I won't say anything, but it will never be the same between us again.
@KevinMGranger Then I can just f5 to save, and f9 to quick load? As someone who did pickpocket and one-handed thief in skyrim, I would use that way too much
@AnttiHaapala one of the comments under the video says:
> When I was on an Erasmus exchange in Finland, one of my professors told us why Hungarian and Finnish were similar. There once was a group of nomads that travelled through Europe. They once saw a signpost reading "to the south you will find great climate, good wines and plenty of peoples to pillage". Some of the nomads could read, and they became known later as Hungarians
the only things that I have noted are similar between Hungarian and Finnish right now are: a) vowel harmony, b) agglutination for tenses, moduses, grammatical cases, c) some random words that are fewer than Finnish has in common with any other languages, which is almost as much as by accident, d) attributes in noun phrases match in case and number with the nouns
that's about it.
I do not understand a single word of Hungarian by knowing Finnish.
@AnttiHaapala if you just look at the numbers, it can be a statistical fluke, but come one, vesi/víz, kala/hal? When all the others use so different words?
@AnttiHaapala well it surely solves the camel vs snake case problems: instead of beautiful=0, more_beautiful=1, most_beautiful=2 it will be szep=0, szebb=1, legszebb=2
There are numerous regular sound correspondences between Hungarian and the other Uralic languages. For example, Hungarian á corresponds to Khanty o in certain positions, and Hungarian h corresponds to Khanty x, while Hungarian final z corresponds to Khanty final t. These can be seen in Hungarian ház ("house") and Khanty xot ("house"), or Hungarian száz ("hundred") and Khanty sot ("hundred").
Hungarian and Khanty are closely connected, either genealogically or as part of a language area. The distance between Hungarian and the Finnic languages is greater, but the correspondences are also regular...
for row in reader:
if barcode in row:
cost=float(row[2])
price=quantity*cost
total=total+price
receipt.append(barcode+' '+row[1]+' '+str(quantity)+' '+row[2]+' '+str(price))
numofitems=numofitems+1
if barcode not in row:
receipt.append(barcode+' '+'Product not found')
found_value_in_any_line = False
for row in reader:
#do stuff with rows here...
if some_value in row:
found_value_in_any_line = True
if not found_value_in_any_line:
#do thing here...
(This is all assuming that you can check for the presence of the value using the in operator, which may or may not be the case depending on the structure of reader)
BigCorp's policy was "everyone uses the Internet for personal purposes and everything we tried to stop it didn't work, so just... Try to keep it from becoming a Problem, ok?"
here http://pastebin.com/x4wXce3E i have done here for few letters('d','s') can someone tell me way that how do i do it for all words available in string ?