HN user

Harkins

1 karma
Posts29
Comments421
View on HN
www.valent.io 10y ago

In a legacy Rails app, drink every time…

Harkins
4pts1
www.raphkoster.com 14y ago

Free to Play vs. Subscription Business Models

Harkins
1pts0
www.businessweek.com 14y ago

The Businesses of Somali Piracy

Harkins
1pts0
theaporetic.com 15y ago

Electrifying the Middleman

Harkins
1pts0
t-machine.org 15y ago

Recruiters: My fee for referrals is 5%

Harkins
72pts28
push.cx 15y ago

Starting a Craftsmanship Tour at Obtiva

Harkins
1pts0
www.sirlin.net 17y ago

Subtractive Design

Harkins
18pts4
www.computerworld.com 17y ago

H-1B visa use cuts U.S. programmer, software engineer wages by up to 6%

Harkins
28pts35
wiki.secondlife.com 17y ago

Second Life's Message Queue Evaluation Notes

Harkins
11pts0
jeff-vogel.blogspot.com 17y ago

Why I'm Missing the iPhone gold rush

Harkins
46pts22
push.cx 17y ago

Markoff's Gated Community Should Die in a Fire

Harkins
5pts2
richarddingwall.name 17y ago

How to lose traction on a personal software project

Harkins
4pts0
push.cx 17y ago

Open Source Communities

Harkins
4pts3
push.cx 17y ago

Django vs. Rails: The Dead-Tree Edition

Harkins
26pts35
push.cx 17y ago

Two Interactions With Amazon

Harkins
2pts0
push.cx 17y ago

3 Rules of Database App Aging

Harkins
79pts52
lucasmanual.com 17y ago

DataHub: a framework for processing large datasets

Harkins
1pts0
groups.google.com 17y ago

Massive scrape of the Twitter friend graph

Harkins
51pts10
mikeomatic.net 17y ago

Data Model = Database

Harkins
35pts21
push.cx 17y ago

Now Do You Know It Works?

Harkins
1pts0
push.cx 17y ago

Don't Play Hurt

Harkins
25pts9
developer.yahoo.net 17y ago

Yahoo Relases OpenID Usability Research

Harkins
5pts0
avdi.org 17y ago

You keep using that word “distributed”…

Harkins
34pts12
forums.introversion.co.uk 17y ago

I don't want a real job [from Introversion Software]

Harkins
13pts10
www.infoq.com 17y ago

Giles Bowkett: 36m inspiration on art, passion, markets, and shipping to avoid Fail 2.0

Harkins
2pts0
blog.hanfordlemoore.com 17y ago

Don't Do What Your Users Say

Harkins
48pts10
blog.casualcollective.com 17y ago

Casual Collective: Lessons Learned

Harkins
3pts1
www.omgbloglol.com 18y ago

Documentation or death (or: the rise and slight drop of rails blogging)

Harkins
10pts4
push.cx 18y ago

StackOverflow Sounds Pragmatically Postmodern

Harkins
1pts0

Does anyone know the rationale for creating Nixlang? Guix's use of Scheme proves there isn't a novel feature unavailable elsewhere, so it seems like a lot of wasted effort to implement a language that will likely only ever be used for one suite of programs. (And tooling; though almost none exists now, making the choice even more expensive.) I've tried to find one, but "nix" is a difficult thing to google for given the couple decades people have used it as a catchall term for unix and unix-like operating systems.

Spam from gmail's smtp servers. There are a number of spam services oriented towards small business. Their users are required to use their own gmail credentials. MailShake and FunnelBake are two services from my inbox this week, though they're deliberately hard to identify - no note in the headers, no footer on the email, customers encouraged to set up domains aliasing "unsubscribe" links, etc.

This is a growing source of spam for me personally and services I've worked on that have public email addresses (eg. support@), especially if near a mailing address. (Other services scrap lists of "local" businesses and sell them to the end users of the spam services.) Blocking gmail smtp is a non-starter due to popularity, graylisting doesn't help, and I haven't been able to find anywhere they take spam reports; search results are overwhelmed by discussion of reporting spam as a user of GMail.

I believe only once has someone who invited a problem user been banned. That inviter contributed a feature to disable invitations and was unbanned. But I think the possibility also has a deterring effect that prompts people to exercise care.

(Context: I'm the lobsters admin.)

SEEKING WORK | Chicago, IL | Remote OK

10+ years of experience with Rails development, mostly helping startups launch as a consultant. I've spoken at RailsConf and several other conferences, and written a book on Ruby. I also have significant experience with devops automation, React, Python, and mentoring junior developers.

I have availability for part-time work and maintenance retainers. Not available for strict management roles or pager duty.

https://push.cx/consulting or peter@ that domain. I care most about understanding your business's goals and helping you achieve them, so please tell me about what you're working on. Thanks! :)

(author here)

I knew Nix came before NixOS but was interested in both for the possibility of managing servers. I'd have made significantly less progress starting from Nix.

I can see how Guile would be an improvement over the Nix language, but have tapped out my patience on related topics for a while.

The search engine broke, too. Maybe it's it's having a negative term like "javascript -npm" or searching only a single subreddit, but changing "www" to "old" in the url often takes a search from zero results to hundreds.

And that's on top of how much slower it is, how it starts with a sidebar covering the page, janky lightbox scrolling, fixed headers covering the page, autoplay everything, etc. Search and other major features don't work.

SQL isn't a good match for the recursive structure of comments (and our version of mariadb from LTS Ubuntu doesn't support recursive common table expressions), so the app pulls all comments in ActiveRecord objects and threads/sorts them there. It's expensive and uncached. Codebase is here if you're curious: https://github.com/lobsters/lobsters

