HNHacker News
TopNewBestAskShowJobs

JamesMcMinn

1,830 karma · joined November 8, 2012

submissionscomments
JamesMcMinn··on Scotland to seek second independence referendum
There are almost continual attacks on Sturgeon from Unionists in Scotland (and from England) - read any of the comment sections on the BBC (it doesn't even have to be about Scotland...) and you'll see a lot of hate for her - everything from claims that she's making a power grab for herself, to calling her one of the krankies. It's a sad state of affairs. Having said that, I think most people would agree she's one of the few British politicians delivering clear leadership at the moment, and for whatever reason, people don't seem to like that coming from her.

I've not heard much, if anything positive about May, but Davidson is generally highly regarded, even if very few actually vote for the Tories in Scotland.

JamesMcMinn··on AMD Zen and Ryzen 7 Review: A Deep Dive
Give compilers some time and the optimizations will be "free" to developers.

Besides, if your application is one where performance is a serious issue, then you are going to spend some time optimizing rather than adding features. For some applications, performance is a feature.

JamesMcMinn··on Show HN: A Directory of Tech Companies, Events, News, Tweets etc in Scotland
Glad to hear Skyscanner are on the list, they've been one of the best things to happen to the Scottish tech scene, both in terms of raising its profile and sponsoring (and hosting) many of the meetups in both Glasgow and Edinburgh.

I'm a founder of a spin-out called Scoop Analytics [1] from the School of Computing Science at University of Glasgow. Skyscanner has been incredibly generous and have recently given us and a number of other student-led startups from the School access to space in their Glasgow office to work from. If that doesn't demonstrate their commitment to improving the Scottish tech scene, then I don't know what does.

(We're at the bank of desks next to the Chill Zone if anyone from Skyscanner wants to come and say Hello!).

[1] http://scoopanalytics.com

JamesMcMinn··on Why You Shouldn’t Use ReactJS for Complex Projects
You don't architecture you project around React - you simply fit react in wherever you want to render the UI. React has a very small API, most of which are simple lifecycle methods for dealing with changes in the state of a component [1].

You tell React that you'd like to Render component X inside DOM element Y, and that's really all React does. There's no architecturing your project around React.

[1] https://facebook.github.io/react/docs/react-component.html

JamesMcMinn··on Why You Shouldn’t Use ReactJS for Complex Projects
I don't think the author of this article really understands what React is and what it is not. They repeat several times that React is a framework - it is not. React is a library, one which you can use to render components and build interfaces. It doesn't claim to be a Framework for handling data, and making comparisons between the number of lines required to write tiny TODO applications isn't exactly convincing when the argument is that you shouldn't use React for complex projects.

The author writes off solutions such as Redux which are designed to solve nearly all of the "problems" the author assigns to React because they add extra layers to the application, however in reality, separating your data and your views is EXACTLY the point - that's what helps to make complex applications manageable.

The article is really an advertisement for the authors own framework Binding.scala, rather than a critical look at React.

JamesMcMinn··on Scott Kelly's DNA shows unexpected telomere lengthening after year in space
I'm not sure of the exact details in this case, but having a twin as a baseline will likely to useful in a number of ways. Things change over time - how much did Scott's telomere length change in comparison to before he went to space and in comparison to his brother?
JamesMcMinn··on Apple Reports Record First Quarter Results
As I understand it, they fixed whatever issue was causing the battery life issues through a software patch.

I've got a XPS 15 9560 and the battery life sits around 7 to 8 hours for "basic" tasks at around 30% brightness (which is still quite bright). This is running Fedora 25, so it's probably a bit longer under Windows. Not going to reach the 10 hours of a MBP, but it's still quite good.

JamesMcMinn··on Apple Reports Record First Quarter Results
Dell's XPS 15 comes closest to that, although perhaps doesn't have quite the same battery life, it does have: Quad Core i7, 32GB RAM, 1TB SDD, higher resolution, approximately same weight, and a more powerful GPU.
JamesMcMinn··on Dell XPS 13 Developer Edition (Linux) Review
I'll be going for the XPS 15 too. I've been using an XPS 13 9333 from 2014 with 8GB RAM and recently I've struggling to keep things under that limit.

The XPS 15 has the advantage that the RAM is user replaceable, and as I understand it, the 16GB model comes with a single 16GB module, so should be fairly cheap to upgrade to 32GB yourself if you'd like to save a few $ initially.

JamesMcMinn··on Dell XPS 13 Developer Edition (Linux) Review
> I've run it with one monitor, two would be hard since it only has a single USB C and I don't have any monitors that can daisy chain.. if that's even a thing.

Most of Dells Ultrasharp monitors from the past couple of years have supported Daisychaining through Displayport. I have an older XPS 9333 DE from 2014 and use it with Dell's U2715H and U2415H monitors through a single displayport connection.

JamesMcMinn··on Dell XPS 13 Developer Edition (Linux) Review
Dell make sure all of the hardware works with Linux out of the box before releasing new versions of the Developer Edition laptops. Everything you mentioned works fine, that's the whole point of the Developer Edition laptops.
JamesMcMinn··on Using the 2016 MacBook Pro as a development machine
You mean like Lenovo, or Dell, or Razer, or any one of about 10 manufacturers who have been producing quality developer laptops for the past few years (or longer, in Lenovo's case)?

Everyone else _has_ caught up with Apple. Windows 10 is actually pretty good, and Linux works great on most laptops now. There's plenty of options for developers.

I'm picking up an XPS 15 after the next refresh in January since it seems that it'll come with Kaby Lake H CPUs and (probably) an Nvidia GTX 1050.

JamesMcMinn··on Deleting the golang subreddit
The person who made this comment in the mailing list appears to have been made a moderator of subreddit 9 days ago...
JamesMcMinn··on Why Are Apple and Microsoft Using Such Old Processors in Their New Computers?
tldr; Apple and Microsoft want to use the high-powered variants, which have yet to be released, whilst other manufactures are happy to use the low powered variants.

Sticking with the more powerful, but power hungry CPUs is one of the few things that allow the MacBook Pro to keep the "Pro".

JamesMcMinn··on Twitter Plans Hundreds More Job Cuts as Soon as This Week
Their explanation, I believe, was that their planned time would have overlapped with several other calls, so analysis requested that they moved it.

https://investor.twitterinc.com/releasedetail.cfm?ReleaseID=...

JamesMcMinn··on Twitter's Dorsey Rallies Staff Around Independent Strategy in Internal Memo
This has been my feeling about Twitter for years. There's plenty of value in news, especially real-time news, that Twitter isn't exploiting. I honestly believe that for Twitter to survive, it needs to make news and real-time discussion of news and events its single biggest priority.

I don't say that lightly either. I've invested in Twitter in more ways that one. I've got shares in Twitter, but that's a tiny part of what I've invested in Twitter: I did a PhD on real-time detection and tracking of breaking news on social media (Twitter), and started a company that uses Twitter to detect breaking news [1] before it it hits mainstream media.

[1] http://scoopanalytics.com

JamesMcMinn··on How Anxiety Warps Your Perception
The BBC is not a state run broadcaster, and the current UK government is run by the Conservative Party.
JamesMcMinn··on Bounds Check Elimination (BCE) in Golang 1.7
Foo() can have side-effects, taking a value from an array cannot, so Foo() is not necessarily dead code, whilst a[0] certainly is.

_ serves multiple purposes, not just for ignoring a return value. It's often used when you care about the side effect but not the return value, such as importation a driver for a database . You'll never use the library, so you import it as _ "db.driver.name/path/".

JamesMcMinn··on Bounds Check Elimination (BCE) in Golang 1.7
Go handles dead code by not allowing you to compile something with dead code. In the examples the "_ =" is needed to force it to compile and do the work without actually assigning the value to anything.
JamesMcMinn··on Nigeria follows UK's example with pioneering free digital TV service
Can you really call this "following the UK's example of free digital TV" when, in the UK, you have to pay a £145.50/year licence fee, and in Nigera, there will be a $5/year licence fee?
JamesMcMinn··on Asciinema 1.3 Switches from Go Back to Python
Go was essentially designed with the idea that you shouldn't ignore errors. However, if you really don't care about errors, you can simply ignore them:

  result, _ := thirdparty.ReturnsError()
JamesMcMinn··on Asciinema 1.3 Switches from Go Back to Python
That was my initial reaction too, however I think the author was listing _all_ of the libraries used by Asciinema, rather than just the ones they had to find outside of the standard lib. Their point being that Python includes them all, so there's no need to go external.
JamesMcMinn··on Asciinema 1.3 Switches from Go Back to Python
I'm left wondering why the switch was made in the first place. I spend about half my time coding in Go and love the language, but if I wasn't looking for easier concurrency or a speed boost, I wouldn't re-write an existing code base in Go. It's a lot of work to do just to revert a short time later.

The majority of comments are fair, although I'd disagree with it being C2.0 and err != nil getting old - I much prefer it to exceptions.

JamesMcMinn··on A deportation at the UK border
Try entering from Scotland.
JamesMcMinn··on A deportation at the UK border
> I'm never sure if Theresa May is evil or incompetent.

Why not both?

JamesMcMinn··on Google stores voice searches
Almost all of mine are recordings of conversations I was having. Most of them sound like my phone was in my pocket and are very muffled, and very few of them have a transcript.

2 of the last 20 recordings are actually questions I asked. 5/20 have transcripts, and the rest are partial recordings of conversations I've had with no transcript.

JamesMcMinn··on Reddit launches image uploads, ditching alliance with Imgur
"A Dark Pattern is a user interface that has been carefully crafted to trick users into doing things, such as buying insurance with their purchase or signing up for recurring bills." [1]

Presenting an authentic looking UI dialogue which appears to come from the operating system, and using vibration to further impose the authenticity of a dialogue as having come from the operating system seems very much to be covered under any definition of dark pattern I can find. The aim is to make you click the ad, and they use dark patterns to do that. Simply because the ad content is "malvertising" doesn't mean it's not utilizing dark patterns.

[1] http://darkpatterns.org/

JamesMcMinn··on Reddit launches image uploads, ditching alliance with Imgur
I often get "authentic" looking "Your Android device is 63% infected! Install this software to fix it" scams on mobile when opening gifv files on imgur. To top it off, they make my phone vibrate and hitting back just reloads the page and causes another long vibration, which is infuriating. If that isn't a dark pattern, I don't know what is.

It only happens when coming from reddit if I open an incognito tab in chrome (chrome opens incognito tabs in the foreground, rather than the background, which saves me a bunch of taps). It never happens if I use normal tabs, which leads me to believe they're only doing it for non-reddit referers or direct links.

JamesMcMinn··on Pennsylvania license plate reader SUV camouflaged as Google Street View vehicle
I wouldn't be surprised if this was due to Android reporting MAC address and GPS data back to Google, rather than a wardriving car.
JamesMcMinn··on Bitcoin 'creator' backs out of Satoshi coin move 'proof'
The UK does have a history of shipping criminals off to Australia...

In all seriousness though, I hope he does get sent back to Australia. Everything he's done fits with someone who is grasping at anything that might get him out of has last con, and unfortunately for him, his last con involved a government organization that will want its money back.

← PreviousPage 5 of 8Next →