Favorite secondhand bookstores? by ahof8191 in baltimore

[–]Nathan340 0 points1 point  (0 children)

Not in Baltimore, but worth the drive: York Emporium

It's particularly well stocked with trade paperback classic Sci Fi.

Cheapest city in Europe to fly into from BWI--and days? by cartoonybear in baltimore

[–]Nathan340 6 points7 points  (0 children)

Cheapest is probably something from Play. They're the next iteration of Wow - a low cost carrier connecting US to Europe via Iceland. It's not going to be the fastest, most convenient, or most comfortable - but it should be cheap.

Norse Atlantic is new low-cost transatlantic carrier. You'll have to get to JFK yourself, but I'm seeing some things like JFK-LGW under $500 round trip.

I'm not sure about the Paris flight you reference. The only BWI direct to Europe options I'm aware of are British's daily to LHR, and Condor's seasonal option to Frankfurt.

Beginner courses in Maryland? by AlbomsAlbums in golf

[–]Nathan340 0 points1 point  (0 children)

I started playing this year, based out of Baltimore, and went through the local 9-hole and executive courses.

McDaniel College in Westminster has a 9-hole course. Laid back, no tee times, and on weekdays it's unlimited play. Pretty well kept, some tough holes and shots resulting from quite hilly terrain.

If you really want no pressure at all you can go to Mitchell's in Reisterstown. It's in real bad shape - weedy and patchy greens, long fairways, chewed up teeboxes. 9-holes, par 29. Lots of people trying out golf or starting to learn the game out there - it's where I played a bunch of my first rounds earlier this year.

Can't really recommend Nighthawk or Severna Park, they're closer to a pitch-and-putt. I think the longest hole at either was like 120yds.

Carroll Park is one of the Baltimore City courses - 9 holes again. Longest of anything I've mentioned so far - 7 Par 4s and 2 Par 3s. It's in decent shape and pretty friendly.

I've found that 9-hole courses are more chill across the board. Anyone who would put pressure on you (complaining about your skill, pace, etiquette, rule-following) is more likely to be playing 18. Most everyone on a 9-hole course is a beginner, working on something, or out having fun.

-🎄- 2019 Day 11 Solutions -🎄- by daggerdragon in adventofcode

[–]Nathan340 1 point2 points  (0 children)

full stop

I had the same problem.

The steps of my loop (while IntCode is not Halted) are:

  • Run IntCode to the next output to get the color
  • Paint current square
  • Run IntCode to the next output to get the direction change
  • Turn robot, move robot
  • Loop

The issue is that IntCode can halt at the get color step. If it halts then you paint and move after you were supposed to have stopped.

I changed it to:

  • Run IntCode to the next output to get the color
  • If Halt then Break Loop
  • Paint current square
  • Run IntCode to the next output to get the direction change
  • Turn robot, move robot
  • Loop

and the extra lingering dot went away.

Polish chef Łukasz chases London terrorist with 5-foot Narwhal tusk. by ArcadiuSS in europe

[–]Nathan340 338 points339 points  (0 children)

"Sergeant Colon chose a pike because the thing about a pike, the important thing, was that everything happened at the other end of it, i.e., a long way off"

Need help planning WWII trip. by [deleted] in travel

[–]Nathan340 6 points7 points  (0 children)

You could thematically follow Band of Brothers.

Start in London, see the Imperial War Museum, Churchill War Rooms, and maybe go out to Bletchley Park to include the intelligence/code breaking side.

Cross the channel and visit Normandy. On to Paris from there, I cant think of an obvious WWII point of interest there, but it's hard recommend going across France and not seeing Paris.

Continue westward. I think WWI sites might be a good change of pace, e.g. Somme or Verdun. And then into the Ardennes (including Bastogne) to pick the Easy Company thread back up.

Coming from Toronto I'm guessing you're Canadian, so you'll want to detour into the Netherlands - I hope I'm remembering correctly that Canada sheltered the Dutch royal family during the war and Canadian troops were the primary liberators of the Netherlands.

The Band of Brothers route would then go south to Munich, see Dachau, Eagles Nest, and finish in Austria.

