HNHacker News
TopNewBestAskShowJobs

netghost

1,062 karma · joined June 18, 2009

submissionscomments
netghost··on Employees are happier when led by people with deep expertise
I think the point is that having some level of technical skills is important, but I don't think it alone will let you be a good manager.

Unfortunately, the article neither publishes the dataset, nor goes into it in much depth.

netghost··on Building Better Interfaces with SVG (2015)
Most vector tools export to SVG, and you can use SVGO[1] to clean it up and optimize it.

1: https://github.com/svg/svgo

netghost··on Lessons learned as a React contractor
Is there any sane way to use Sass, Less, or PostCSS without ejecting though? Not having variables available in your CSS seems pretty untenable for anything that has more than a handful of styled components.
netghost··on PostgreSQL anti-patterns: read-modify-write cycles (2014)
I think if your lock version is a random hash that is updated each time you write via trigger or app code, then at best someone nefarious could change that value in the form and prevent themselves from being able to update the record.

It also depends on what you're trying to achieve. For instance, if you're just trying to help coordinate people updating a wiki page so that two people don't accidentally clobber each other's updates then it's probably not a huge concern.

From a layering perspective, you can probably implement this with checks and triggers in postgres so that it's mostly transparent to the client.

That said, I wouldn't bother myself ;)

netghost··on Show HN: The Road to learn React – Build a Hacker News App on the Way
To be fair Dan Abramov, who wrote Redux, repeatedly tells folks they don't need it: https://medium.com/@dan_abramov/you-might-not-need-redux-be4...

Unfortunately, the general sense from the community is that it's an essential piece of the React ecosystem.

netghost··on PostGraphQL: PostgreSQL meets GraphQL
If you look at the demos, it looks like you can do RBAC security. The user id is stored into a session (transaction?) local variable, and then used to filter various tables using postgres' row based security model.
netghost··on Burnout [audio]
At my company, we don't call them heroes, but they are.

It's easy to underestimate their impact, but a good person in support can really make someone's day.

netghost··on Models for hierarchical data (2010)
Closure trees work quite well.

I've had some good success with materialized path solutions in Postgres since its support for arrays makes them indexable and easy to query.

I'd suggest picking whichever is easiest to maintain, and works well with the shape and structure of your data. If you use Rails and Postgres I have a few articles including this one that might help illustrate how it can all play together with an ORM: http://www.monkeyandcrow.com/blog/hierarchies_with_rails/

netghost··on Show HN: A Web-to-RSS Parser in Common Lisp
I find it really valuable, and follow a few dozen sites.

I'm curious, if folks don't use an RSS reader, how do they find articles and follow sites they're interested in?

netghost··on Bottled Water – Real-Time Integration of PostgreSQL and Kafka
This is probably also quite useful if you have a lot of logic in Postgres itself (ie: triggers), which can't be captured by the calling code.
netghost··on Principles we use to write CSS for modern browsers
At the point when you write fallbacks for IE, you might as well just use an approach that works for all your supported browsers, otherwise you've got twice as much to verify and maintain.

Check this out for an alternative to flexbox if you can't ignore that last n% of your users: https://kyusuf.com/post/almost-complete-guide-to-flexbox-wit...

netghost··on The GitHub GraphQL API
I think it's because you can use the GraphQL mutations to do things like create comments, etc.
netghost··on Neglected Food Bubbles: The Espresso Coffee Foam
Well if you like espresso made from beans by Zoka, then drop by Seattle some time. Zoka has a few spots in town, great place to work, study or meet up with folks.

Honestly there's a bunch of really great coffee shops around here, well and a few terrible ones, can't say if they're the best, but it's not hard to get a decent cup.

netghost··on Neglected Food Bubbles: The Espresso Coffee Foam
Vivace is certainly one of my favorite coffee shops in Seattle. Thanks for the background, I never knew all the work that was going into my cup.
netghost··on Ruby Deoptimization Engine
Thanks for the link, this is an excellent resource.

I really appreciate this view for the rails commits: https://rubybench.org/rails/rails/commits/overview

netghost··on BlackBox
I would have been happy with just that, but the explanations of how many boxes they had shipped where just as good: "If you stacked them all on top of each other they would be taller than the tallest man!"
netghost··on Show HN: Natural Language to SQL interface to embed in your app
If you're curious, I found that you can look at the xmlrpc responses and see what it's sending back. Seems like whatever client side code they have is failing to convert those responses into an html table or whatnot.

From what I can tell, it does seem to be doing something ;)

netghost··on IUP Portable User Interface: Multi-Platform Toolkit for Building GUI in C or Lua
> It offers a simple API in three basic languages: C, Lua and LED

I haven't been able to find any reference to LED as a language, anyone have a link? Just curious.

netghost··on Recharts – A composable charting library built on React components
Looks like it actually uses d3 ;)
netghost··on The Real Value of $100 in Each US State
Then you're in luck, because the article links to the original data, which includes this. See the links in the right hand side bar.

http://www.bea.gov/newsreleases/regional/rpp/rpp_newsrelease...

netghost··on The Real Value of $100 in Each US State
If you're curious, "Nickel and Dimed" is a great book that explores some of this.
netghost··on Crystal: Fast as C, Slick as Ruby
Perhaps it's time to pick a new language to drop in every thread. Something hip and cool, like HyperTalk!
netghost··on Unstructured Datatypes in Postgres – Hstore vs. JSON vs. JSONB
I believe they are stored more efficiently, so if your data set plus indices don't fit into RAM, you may see some gains.
netghost··on Snabbdom – A Simple, Modular, Powerful, and Fast Virtual DOM Library
So... Angular comes out of Google, Microsoft's key JS contribution is TypeScript.
netghost··on HyperTerm – JS/HTML/CSS Terminal
It was an editor for Plan9.

Here you go: https://en.wikipedia.org/wiki/Acme_(text_editor)

netghost··on PostgreSQL Exercises
I just want to second the postgres docs, they're excellent.

They are complete, comprehensive, and well worth your time.

netghost··on Open-Sourcing CloudFlare’s UI Framework
I noticed there are components for all the standard HTML typography like <kbd> is <Kbd> and such. Is there a perf hit in wrapping everything in a react component? Any particular reason to do this?
netghost··on Clickbait and Traffic Laundering: How Ad Tech Is Destroying the Web
Can we maybe re-title this as "10 Amazing Ways AdTech is Destroying the Web"?
netghost··on The History of Mac Gaming
I don't think it was, but it certainly existed when the whole idea of networked games simply blew my mind.
netghost··on Elixir Confs Sessions
Any presentations folks would particularly recommend?
← PreviousPage 7 of 16Next →