HNHacker News
TopNewBestAskShowJobs

macca321

846 karma · joined May 15, 2010

mcintyre321 (at) gmail com
submissionscomments
macca321··on Ask HN: Best Video Call Solution for Elderly
Sadly these ipad/iphone/facetime combos only work if everyone in your family is on Apply. In the ROTW, that's not so common...

My mum, who's got dementia, can just about work her portal to make and receive calls.

I've heard giving them an android tablet with Skype app set to auto-answer may be the most foolproof x-platform way.

macca321··on Google adds experimental setting to hide full URLs in Chrome 85 address bar
Bring it on. Users not knowing the path means search engines not using the path for ranking means a whole class of boring human readable SEO work goes away.
macca321··on Show HN: Collected Notes – A note-taking blogging app I made
Is there an open standard for adding simple social features to an RSS based blog?

e.g. a public friends list, likes/comments controlled (or at least signed) by the commenter

macca321··on How and why GraphQL will influence the Sourcehut alpha
Or the frontend devs could have just, like, learned how to write sql queries... :D

A major issue with pushing it to the frontend is that malicious clients can issue unexpected requests, putting strain on the database.

If the graphql query implementation doesn't allow that level of querying on the database, then it's not offering much more before you need to speak to the backend devs than a filterable rest endpoint.

This all came up years ago with OData.

macca321··on Show HN: XgeneCloud – Instant REST and GraphQL APIs on Any SQL Database
edit: i didn't read the docs, there are interception mechanisms it seems
macca321··on Show HN: XgeneCloud – Instant REST and GraphQL APIs on Any SQL Database
>Mike Amundsen > @mamund > · > Aug 21, 2016 > remember, when designing your #WebAPI, your data model > is not your object model is not your resource model is n > not your message model

https://twitter.com/mamund/status/767212233759657984?lang=en

macca321··on Show HN: XgeneCloud – Instant REST and GraphQL APIs on Any SQL Database
deleted
macca321··on Deno Is a Browser for Code
Seems odd that they don't support an equivalent of the integrity attribute.
macca321··on Ray tracing in notepad.exe at 30 FPS
I've got a script somewhere that auto saves notepad. I sometimes wonder if it's marketable
macca321··on Linux is Most Used OS in Microsoft Azure – over 50 percent of VM cores
Linux updates also cause issues.
macca321··on John Peel Sessions
wow
macca321··on Windows Subsystem for Linux 2 Moving into General Availability
https://twitter.com/richturn_ms/status/1245481405947076610

>Because we cannot name something leading with a trademark owned by someone else. > >Think of it as Windows' Subsystem for Linux. >#ApostrophiesMatter

Just be glad we didn't call it Subsystem For Running POSIX/GNU/Linux Binaries on Windows (SFRPGLBW)

macca321··on Pulumi – Modern Infrastructure as Code
Pulumi is great, but I gave up on persuading a company with a lot of existing terraform to move to yet another tool, and created a (pretty basic) DSL/library for writing terraform in python/c#, which can output to terraform. I could probably get permission to open source it if people are interested. *

As far as I can tell, you get more or less the same benefits as you would if you use pulumi (in the same ballpark).

* There are one or two tools for python/ruby that do this already, but having it in something with stronger typing has advantatages

macca321··on Ask HN: Is UK government insane or genius?
According to Peston: "elderly to be quarantined at home or in care homes for four months, in "wartime-style" mobilisation to combat Coronavirus."

https://twitter.com/Peston/status/1238917834111156231

macca321··on Reposurgeon Defeats All Monsters
I'm always bit sceptical of "our rewrite in new language is quicker" stories. If I were to rewrite something in the same language as v1 t would probably be quicker.

Actually that's not true, I'd probably get bored and then just ry to get the damn thing working as well as v1 used to and then go on holiday without optimising.

macca321··on C# Pattern Matching
Apologies, but here's the obligatory link to my OneOf exhaustive type matching library: https://github.com/mcintyre321/OneOf
macca321··on Monoliths Are the Future
Shame we don't do HATEOAS, just RPC-over-HTTP
macca321··on Monoliths Are the Future
Feature toggles are the answer here
macca321··on LInQer – C# Integrated Queries ported to Javascript
These libraries miss the point of linq. Yes it provides a nifty syntax for munging lists, but Real C# LINQ provides that munge as a abstract syntax tree which can be interpreted before executing it.

This means it can rewrite the native language query, and say, turn it into a SQL or graphql query, or a stream filter, or check against cached data or all kinds of clever things.

macca321··on Statically-typed error handling in Python using Mypy
Yes I can't quite remember why I couldn't get it to work. I want to make something where this is valid, but couldn't manage it:

    def foo() -> OneOf[Bar, Baz]:
      if blah():
        return Bar()
      return Baz()

   

   def bar_to_blah(bar:Bar) -> Blah :
     ...

   def baz_to_blah(baz:Baz) -> Blah :
     ...


   one_of_bar_or_baz = foo()
   blah = one_of_bar_or_baz.match(bar_to_blah, baz_to_blah) 
but the critical thing is to get a type error if you add another case to foo's return type, or change the generics to different types.
macca321··on Ask HN: Why GraphQL APIs but no Datalog APIs?
I've got this idea that you can chuck JMESPath into the range header on a standard json endpoint for ghetto graphql
macca321··on Statically-typed error handling in Python using Mypy
I maintain a library for doing exactly this in C# (https://github.com/mcintyre321/OneOf). I tried to replicate it in Python as I'm writing it at the moment, but couldn't quite manage it. Can you have a multi generic typed Union in python?
macca321··on We ‘may’ have discovered a potential remedy for tinnitus
Thanks, that could be it!
macca321··on We ‘may’ have discovered a potential remedy for tinnitus
So I have very mild tinnitus (a bit of ringing when in bed at night, or if I really really try to listen for it).

I've noticed another auditory effect though, since I bought a glockenspiel for my child. After hearing a loud, high note on the glock, immediately after there is a momentary deep, squelchy rumble in my ears. Is this a tinnitus artifact or something else? My google skills have failed me on this one.

macca321··on Microsoft Comic Chat
Also see Microsoft Songsmith
macca321··on The Rise of 'Facadism' in London
I think the Cally Road one won worst building of the year.

ah yes - https://www.theguardian.com/artanddesign/2013/aug/29/carbunc...

macca321··on AI Clones Your Voice After Listening for 5 Seconds (2018)
No, but they would probably fool a friend or family member over a phone line. Yikes.
macca321··on TypeScript 3.7
Now I know how people felt when they told me C# was adding features so quickly they couldn't keep up.
macca321··on Betrayal at Krondor
Betrayal In Krondor, surely?
macca321··on Ask HN: What are weird and/or novel ways to do web UIs?
https://theweekly.co.uk/ap2/index.html
← PreviousPage 2 of 13Next →