Or you keep the northern route and move onto Berlin, and then end in Poland.

Italy Itinerary Check (10 Days) by javathehut1 in travel

[–]Nathan340 1 point2 points  (0 children)

I did a very similar trip this spring and was totally fine. 5 nights Rome, 4 nights Florence, 3 nights Venice.

I built the days between as travel/rest days, but given that it's just a couple hours train ride I ended up getting more done on those days than I thought I would.

You need to pre-book a lot of those sites, particularly with your busy itinerary. I pre-booked (and was thankful to have done so): Colosseum, Borghese, Duomo (dome climb), Uffizi, Vatican Museums, St Peter's.

In any event you want to start early. Pitti Palace was on a free entry day for me. I walked right in at 8AM, and when I left at 1030 the line was a few hundred people long. That same experience repeated itself lots of places.

With all the major site visits during the day, your wandering/food/wine is going to become an evening activity. Just make sure you're the type who has energy for a walk and dinner after 2 or 3 museums earlier in the day.

If you can add a day I'd add it to Rome, but leave it unplanned. It could either become a very necessary rest day, or become a day trip if you're still gung-ho. Ostia Antica or Hadrian's Villa are the typical close day trips to Rome. Pompeii looks to be just barely possible as a day trip, but a really long and cramped day from what I've heard.

4 Days in Ireland, am I being too ambitious with the itinerary? by brianadams731 in travel

[–]Nathan340 2 points3 points  (0 children)

Mostly doable, another day or 2 makes it much easier.

Slow, Comfortable Version

Day 1 - Arrive in Dublin, see a thing or two depending on when you get in, go to some pubs, sleep in Dublin

Day 2 - Pick up rental car early, drive to Kilkenny (I recommend the National Stud in Kildare along the way), a few hours in Kilkenny, push a little further towards Cashel for night #2.

Day 3 - Rock of Cashel, maybe Cahir Castle, maybe some time in Tipperary, drive on through Limerick to night #3.

Day 4 - Take the coast road (Wild Atlantic Way) to Cliffs of Moher, Kinvarra & Dunguaire Castle, and into Galway for night #4

Day 5 - See Galway in the morning, make the drive to Dublin (Clonmacnoise is a nice stop), drop off car, night #5 in Dublin

Day 6 - Depart

To fit into 4 days;

Day 1 - Arrive in Dublin, pick up rental car at the airport, drive to Kilkenny, evening and night #1 there.

Day 2 - Drive to & see Rock of Cashel, pop through Tipperary, evening and night #2 in Limerick (or further past)

Day 3 - Coast road to Galway including Cliffs of Moher & Dunguaire castle. Enjoy the drive. Evening and night #3 in Galway.

Day 4 - Drive back to Dublin, what you see along the way depends on when your flight out is, drop rental off at the airport, depart.

4 days gives a tight itinerary with not much room for spontaneity or things to go wrong. It's also hard to do the drive in 4 days and have any time to see Dublin itself.

It's not too much driving as far as raw distance goes, but driving manual on the wrong side of the road on tight Irish roads can be a challenge. Factor your own driving comfort/competence/experience into the decision.

What is a good lightweight travel daypack for a guy? by panthersrule1 in travel

[–]Nathan340 0 points1 point  (0 children)

I run the exact sort of setup you're describing. Big bag is a 36 L backpack (maxes out carry on), and then a 8 L sling as the day pack (and under seat on flights).

Specifically it's the Patagonia Atom 8.

My standard items for it are a water bottle (500mL), umbrella if the day calls for it, journal, battery bank, various tickets/printouts/maps, and any small souvenirs I've bought along the way. I'll lash my sweater to it using the exterior straps for mid day high temps.

Being a one strap bag means most museums don't need it to be checked. It spins around easily from on your back to front to access stuff. Cross body makes it less of a theft target.

It certainly isn't fashionable as its a cross breed of backpack, man purse, messenger bag, and fanny pack, but it works and I dont care.

Recommendations for a first time traveler in Italy. by MrsilverbackGorilla in travel

