News for hackers. Stuff that matters.

lsjroberts

Re:Principled GraphQL on Wednesday February 13, 2019 @07:35AM (#19152551)
We've been working on doing something similar to create "one graph" at my job (though using our own library instead of graphql [1]).

There are definite difficulties to doing this, you need some strong cohesion between teams. If you try to do it in an agile manner, you're going to end up with a lot of duplication with minor differences. You'd need a way to flag existing similar data when trying to add new branches and nodes.

Our hope is to make our graph explorable and interactive so teams we don't have direct contact with, often in other countries, are able to find the data they would be interested in and see immediately how to read it out.

[1] https://dwstech.github.io/muster/

Re:Small Assets without the Headache in Elm 0.19 on Tuesday August 21, 2018 @09:40AM (#17809427)
The SPA improvements look to have been released as the new `Browser` package, there's some good stuff in the guides on it - https://guide.elm-lang.org/webapps/
Re:Small Assets without the Headache in Elm 0.19 on Tuesday August 21, 2018 @09:38AM (#17809403)
Gatsby produces static html sites and then rehydrates them once loaded, which is what makes it feel so fast. Elm dynamically generates the html.

There has been some work to generate static html from Elm - https://github.com/eeue56/elm-static-html - and there's no technical reason I'm aware of that prevents it from being taken as far as Gatsby does.

Re:A Better JavaScript Ecosystem on Saturday June 30, 2018 @01:15PM (#17431657)
I haven't, but had a chat with Zoltan on twitter (a dev on it). It does seem to be pretty good, and definitely would be a less drastic solution since it builds on top npm.
Re:A Better JavaScript Ecosystem on Saturday June 30, 2018 @12:13PM (#17431338)
(author here)

I'd disagree they are naive. These all stem from my team's experiences developing platforms at a large international bank.

We have dozens of packages that share many of the same dependencies, moving those to a single copy of each would reduce used disk space by equal dozens of times. But saving disk space is almost more of a nice side effect of the other solutions.

We've tried reducing this by using lerna but that can only go so far due to only supporting a single shared version or fully independent versioning. Hence the more customisable workspaces.

I'd also contend this is not a narrow use case, every bank in London is building similar platforms and could benefit from something like this. They just tend to not talk too publicly about what they are doing.

Re:Folding Promises in JavaScript on Thursday September 21, 2017 @08:08AM (#15302504)
I believe homomorphism is a subset of endomorphism.

So a function that turns an array into another array of different length would be endomorphic (since it maintains the same type), but not homomorphic since it has a different structure (a different set of keys).

Oh also, there are >16000 countries in the select box on the edit person page.
Looks great and useful! One small UX issue I've just hit - I missed the "edit" button in the "Personal Information" box when viewing a contact for a few moments. Kept trying to click the "Birthdate is not set" etc text.
NoRedInk use it in production and are quite big advocates (having hired the BDFL) - http://tech.noredink.com/
Re:Falcor – A JavaScript library for efficient data fetching on Thursday February 09, 2017 @08:08PM (#13612517)
Our approach is being influenced by Om.Next, though I personally don't have a great deal of knowledge of it.

I'm a fan of Elm, and it and Om.Next share some significant concepts I believe, so that's been guiding a lot of my thinking with regards to this stuff.

Re:Falcor – A JavaScript library for efficient data fetching on Thursday February 09, 2017 @08:06PM (#13612509)
Ah that's good to hear. I hope I didn't come off harsh :)
Re:Falcor – A JavaScript library for efficient data fetching on Thursday February 09, 2017 @07:31PM (#13612341)
Falcor is a very interesting approach, and as others have mentioned GraphQL is very similar. I can't go into any details, but we have been using Falcor on my team as the basis for our own work. We are gradually moving away from it though as it has become clear it is great for Netflix's use-case but less so for a more generalised solution. Particularly when you throw in streaming data.

I have a sneaking suspicion that the open sourced version of Falcor also isn't the version used internally. This is certainly true of their Prana (a sidecar used to allow a node app to talk to the rest of the Netflix stack). And the repo has had a massive slowdown and basically ground to a halt in the past year - https://github.com/Netflix/falcor/graphs/contributors.

So saying that, I'd have reservations about recommending it for other developers to use. The concepts are great, but GraphQL is more widely supported and discussed. Also the Falcor docs could use some serious work for clarity.

Though I also believe there are better ways to declaratively describe your data requirements against a graph than either Falcor or GraphQL.

Re:Cracking the Coding Interview Tutorial on Tuesday September 27, 2016 @06:23PM (#12593728)
It may be a difference between contractors and perms, but it seems not many actually have a github or similar portfolio. We're more interested in their previous experience and if it is relevant (fintech specifically) though.

We probably should check it out for those that have one to be fair. But I'd rather it didn't factor in as a implicit negative for those who are too busy to work on projects outside of the office.

Re:Cracking the Coding Interview Tutorial on Tuesday September 27, 2016 @05:21PM (#12593337)
Of the 6 tests I've personally run, 1 passed decently, 2 were probably affected by nerves, 3 just weren't capable. We've had >30 people come in so far and offered to 3 or 4 I believe.

The test is essentially writing a function that can take any number of numbers and add them together followed by a couple of bits around javascript's built in functions and object syntax.

1 of the failures couldn't write a for loop despite having 5 years experience including React.

The test also works as a general personality test as we need people who are fully confident in their abilities due to the difficultly and scale of the product. We are specifically aiming for the top 20% of candidates who come in, so there are subsequent tests after this one.

I thought I'd be able to spot a bad CV, but it turns out either people are lying or they are crediting other people's work to themselves when they are able to hide amongst the team at large organisations.

Re:Cracking the Coding Interview Tutorial on Tuesday September 27, 2016 @04:17PM (#12592756)
We've been running a very effective initial filter coding interview that simply tests the very basic ability to write loops, refactoring and a little recursion. It's astonishing how many people with CVs of 5+ years professional contract experience in London fail this test. We've had a <15% pass rate on that test alone.

Personally I'm not a fan of taking these interviews, but now being involved on the other side I've seen how essential it to filter out those who don't actually understand how to code.

Re:Burnout: How to Manage and Avoid It on Thursday June 16, 2016 @07:52AM (#11915478)
This is just based on my experience, so feel free to disagree! I'd be interested to hear others experiences and what worked for them.
Re:Late sleepers are tired of being discriminated against on Thursday March 31, 2016 @12:32PM (#11398436)
I'm naturally a late sleeper, I travelled from UK to California then Floria for a couple of weeks and found I pretty instantly became a morning person in the new time zone.

Though I'm not sure if that is down to exhaustion from a 23 hour journey forcing me to sleep earlier and longer for a few nights and thus re-jigging my sleep cycle.

Re:Show HN: Tonic – A data visualizing REPL for Node.js on Tuesday August 18, 2015 @02:54PM (#10081341)
Chrome 43 on OSX Yosemite. It seemed to work fine on the initial 1.0.0 publish, but it bugged out on the subsequent 1.0.1 etc publish attempts.
Re:Show HN: Tonic – A data visualizing REPL for Node.js on Tuesday August 18, 2015 @02:47PM (#10081285)
The publishing modal seems to have a couple of bugs:

1 - When trying to add release notes it closes the modal every time you press a letter, though the letter is still there when you reopen the modal.

2 - After publishing a second time the modal can no longer be closed and remains open until a full page refresh.

Re:Show HN: Tonic – A data visualizing REPL for Node.js on Tuesday August 18, 2015 @02:20PM (#10081080)
Not only does the tool look fantastic but so too does that landing page. I look forward to using this, great work!
Re:Locking the Web Open: A Call for a Distributed Web on Monday August 17, 2015 @08:58AM (#10072630)
You may be interested in https://ind.ie/about/vision/
Author here, feel free to contact me if you're interested in this or a scientist in a related field - lsjroberts [at] outlook {dot} com

Thanks for the feedback, I'm working on expanding the project to import data from a couple of sources, you can follow it at http://github.com/lsjroberts/pi-me-a-river

Yeah, living in London you have several cameras looking at you permanently. You can see a bunch of them via the TFL api as well.
Re:Show HN: Learn Swift on Tuesday June 09, 2015 @10:04AM (#9685943)
Thanks for sharing it :) just fyi, the .fixed header overlaps the content making links unclickable if they are in the top part of the page
I think you might like tig - https://github.com/jonas/tig - it provides a more interactive version of your showtree command
Re:Show HN: Slack Meets GitHub Issues on Wednesday March 04, 2015 @09:50AM (#9144503)
The medium article provides a nice bunch of screenshots and explanation - https://medium.com/@pdrummond/openloopz-beta-is-live-fbe4c71...

Older »