News for hackers. Stuff that matters.

digisth

Re:Ask HN: Resources for engineers new to system design on Monday February 11, 2019 @03:35PM (#19138040)
If one is already well-versed in multiple areas of software technology (especially development and database administration), this is an excellent book. It surveys the landscape of software data storage technologies, talks about (at a modest level of depth) some of theory behind things like quorums in distributed database systems, resiliency/redundancy strategies during data loss, and a host of other interesting topics.

I'd consider its level of depth somewhere in the middle between specialist books and 10k foot overview books. I recommend it to anyone that has been a software developer or DBA for 5+ years, as I think they'd get the most value out of it.

Re:Pspg – Postgres Pager on Thursday November 16, 2017 @08:13PM (#15718214)
If one prefers to use vim as a pager for psql, try this:

https://unencumberedbyfacts.com/2016/01/04/psql-vim-happy-fa...

I've been using it for a few months, and it works great for me.

These (and probably most) services are currently geared toward technology hubs and in-office work, that's true, as that's still the norm in industry, so they reflect that. I'm in NYC and saw plenty of outreach.

For remote, remoteok.io seemed pretty good when I used it.

The newer matching services (as opposed to boards) are all worth checking out: Hired, Vettery, Underdog.io. I found many good leads through all of them, and my current position is through one of them (Vettery.)

AngelList Jobs is also a place to find interesting positions (startup-centric ones in this case, as one might expect.)

Re:Ask HN: Who wants to be hired? (June 2017) on Thursday June 01, 2017 @05:15PM (#14464829)
Location: New York, NY

Remote: OK

Willing to relocate: No

Technologies: Python, Django, Ruby, Rails, AWS, Linux

Résumé/CV: http://www.panix.com/~sth/resume2017.docx

Email: [email protected]

Interested in a backend role, especially web/data API building and/or data processing, broadly construed.

Do you know of a source that compares these different libraries in terms of capabilities, focus/use cases, size limits, performance, format support, etc.?

Googling turned up very little for me.

TIA

Edit: libraries mentioned in thread:

PMML, Arrow, Dill, marshmallow, pytables, parquet/fastparquet (and pickle, obviously)

Re:Arguments against JSON-driven development on Thursday August 25, 2016 @05:48PM (#12362768)
The rule of thumb I've always used for when to use OO is "will there be more than one extant object at once or not?" If yes, and especially if these objects need real behavior, then use OO.

If you're essentially going through one object at a time, then discarding them, you're may just be doing conduit data processing, and so there's little advantage to using objects. I think what's missing in this (well-written) analysis is this distinction; if you're slurping data from one place, making a few changes (or especially if you're not making any), then sticking into a DB or vice versa, OO may be the wrong choice.

Ask yourself while writing the code: "are these active, behavior-driven objects that need encapsulation and relatively sophisticated behaviors, or is this just data I'm doing some relatively simple processing on?"

I have a pile of links for getting started with DL in my comment history you can use: https://news.ycombinator.com/item?id=10676455

What really helped advance my understanding from zero to knowledgeable novice was rewriting some existing code line by line (using expanded variable names and comments), and thinking about each line and what it does as you go. It's the software development equivalent of Hunter S. Thompson re-typing The Great Gatsby just to get the feel of writing a great novel. Here's one I did based on Denny Britz's tutorial:

Britz's Original: http://www.wildml.com/2015/09/implementing-a-neural-network-...

My version: https://gist.github.com/sthware/c47824c116e6a61a56d9

HTH

Re:React: Mixins Considered Harmful on Wednesday July 13, 2016 @11:54PM (#12091530)
Mixins have their place, but perhaps we are at the point where we need general advice (like the class "Prefer composition over inheritance") for mixins ("Prefer traits over mixins"), especially as there's a good analog between the two. Matthijs Hollemans wrote an article which argues for that as well:

http://matthijshollemans.com/2015/07/22/mixins-and-traits-in...

Re:Anyone Can Learn to Code an LSTM-RNN (Part 1: RNN) on Monday November 16, 2015 @01:51AM (#10573019)
If you want to know more about RNNs in general, I can't recommend watching the videos/reading the notes from this course enough:

http://cs224d.stanford.edu/syllabus.html

If you want something more basic to get your head around NNs, I recommend Denny Britz's "Neural Networks from Scratch":

http://www.wildml.com/2015/09/implementing-a-neural-network-...

I created a gist with a heavily commented version of his code:

https://gist.github.com/sthware/c47824c116e6a61a56d9

Re:The evolving fight against sham reviews on Wednesday October 28, 2015 @04:25PM (#10467131)
I'm not aware of any efforts in that direction. As far as the review link, I don't think that would defeat the newer countermeasure involving 3rd party sellers shipping an empty box (which never gets returned.) It still looks like a verified purchase. Second-parties could require all items be shipped through them (meaning they receive the item and inspect it, then reship it to the customer), but the added expense seems like something they'd be unlikely to spring for.
Re:The evolving fight against sham reviews on Wednesday October 28, 2015 @01:49AM (#10463024)
It's not as easy as it seems. Many systems have already been devised, but fake reviewers adapt; it's an arms race, just like with email spam. Bing Liu, who has done work on sentiment analysis, has written about some techniques dealing with spam/fakes on review sites. Here's just a sampling of popular methods and flags:

- Duplicate checking (same user on different products with similar reviews, for example)

- Meta-reviews ("was this review helpful?" - can also be gamed)

- user rating averages (all highs or all lows sometimes considered a flag)

- ratio of "first product reviews" to total reviews on a per-product basis

- "Super-reviewer" status (questionable, but often a flag)

- Products with low sales ranks

- Review ring detection (IP block, post times, etc.)

- Early reviews

- Users who give high ranks, while most other reviews are low

- Positive reviews for one brand's products, and negative for others

- "Verified" purchases

A lot of these already have countermeasures, and fake reviews have already come up with counter-counter measures (like review-time staggering, using multiple IP blocks, shipping empty boxes to defeat verified purchases, etc.)

The "how to know what's trustworthy?" is the million dollar question, and it has many answers that happen to change over time. Not easy to solve.

Older »