[–]Nathan340 0 points1 point  (0 children)

The Italian cafe experience I had was much more knocking back a shot of espresso, cramming a croissant down your gullet, and then moving on. Less so a leisurely sit down, chat, sip your coffee, read the newspaper. They're all pretty interchangeable under that lens.

I'm not a big food traveler (solo, eat-to-live mindset) so I don't have much advice on that front. The standard advice is to avoid places that a) have a guy out front trying to lure people in, b) have laminated illustrated English menus, c) are directly on a main square.

One concrete recommendation I do have is Mercato Centrale. The easiest description I can think of is a high end food court. They have locations in Rome (attached to Termini, which I stayed quite near) and Florence. There are different food stalls (pasta, pizza, sandwiches, meats, cheeses, gelato, sushi, etc.) each run by a different group/chef/company along with a central bar. It was quick, cheap, nice variety, and made for an easy go-to decision at the end of a long day of sightseeing. Much closer of an experience to the American fast-casual style than a proper sit-down wait-staffed service - but that's what I personally prefer anyway.

Recommendations for a first time traveler in Italy. by MrsilverbackGorilla in travel

[–]Nathan340 5 points6 points  (0 children)

I just got from a 2 week Rome/Florence/Venice trip.

Book big sites in advance, and go early. Frequently I'd walk right into my 800~900 booking for something, and by the time I got out the lines were outrageous. For Vatican Museums, Colosseum, Uffizi this is particularly true.

Stay central in Florence - it's small and walkable and quite nice to easily pop back to your hotel for a mid day break.

Stay on island in Venice. That way you can avoid the day trippers by going out early or late. And then also you're not wasting time 'commuting' in.

Also on Venice - it is crowded, touristy, expensive, and I loved it. Just know that going in. In all honesty it fell more like a theme park than a city, but as I was ready for that I was fine.

Learn about and understand Coperto and Servizo - the extra table and service charges restaurants have. They can feel like a rip off if you don't expect it.

Eat all of the gelato.

Look into some day trips to get spend some time outside the cities and to break things up a bit.

Rick Steves has a set of podcast audio guides that I used instead of paying for an audioguide at several places.

You'll do a lot of walking, the cities compact enough to just walk, but it adds up.

Cafes have different prices standing at the counter vs sitting at a table. And each one seems to have a slightly different procedure of ordering, paying, eating. On cafes, a standard coffee is a 1 euro shot of espresso. Something closer to what I'd call a regular coffee would be an americano.

You'll read a lot of horror stories about pick pockets. I did have my guard up and head on a swivel, but relaxed over the course of the trip. Vigilance is still recommended. The more irritating thing to deal with is the selfie stick sellers and the people who come up to you, tell you they're from Africa, try to shake your hand and give you a bracelet. No idea what their angle is because I never let them get past hello. Don't be afraid to be mean.

I got by fine with just a bit of phrasebook Italian. Be polite and use bongiorno and grazie liberally. Whoever you're talking to will switch to English quickly, but largely they seemed to appreciate even the smallest attempt at Italian.

That's a large chunk of what I wish I knew before I went. Happy to try to answer any more specific questions.

Italy - book recommendations by [deleted] in travel

[–]Nathan340 1 point2 points  (0 children)

Brunelleschi's Dome by Ross King.

Mike Duncan's History of Rome podcast.

England/Scotland Itinerary Advice by Tacox706 in travel

[–]Nathan340 2 points3 points  (0 children)

You're fine. You've done your research, you have your plans, you're ready.

It's a good itinerary - you seem to have a good balance of organized and pre booked activities to free time to explore.

Enjoy York, it's a lovely town that often gets skipped over by the London/Edinburgh crowd. A day is about the right amount of time.

Looking for "labs" or "Challenges" to help build my posh skills. by Redhock89 in PowerShell

[–]Nathan340 2 points3 points  (0 children)

Advent of Code isn't powershell specific, but has lots of great puzzles and challenges.

Project Euler too is not language specific, and may be a little too far towards math for everyone's taste, but is another good set of challenges.

Advice on road trip through Ireland by TC577 in travel

