Better HN
topnewbestaskshowjobs
Log inSign up

chrismbarr

156 karma · joined Jun 2, 2014 (12y ago) · 54 submissions

Submissions

comment 7y ago · link · parent

Literally just finished a huge re-write of an angular 4 app to latest Angualr 7 today, to revise the UI and improve everything. As I was about to merge it in I see this... time to upgrade!

comment 7y ago · link · parent

I also re-read this several times trying to make sense of it. I kept looking for a early 1900's date somewhere I must have missed...

comment 8y ago · link · parent

If you want to use Amazon Key (what this article is about) then I think the only lock you can use is this specific one. Any other keyless lock system won't work from Amazon deliveries like this (at least as far as I can tell)

comment 9y ago · link · parent

I haven't used Sublime in years now, but that was one huge feature I think about and miss often when in VSCode. I'm glad VSCode does have the current implementation of multiple cursors, and the way Sublime did it differently is subtle, but man it makes a huge difference!

comment 9y ago · link · parent

I'm on an iPhone 6, before 3D touch was introduced. Usually a long press is equivalent, but not here apparently. I just cannot get to this setting.

comment 9y ago · link · parent

This assumes there are Linux users that actually want to use the Edge browser though

comment 9y ago · link · parent

I believe this is an issue with car audio/USB players, not iPhones in particular. I might be mistaken though.

comment 9y ago · link · parent

I recently deleted all my iTunes music since I listen to everything on Spotify or my podcast app (Downcast) now. I also updated to the iOS 11 public beta. Around the same time my car stopped playing anything via the USB cable, the car just said "no song" so I assumed it was an issue with the beta.

Literally yesterday I read about this "fix", so i re-downloaded the Music app and put just one song on it... yep it works!

Car players apparently assume you will only ever play music from the "default" library/app so when you connect it and it sees an empty library index, it assumes nothing can ever be played and just stops you there.

Very dumb.

comment 9y ago · link · parent

You can invert the screen colors.

System Preferences > Keyboard > Shortcuts, look under "Accessibility" for "invert colors"

You can also assign this to a hotkey to quickly toggle it on/off.

comment 9y ago · link · parent

Why is this at the top of HN right now? It's still in alpha. It's a good alpha and I've been using it on some projects, but I think some people might be mislead that this is the final release with the "4.0" in the title.

The most recent version is alpha 6, and it sounds like they are shooting for their first beta version next: http://blog.getbootstrap.com/2017/01/06/bootstrap-4-alpha-6/

comment 10y ago · link · parent

If you're going to install a 2nd OS on your Mac for gaming purposes (where you want as much performance as possible) you might as well just dual boot it with BootCamp.

I've not used this before, but it sounds like it's fast, but you'll still have the overhead of running 2 OS's at the same time.

comment 10y ago · link · parent

Good tip, thanks! i just found the Hype Machine "profile" on spotify and now I'm following their playlists.

comment 10y ago · link · parent

I remember seeing my dad drive his brand new BMW 5 series with a beautiful widescreen display in the dash. The screen has a little shelf under it, so it was the perfect place to set his iPhone with the directions he actually wanted to follow. The built in GPS essentially provided the same directions, but the UX of the phone apps and the audible directions are just so much better.

comment 10y ago · link · parent

This guy is asking the important questions here.

comment 10y ago · link · parent

Except now those people who would normally be drivers now get zero dollars from Uber. I do agree with you that this is the way for the future and I'm all behind it, however doing this does cut out jobs (eventually) for a lot of drivers. I don't think that's necessarily a bad thing, and I suspect there will always be at least some human drivers. I live in a small town and I really couldn't see them justifying the cost of this here. Where I live there's currently one 1 or 2 uber drivers anyway, and they aren't always active and I just have to call the regular taxi company.

comment 10y ago · link · parent

It's true and i do agree with this sentiment, but when I use it for projects I use the SCSS source files so that i have the ability to simply comment out the `@include`'s in the main file for the features I won't be needing. Bootstrap does do a lot, but so far i've never run into a case where a single site needed much more than the basics like the grid, forms, buttons, etc.

Using the LESS/SCSS source also allows me to change the variables that all the spacing and colors are based on, which allows for the site to be visually tweaked so it doesn't look like your standard vanilla bootstrap site.

comment 10y ago · link · parent

Both this and Textures look really slick, I love them both!

comment 10y ago · link · parent

Attributes can be added to make screen readers ignore certain html elements like icons for exactly this reason.

    <i class="fa fa-pizza" aria-hidden="true"></i>

comment 10y ago · link · parent

Maybe initially, but that `any` type really defeats the purpose of having types in the first place. Where I work we have several 100% TS apps and we've banned the `any` type except for very rare exceptions. It's always better to define a type so that it can be easily used elsewhere, and it also helps prevent typos.

comment 10y ago · link · parent

Yes! We have several 100% TypeScript applications and we've found TSLint to be invaluable for maintaining code quality - http://palantir.github.io/tslint/

You can ban the `any` type along with lots of other rules. You can also write your own custom rules, or implimnet rulesets by 3rd parties like Microsoft: https://github.com/Microsoft/tslint-microsoft-contrib and ESLint: https://github.com/buzinas/tslint-eslint-rules

comment 10y ago · link · parent

ok, sure, it's configurable. But that box is checked by default.

comment 10y ago · link · parent

One thing to note: When the developer tools are opened Chrome will temporarily disable the cache. When the video loops it would normally just reach into cache and re-play the file that was already downloaded. However, with devtools open it will probably re-download all the files again.

comment 10y ago · link · parent

As a non New Yorker that price for the square footage is astronomical to me! I live in a small rural town in Georgia and I pay $890 a month to rent a 1618 sq foot house (+ a large front porch). The house is over 100 years old and it for sure has it's quirks, but for the price it's great. I can live in this house for 3-4 months for the cost of 1 month in that apartment which is about 1/5th the size!

I know that New York salaries are typically higher to compensate, but I work remote for a company as a front-end designer/dev and make a good living without having to pay "big city" prices. I get the appeal of living in a big with though, Atlanta is near by and I love visiting; but I greatly prefer saving my money and/or spending it on things other than expensive rent.

comment 10y ago · link · parent

Not for me! I was literally in the middle of working on a Slack integration. At least now I know I wasn't crazy when it seemed like only half the requests I made generated a bot message.

comment 10y ago · link · parent

You are correct, it seems to be missing a word. I am a native English speaker and I missed that the first time I read it!

comment 10y ago · link · parent

A friend of mine made a tool that did exactly this, but with Haikus instead. He had a dictionary of syllables, and then just iterated through the syllables (following the rules of a haiku). You can type in a haiku and find its index, or just iterate through the indices to see the (mostly nonsense) generated haikus.

comment 10y ago · link · parent

Too bad you can't ONLY show the missed/made shots, only both.

comment 10y ago · link · parent

"Alexa, order 12 gallons of milk"

comment 10y ago · link · parent

Sounds funny, but you are sadly correct. Some junior (or even an experienced) dev just took the shortest route to delete the file that was always listed first on their computer. `deleteFile(files[0]);`

comment 10y ago · link · parent

For someone like me who knows next to nothing about this, that video was extremely well produced and it explained everything i was wondering about.
12