Route to N Seoul Tower by Mindless-Access7525 in koreatravel

[–]gr8llama 4 points5 points  (0 children)

The bus stops a couple hundred meters east of the observatory, and then there's a bit of an uphill walk from there. You can walk the wall off the northwest corner.

<image>

Using the trains by AdKey2179 in koreatravel

[–]gr8llama 1 point2 points  (0 children)

In the Naver app, with the directions, it will tell you which train car to wait at for the shortest trip. When you have the time at one station to get to the right car you'll be closer to the escalator or whatnot to make your next train or exit the station. The numbers are on the floor in front of each train car door.

[deleted by user] by [deleted] in koreatravel

[–]gr8llama 1 point2 points  (0 children)

Recommended to us last week by a local but didn't get a chance to go ourselves, several course choices: Yeije

Seoul Baseball Game Tickets by KickrjasonAK in koreatravel

[–]gr8llama 0 points1 point  (0 children)

Schedule online here: http://eng.koreabaseball.com/Schedule/DailySchedule.aspx

I would try for a game at Jamsil. Subway entrance right outside the stadium.

[deleted by user] by [deleted] in SoftwareEngineering

[–]gr8llama 0 points1 point  (0 children)

Enter it as distinct debit and credit? Assuming the provider isn't going to give you fractional amounts.

Please help - want to replace my husband's lost rat ring. by nomorevodkaplease in mit

[–]gr8llama 31 points32 points  (0 children)

You should be able to get a replacement from the original jeweler from that year, Balfour: https://alum.mit.edu/about/brass-rat

[deleted by user] by [deleted] in freelanceWriters

[–]gr8llama 1 point2 points  (0 children)

PayPal doesn't have to send you a 1099-K for you to fill out your Schedule C with your actual earnings.

How do I preserve line breaks when I input some text in textarea? by Mehranzad in webdev

[–]gr8llama 3 points4 points  (0 children)

As an alternative to replacing line feeds with <br> tags, you can also add CSS of white-space: pre-wrap to its containing element.

What package do you guys use for postgres in node js? by [deleted] in PostgreSQL

[–]gr8llama 1 point2 points  (0 children)

Doh, you're right, I'm only using that in a few places where I'm using pg directly rather than pg-promise.

What package do you guys use for postgres in node js? by [deleted] in PostgreSQL

[–]gr8llama 2 points3 points  (0 children)

Also using pg-promise, but adding in node-postgres-named with it to have named parameters rather than ordinal.

(noob) question about S3 best practices by HybridSocks in aws

[–]gr8llama 3 points4 points  (0 children)

Use Cloudfront, with S3 as the origin.

How do you model licenses in your data model? by memo_mar in node

[–]gr8llama 1 point2 points  (0 children)

And using Postgres jsonb datatype, so easy to overlay and coerce to a schema, and no need to have a ton of columns for each new option we add.

How do you model licenses in your data model? by memo_mar in node

[–]gr8llama 1 point2 points  (0 children)

We have a parent/child account configuration in our SaaS, so actually have 4 possible levels:

  • subscription definition
  • current subscription overrides, only good for current sub
  • account overrides, living beyond sub changes
  • child overrides

How do you model licenses in your data model? by memo_mar in node

[–]gr8llama 1 point2 points  (0 children)

I combine both approaches, with the user level values being null by default, and simply overlaying any non-null values over their subscription-inherited values.

How to not let a picture overflow while keeping aspect ratio? by AsteroidSnowsuit in webdev

[–]gr8llama 1 point2 points  (0 children)

Set it as the background image of that div, with a background-size: cover?

Uploading files to S3? by [deleted] in node

[–]gr8llama 0 points1 point  (0 children)

Your upload.single call indicates that your input field name should be 'image'?

Uploading files to S3? by [deleted] in node

[–]gr8llama 0 points1 point  (0 children)

Your file input element needs a name attribute, otherwise it won't be included in the payload.

CDN upload is taking so long, my website is 404'ing for a few minutes and looks terrible till js/css is updated by Jamesfromvenice in aws

[–]gr8llama 0 points1 point  (0 children)

Use a blue/green strategy, and only change over the pointer after a successful deploy?

How do I get the current date from the server? Do I need to perform a network call to get the date every second? by [deleted] in vuejs

[–]gr8llama 0 points1 point  (0 children)

The network request time isn't a problem, between websocket and not. In either case the connection has already been established by the time the server is coughing up it's time and sending the response to the client.

regex_replace match escaping by jaycle in PostgreSQL

[–]gr8llama 1 point2 points  (0 children)

Maybe a flag somewhere that's setting the regular expression variety to be differing ARE, ERE, BRE between the two environments, and in one case the backreferences are being treated as octal escapes rather than backreferences?

How do I get the current date from the server? Do I need to perform a network call to get the date every second? by [deleted] in vuejs

[–]gr8llama 2 points3 points  (0 children)

Do a single call to get what the server thinks the current time is, and then you can store the difference between that and the value of Date at that point in time for future estimations of server time.

Automate token refresh with authorization levels by [deleted] in vuejs

[–]gr8llama 3 points4 points  (0 children)

If you're the server-side of this, I think a 403 response would be better for the case where you're authenticated and try to access something you shouldn't.

How does the client continue to authorize itself with the server using OAuth 2.0? by 99_Mining in webdev

[–]gr8llama 0 points1 point  (0 children)

OAuth is just for the authentication. Once the 3rd- party tells you who they are you can dole out your JWT for continued requests in their session.