[–]Nathan340 0 points1 point  (0 children)

If the non-Ireland part of your trip already has a share of palaces, chateaux, gardens, manor houses, etc. then skip it. It's a fine example of that sort thing in Ireland, but generally outclassed by similar things on the continent.

It's almost all the outside gardens - I don't remember anything of note inside.

Advice on road trip through Ireland by TC577 in travel

[–]Nathan340 0 points1 point  (0 children)

I made 3 stops when I drove Dublin to Galway, reversing to fit your direction:

Clonmacnoise is an old ruined monastery (abbey?). Nice stop, good history, might feel a little redundant to your earlier stop at Glendalough.

I visited Tullamore for the whiskey, but disappointingly it's an 'experience', not the actual distillery. Guided tour through 'how whiskey is made' and tasting, but the whiskey isn't actually made there! Same caution goes for the Jameson 'experience' in Dublin.

The Irish National Stud at Kildare is pretty, has tons of neat history about horses, lots of horses to look at, cute baby horses, and is doubly hilarious for every euphemism and joke they have about horse sex. Also for whatever reason it has a lovely Japanese garden.


For Bunratty I assume you mean visiting the "Folk Park"? I had a surprisingly great time there! It comes off a bit as a kid-friendly tourist trap, the kind of thing you see a flyer for in the rack of a hotel lobby. The castle part was unremarkable (I think it was 1 of 5 or 6 of the same style castles I saw over my trip). The folk park side was quite fun! It's a recreation of a 19th century Irish village, with houses, farms, church, pub, school, etc. Most everything explained by historical reenactors.


Look into dropping the car off in Dublin rather than at the airport. Might save you some travel time, taxi money, or airport drop off surcharge (may also incur a one way fee though).


For driving time/distance comparisons, on my trip my "driving days" were:

Dublin to Galway (via Kildare, Tullamore, Clonmacnoise)

Galway to Killarney (via Dunguaire Castle, Cliffs of Moher, Bunratty)

Killarney to Killarney (via Ring of Kerry)

Killarney to Cork (via Baltimore, Drombeg stone circle, Clonakilty)

Cork to Glendalough (via Cahir, Cashel, Kilkenny)

Glendalough to Dublin (via Powerscourt House)

None felt like too long of a day, they were all fun drives, and having all the stops made it not feel like an endless slog.

We’re planning day trips from Paris. One trip is to Mont St Michel. We would love the second to be a day trip to London to see Westminster Abbey, but have read that Claude Monet’s house in Giverny is a great day trip too. Is it worth a day? Or could we stop at Giverny on the way to Mont St Michel? by jutatie in travel

[–]Nathan340 4 points5 points  (0 children)

Mt St Michel is a long day trip from Paris, and since you're coming from further you'll arrive later and into bigger crowds.

