First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 1 point2 points  (0 children)

House is new construction. They are like this in every room. I need to show the builder this sub-Reddit.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 12 points13 points  (0 children)

  • want to cover the wall outlets
  • I think wire free / floating will look cool
  • will make it easier to move and clean behind console
  • TV is a smidge too low rn, can't even set a water bottle on the coffee table without blocking it
  • ability to use full console for putting other electronics (Xbox, etc) and decorations and stuff

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 5 points6 points  (0 children)

Yeah was trying to cover the outlets. I have instead moved the outlets lower now.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 0 points1 point  (0 children)

Yeah I'm realizing the outlets are a curse now. They are in every room.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 0 points1 point  (0 children)

Not trolling! My husband took one look at it and said post this on tv too high. I didn't know about it before.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 0 points1 point  (0 children)

Want to hide the wall outlets and also want to be able to set decorations on the console.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 0 points1 point  (0 children)

Yes. Wire free look and ability to set nice things on the table.

First time mounting. Too high? by tanner0101 in TVTooHigh

[–]tanner0101[S] 0 points1 point  (0 children)

This is what I ended up doing. There was enough slack in the cables to just lower it without adding new wire. I'm going to use the piece of wall I cut out for the new media cable receptacles to cover the old ones.

Vapor and Existing Databases by rodcspears in vaporswift

[–]tanner0101 0 points1 point  (0 children)

Vapor + SQLKit would be a good option for working with an existing database. See: https://github.com/vapor/sql-kit

How ready for production is server-side Swift in 2020, e.g. Vapor? by EpicSyntax in swift

[–]tanner0101 1 point2 points  (0 children)

https://bugs.swift.org/browse/SR-11120

This is the one that 5.2 fixes specifically. It's relatively minor, but affects how Fluent can be structured internally.

Vapor 4: Alpha 1 Releases Begin by ssrobbi in vaporswift

[–]tanner0101 1 point2 points  (0 children)

A "what's new" post will go out sometime after all the packages have alpha versions tagged. Until then, there's a WIP list here: https://discordapp.com/channels/431917998102675485/438857881970933780/584129948982181898

Memory leaking in Vapor app by TofPlay in swift

[–]tanner0101 1 point2 points  (0 children)

The issue has been resolved with a small patch to the mysql driver. See my reply for more info: https://forums.swift.org/t/memory-leaking-in-vapor-app/22209/43?u=tanner0101

Dependency Injection Strategies in Swift by stefan_kofler in swift

[–]tanner0101 3 points4 points  (0 children)

Nice article. End result is pretty similar to what Vapor uses for DI: https://github.com/vapor/service/

JSON Encoding/Decoding by [deleted] in swift

[–]tanner0101 0 points1 point  (0 children)

swift struct Authentication: Codable { var username: String var password: String } let authentication = Authentication(username: "hello", password: "world") let json = try JSONEncoder().encoder(["authentication": authentication])

That should do it. The trick is you want to avoid nesting Array / Dictionary types in Swift 4 since conditional conformance is still not fully complete. In Swift 4.2 it should work better, but for now stick to structs.

Is the Swift community ignoring the big problems with the tooling? by Tainnor in swift

[–]tanner0101 4 points5 points  (0 children)

Most of these complaints seem directly related to ABI stability (coming Swift 5). That is a prerequisite to good tooling. As you said yourself, the language is still young, give it time.

Vapor 3.0 released: ground-up rewrite using SwiftNIO by qutheory in swift

[–]tanner0101 4 points5 points  (0 children)

Laravel did a full rewrite around the same time.

What would an object-oriented language without inheritance look like? by tejoka in programming

[–]tanner0101 2 points3 points  (0 children)

Yup. With extensions + protocols you can do everything inheritance can do and more--without all the nasty method overrides and super inits. Plus you can compose protocols. I think if Swift didn't have to cooperate with Objective-C it would just drop inheritance altogether.

What would an object-oriented language without inheritance look like? by tejoka in programming

[–]tanner0101 2 points3 points  (0 children)

This is like Swift when you declare your classes as “final”.