HN user

matthewking

700 karma
Posts6
Comments208
View on HN
Apple Watch 3 9 years ago

Sleep tracking would be one of my primary use cases, how accurate is it? is it useful?

At almost 1ghz slower, 2 less usb-c ports, no gpu, 1600mhz vs 2133mhz ram and only available in silver. They've gimped the non touchbar version on purpose so those of us that want a top spec MacBook have no choice but to go with it.

They call this "health tourism" and its a fairly regular subject that comes up whenever NHS budgets are discussed, in reality though I believe latest figures put it at about £300m /year (0.3% of the NHS budget).

I don't know how easy it is to do what you describe but some people evidently do it. I imagine if you're an EU citizen you can come right in but if you're non EU you might have some more difficulty.

I've worked a 6 month contract before, 3 months would have been ideal I think as after that it was starting to drag on a bit but I don't see many contracts that short. Unfortunately the company didn't really utilise my time very well until I was almost at the end of the contract. Id rather hit the ground running but I guess each contract varies.

It's hard to know what we'd all do with so much free time and I think some people would be a bit lost, but it certainly sounds like you make the most of it and live a nice lifestyle. Particularly all the outdoor activities is something id like to spend more time on myself.

Thanks for sharing!

What do you do with the other 9 months of the year? side projects? travel? Id be interested to hear how your lifestyle is with all the free time.

I've considered this approach myself too but more 6 months on, 6 months off. Scala in particular seems to pay extremely well (£600-£650 /day) so easy to make the money to live a comfortable lifestyle in 3 or 6 months per year. I think other dev contracts are usually around £450 in London which is still more than enough.

Id love a permanent 2-3 day a week job too for work/life balance but those seem non existent for devs unfortunately.

When you say for clientside you would want to stick to the full Visual Studio IDE, do you mean web clientside or clientside as in traditional desktop apps?

If you did mean web clientside could you expand on that?

WordPress on .NET 9 years ago

Not the person you asked but I also develop .NET Core on a mac. I like .NET because I can use C# which is my favourite language, and the new ASP.NET Core framework is very clean, modern and straight to the point. There's very little magic and it's performant and productive.

Dapper for data access is also fantastic for the same reasons.

I'm considering this too, Windows 10 still has some annoying UI inconsistencies but its getting there, and with the Ubuntu subsystem its viable for Linux based dev's without setting up a VM. I mean technically its closer to my target production environment than macOS is.

I haven't spent that long trying it out but managed to get a Rails 5 app up and running without much fuss, I'm with you on it being a game changer.

Coming from macOS my main issues with win10 virtual desktops were 1) the inability to save and persist my desktop configuration through reboots, 2) the inability to assign specific apps to always open on a particular desktop and 3) being able to define shortcuts, I use ctrl+1-5 on my Mac and it's become muscle memory to jump directly between desktops.

Having quickly scanned the link it looks like it may provide the key shortcuts so that's one step forward. The other two issues are probably closely related so I'm hopeful these will be possible in one form or another eventually.

I think you're confusing total rendering time, as being discussed here, with server response time. I'm getting 86ms response time from the mentioned blog (from London), and 900ms total rendering time.

I'm writing an asp.net core app, my host os is macOS.

I initially setup my project with yeoman which created the footprint for me, but after that I've been manually creating files. You're right that it would be nice if it would create the file footprint for me but its only a couple of lines to add the namespace and class so it doesn't bother me too much, especially if you're used to text editors in general (I've used both a range of text editors with scripting languages and vs.net full in the past).

You can build via cmd+shift+b on mac, I assume swap the cmd for ctrl on PC, run is F5. These require properly configured launch.json and tasks.json files. cmd+shift+p brings up the command palette which lists everything you can do and their shortcuts.

The main things that make it viable for me (and differentiate it from a standard text editor) are intellisense, find references, rename symbol (method name, variable etc) and step through debugging. Without those id probably be leaning towards full VS on Windows or more likely for my particular situation Java being that I need to deploy initially to Ubuntu.

I do like the way Project Rider is going but I've found it a little buggy when debugging, so keeping half an eye on it as it progresses for now.

What features are you missing? I've been using VS Code for 4 months now on a daily basis and can't say I'm missing anything outside of some Nuget package management tools, but I'm not sure if that's available to me and I just don't know how/where yet.

Also from the UK and I have the upmost respect for anyone that can speak a second language. I find it incredibly difficult to get beyond a base vocabulary to actually being able to use the language without sounding like a cave man. I assume there'll be a "click" moment somewhere but its hard work getting there.

I don't really have any experience with the specifics of the deal you're trying to arrange so id only be guessing, but its essentially a licensing agreement? you're licensing the company to use your software under particular terms, so perhaps research into that a little. Hope that helps.

I would recommend avoiding signing or agreeing to anything there and then, take any documentation home and think it over for a good long while before signing. If possible, have your own legal representation go over it from your side. Their lawyer is working for the companies interests, not yours. Good luck!

Spaces, the windows 10 version won't fill that gap for me until I can assign apps to specific spaces so that they always open there, as well as key shortcuts e.g. Ctrl 1 to go to space 1. Also remembering my setup through shutdowns.

Quick look - so useful.

Screenshotting (cmd shift 4, cmd shift space etc) and annotations via preview app. Windows expects me to draw highlight boxes by hand which rapidly looks unprofessional.

Using cmd shift 4 to measure pixels for web design work.

Exposé is nice, not sure if Windows has something like that, I think it does?

Spotlight was a big one for me too but I believe Windows does that justice now with Windows button search.

iMessage on desktop is actually a big deal for me, being that most of my friends and family have apple devices. Being on Windows and wanting to send someone a quick link is frustrating when you're used to having iMessage.

As others have mentioned, it's all the small things. Admittedly I haven't looked at Linux on the desktop for a while so this is mostly based on comparisons with Windows.

The confusion in your example was using OOP vs functional. The Area getter in my example could be a method, it just makes it slightly nicer to have it as a getter in C# for that type of thing.

But, the actual getter/setter is:

  public Size { get; set; }
In Ruby it would be:
  attr_accessor :size
In scala it would be:
  var size
A little more code in c# but still a fairly concise 1 liner. Which you can't say the same for in Java, unless you use Lombok of course.

But yes, overall I agree, LOC is a bad metric but we don't have much else to go on. Pure project count perhaps is a more reliable metric of language use but still has many flaws.

Yep, OP is comparing apples to oranges, and there's several strange things with the example code, but a direct translation of the original Java code provided into C# is:

  public class Square {
    public double Side { get; private set; }

    public Square(double s) {
      Side = s;
    }

    public double Area {
      get { return Side * Side; }
    }
  }
TLDR: C# doesn't actually need those ceremonial getters/setters that Java still uses, but there was no real need for that to be a public property anyway, although I have kept it that way to match the original.

To me that sounds like you're the target market for what was the Air, or what is now the MacBook. The MacBook Pro is their top of the line and shouldn't be diminishing something as important as the keyboard which people use all day for an extra mm off the thickness. They've crossed the line on form over function.

2014 13" Retina Macbook Pro on a Rain mStand alongside my Thunderbolt display. On the desk I also have a mechanical keyboard with cherry blue switches, Logitech G502 mouse and Apple desktop trackpad.

Not machine related, but very important to my setup, I have a Herman Miller Mira chair and Ikea motorised sit/stand desk, although I don't stand nearly as often as I should!

I think generally as long as you have a suitably powerful computer for your job, the peripherals and desk environment are most important.