Traffic counting has to wait until I have spare attention, which is also a shallow resource pool. :)

This is blogspam ripping off this site and the link should be changed: http://www.wirepoints.com/illinois-state-pensions-overpromis...

The authors of this report are former employees of the Illinois Policy Institute: http://www.wirepoints.com/mark-glennon/ https://www.illinoispolicy.org/author/ilpoliski/

The Illinois Policy Institute is, politely, a conservative think tank: https://en.wikipedia.org/wiki/Illinois_Policy_Institute

The full report plays a lot of games to produce these striking, misleading graphs, like comparing yearly numbers with total values of all future pension liabilities at face value instead of any attempt at NPV. If you're curious to spot more, the 1993 edition of How to Lie With Statistics chapter 7 ("The Semi-Attached Figure") and 9 ("How to Statisticulate") are a lighthearted read.

I tried to evaluate it last month. Their login page does some kind of cross-site cookieing or referering that my privacy settings don't permit. Any time I log in, I get a warning that someone's been trying to brute force my account and it's been locked for 24 hours.

Support was useless. I was repeatedly asked if the IP address I gave them was public or private, when they should've had training or tooling to know at a glance. The help system closes tickets aggressively, ignores replies, and the link to keep a ticket open just leads to a knowledge base. Eventually support agreed to take a curl that reliably reproduces their bug, but I got no tracking number or even a vague promise they'd get back to me when it's fixed.

I concluded that if the product was broken and support was broken, there's probably something upstream in the business that's broken and I am not confident I'd be able to restore data.

The iPhone is Dead 9 years ago

Because the title is "The iPhone is Dead" instead of something like "Why I Switched to Android".

I also do this, and also start talks asking people not to post photos of me online.

Also, I don't believe he's kept his picture off Facebook. Unless he avoids all photographs, one of his friends has posted a photo, and another of his friends has tagged him. It doesn't matter how many times you ask people not to post/tag, Facebook has very aggressively marketed this as a normal thing to do. The tag step probably isn't even necessary if he's consistently one of the only people untagged in a group photo.

I look forward to GPDR enforcement and hope it can be used to delete even Facebook's shadow profiles.

They still have your face from scanning your friends' photos and contacts. Combine datestamp, location, messages, and posts over years and Facebook knows who was together for a photo whether or not you've uploaded any or been tagged. Facebook knows the face of everyone who is on Facebook or who knows a few people who are.

And the legal basis for such rules [prohibitions on employees sharing salary information with their peers] is at best murky—indeed, a large number of U.S. states now explicitly ban them.

And besides that, the National Labor Relations Board considers employees discussing pay to be protected concerted activity. I'm not sure if just having the rule is illegal, but enforcing it certainly is.

There's a trick in this clickbait:

According to Bureau of Labor Statistics, the average American works 8.8 hours every day. Yet a study of nearly 2,000 full-time office workers revealed that most people aren't working for most of the time they're at work.

The plain reading is that this article is based on BLS data. The BLS makes huge amounts of data available (and is friendly about answering questions), and the 8.8 hour figure is really theirs: https://www.bls.gov/tus/charts/chart1.pdf

But the second sentence is about unrelated research not conducted by the BLS, even if you trust that it exists.

This data looks bizarre. 23 minutes of smoke breaks? Only 15% of Americans smoke (https://www.cdc.gov/tobacco/data_statistics/fact_sheets/adul...), so if 85% of people spend 0 minutes a day smoking the other 15% spent 153 minutes per work day smoking. That can't be right, so this list must be the average time spent on an activity of all the people who reported engaging in it, which makes it pretty useless for understanding the overall situation it purports to talk about.

Assuming a study was done, this is probably self-reported data of a self-selected population. Ask 2,000 websurfers to break down their yesterday or last week of work and you're not going to get reliable data.

Without an accounting of methodology (or at least a citation), this article is an infohazard. People might read it an accidentally take it seriously, or remember these numbers but not remember they were completely unsupported.

First point: "I found a bug but can't give an example."

Second point: "It adds a feature that's different from a similar language."

These are not persuasive arguments. I'm not trying to be unkind, but the first point is totally unsupported and the second doesn't elaborate on what's bad about classes besides that another language also has classes.

This example doesn’t fit with the React style I’ve seen before, where state is rarely used. This data isn’t flowing (https://lobste.rs/s/ptfoib/yes_react_is_taking_over_front_en...) like I’ve come to expect, but one of my biggest gripes with React is that the docs are no longer very good because they haven’t been comprehensively rewritten for the current design and because the only sentence in the docs to address the crucial distinction between props and state is the distinctly unhelpful:

If you imagine a component tree as a waterfall of props, each component’s state is like an additional water source that joins it at an arbitrary point but also flows down.

In this post’s example, I would expect to see a component for an individual Person with the props name and location, then a People component storing the ordered list in props. If the app does a lot of this general “maintain a sorted list with random insertions from over the net”, People would be wrapped by a higher-order component (https://facebook.github.io/react/docs/higher-order-component...) managing that. Otherwise there’d probably be a page-level custom component or just random stateful javascript pulling in the data and passing it down to People for rerendering. (I don’t know Redux to address the second half of his example.)

It’s ironic that the author advocates for immediate mode GUIs, because normal React looks and works like an immediate mode GUI with memoization. A component is a function responsible for part of the page. Its props are the input to the function and it returns a render of part of the page (possibly by rendering more memoized components). The cache is busted when props changes. There’s also a hack to be used sparingly called state so that small bits of UI state can be managed at a low-level instead of in their parent component.