News for hackers. Stuff that matters.

chrismbarr

Re:Angular v8.0 on Wednesday May 29, 2019 @10:56AM (#20040924)
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!
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...
Re:I gave Amazon a key to my house and regretted it on Thursday December 07, 2017 @03:40PM (#15873924)
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)
Re:VS Code Roadmap 2018 on Wednesday November 01, 2017 @07:14AM (#15600192)
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!
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.
This assumes there are Linux users that actually want to use the Edge browser though
Re:Silent 10-Minute Track Reaches Top 100 on iTunes on Tuesday August 15, 2017 @02:56PM (#15021221)
I believe this is an issue with car audio/USB players, not iPhones in particular. I might be mistaken though.
Re:Silent 10-Minute Track Reaches Top 100 on iTunes on Tuesday August 15, 2017 @02:55PM (#15021214)
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.

Re:Night Shift Mode in macOS Sierra 10.12.4 on Wednesday January 25, 2017 @09:30AM (#13481568)
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.

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/

Re:Native virtualization for macOS on Wednesday November 09, 2016 @08:34AM (#12910087)
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.

Re:Why Spotify’s Discover Weekly is getting really boring? on Tuesday October 25, 2016 @09:13AM (#12787638)
Good tip, thanks! i just found the Hype Machine "profile" on spotify and now I'm following their playlists.
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.
Re:Microsoft Paint Preview [video] on Monday October 10, 2016 @08:12AM (#12676581)
This guy is asking the important questions here.
Re:Uber starts self-driving car pickups in Pittsburgh on Wednesday September 14, 2016 @11:58AM (#12498256)
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.
Re:Bootstrap v3 declared stable and v4 will be out soon on Tuesday September 06, 2016 @07:59AM (#12435281)
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.

Re:Textures.js – SVG patterns for Data Visualization on Thursday September 01, 2016 @08:13AM (#12404629)
Both this and Textures look really slick, I love them both!
Re:A few HTML tips on Wednesday August 24, 2016 @09:32AM (#12351849)
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>
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.
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

ok, sure, it's configurable. But that box is checked by default.
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.
Re:Test Driving New York City's New Micro Apartments on Monday June 13, 2016 @08:36AM (#11893165)
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.

Re:Slack Connectivity Issues on Friday June 10, 2016 @02:15PM (#11878589)
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.
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!
Re:On the (Small) Number of Atoms in the Universe on Thursday April 28, 2016 @03:25PM (#11591322)
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.
Re:Every shot Kobe Bryant ever took on Thursday April 14, 2016 @08:16AM (#11495965)
Too bad you can't ONLY show the missed/made shots, only both.
Re:Amazon Echo Dot on Thursday March 03, 2016 @10:56AM (#11217601)
"Alexa, order 12 gallons of milk"
Re:Protection from Adobe Creative Cloud Bug on Monday February 15, 2016 @07:47AM (#11103037)
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]);`
Re:Physicists Detect Gravitational Waves, Proving Einstein Right on Thursday February 11, 2016 @11:23AM (#11081072)
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.

Older »