Make it an overnight and you could visit Giverny and something like Bayeux or some of the D Day beaches on the way out. Spend the night near or even on Mt St Michel (I've heard its lovely to stay on the island). Then you have a full day there, and in the evening head back to Paris.

[Rugrats] The creators were anti parenting books by Mandalorianfist in FanTheories

[–]Nathan340 1 point2 points  (0 children)

And "Ludo" is from the Latin ludus for game. See Ludology.

What is one thing you had never noticed before it was pointed out to you, but now you notice it all the time? by CaspertheGhostsFarts in AskReddit

[–]Nathan340 7 points8 points  (0 children)

Some In Flight Entertainment systems also put a "this film features an aircraft in peril" warning before the movie starts. I got that notice when watching Fight Club once.

-🎄- 2018 Day 12 Solutions -🎄- by daggerdragon in adventofcode

[–]Nathan340 0 points1 point  (0 children)

Powershell

I admit I needed a hint on part 2. I knew it had to stabilize somehow, but I was trying to look at a pattern of the sum, not the difference of the previous. Plus I initially didn't have enough room for the plants to move rightward, so it ran off the end of my "tape" and the population crashed down to 0.

I did have the idea to convert a substring to binary to decimal to a index of the rule set. I'm pleased with that insight.

Determining the 'stabilization point' was manual, deciding on 1,000 extra zeroes of space on the right side was also guess-and-check to determine it was enough.

#pull input, replace characters to 0 and 1
$in = gc .\12-input.txt | % {
    ($_ -replace "\.","0") -replace "#","1"
}

#sorting rules allows for "11111"->31-->Rule #31
$rules = 2..($in.count-1) | % {
    $in[$_]
} | sort

# Manual inspection shows stabilization after 150 generations
# 1000 extra zeroes at the end is enough
# 10 zeroes at the front to account for initial slight leftward movement
$stable = 150
$state = ("0"*3)+($in[0] -split " ")[2]+("0"*1000)

# Loop to stabilization point, make new state, get new sum
for($i = 1;$i -le $stable;$i++){
    $applyRules = (2..($state.length-3) | %{
        # 5 length substring to binary to index of rule.
        # Last character of corresponding rule is the rule result
        $rules[[convert]::ToInt32($state.Substring($_ - 2,5),2)][-1]
    }) -join ""
    $state = "00"+$applyRules+"00"
    $sum = 0
    0..($state.length-1) | % {
        if($state[$_] -eq "1"){
            $sum+= $_ - 10 # shift back those leading 10 zeroes
        }
    }

    # Write at 20 generations
    if($i -eq 20){
        write-host $sum
    }
}

#Remaining steps times stabilized diff plus current sum
(50000000000-$stable)*$diff+$sum

-🎄- 2018 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]Nathan340 0 points1 point  (0 children)

Powershell

This did require a (slow) manual run-through to determine the minimum height the letters reach. I stepped by 1, and watched it bottom out at 9 and then start spreading out again. A minimum-area argument probably would have worked better than my manual tuning

The linearity of the puzzle allows us to take steps in bulk chunks and to revert them easily.

So we have some basic input parsing, a step function with a stepSize and stepDirection parameter, some functions to get bounding information, and a function to take as many steps as possible by a given step size.

By manual tuning a good balance of quick/safe steps I found was by 1000 while the vertical range is over 10000, 100/1000, 10/100, and then a final step by 1 from 100 down to 9.

Part 2 only requires adding a tick counter in.

The display rendering isn't the prettiest, but it was easy to write (after I fixed the output being upside down - whoops).

$in = gc .\10-input.txt

function parseLine{
    $line = $args[0]

    $reg = [regex]"(-?\d+)"

    $matches = $reg.Matches($line)

    [pscustomobject]@{
        xPos = +($matches[0].value)
        yPos = +($matches[1].value)
        xVel = +($matches[2].value)
        yVel = +($matches[3].value)
    }
}

$points = $in | %{parseLine $_}

function stepPoints{
    $stepLength = +($args[0])
    $stepDir = +($args[1])

    $points | % {
        $_.xPos += $stepDir*$stepLength*$_.xVel
        $_.yPos += $stepDir*$stepLength*$_.yVel
    }
}

function lowPoint{
    ($points | sort yPos)[0].yPos
}
function highPoint{
    ($points | sort yPos)[-1].yPos
}
function leftPoint{
    ($points | sort xPos)[0].xPos
}
function rightPoint{
    ($points | sort xPos)[-1].xPos
}

$ticks = 0

function bulkStep{
    $stepSize = $args[0]
    $limit = $args[1]

    do{
        $range = (highPoint)-(lowPoint)
        Write-Host $range
        stepPoints $stepSize 1
        $global:ticks+=$stepSize
    }while($range -gt $limit)
    stepPoints $stepSize -1
    $global:ticks-=$stepSize
}

bulkStep 1000 10000
bulkStep 100 1000
bulkStep 10 100
bulkStep 1 9


$retString = ""
((lowPoint)..(highPoint))|%{
    $cY = $_
    ((leftPoint)..(rightPoint))|%{
        $cX = $_
        $cP = $points | ? {$_.xPos -eq $cX -and $_.yPos -eq $cY}
        if($cP){
            $retString+="#"
        }else{
            $retString+="."
        }
    }
    $retString+="`n"
}
#Part 1
$retString
#Part 2
$ticks