News for hackers. Stuff that matters.

mycelium

Re:Why should I have written ZeroMQ in C, not C++ (2012) on Wednesday April 22, 2020 @02:01AM (#22942716)
What did you replace it with?
Re:Ask HN: How do I overcome mental laziness? on Monday April 20, 2020 @02:16AM (#22921606)
What was the diagnosis process like? I'm in my early 30s and have been putting off trying to get an ADHD diagnosis (and medication) even though the symptoms clearly resonate, because I'm concerned that I'll be dismissed as just seeking pills. In college I tried to get diagnosed and was dismissed as lazy and just seeking a prescription. Did you have to deal with any of that skepticism?
Re:Engineers Shouldn’t Write ETL on Sunday November 04, 2018 @08:05PM (#18379043)
I would highly highly recommend ETL as service, after adopting it recently. It substantially changes your relationship with your data sources in a really positive way. And frankly, ETL for common data sources is code that you just don't need to write.

I would say that you should pilot with a few ETL vendors. We currently use Fivetran, they're fine but we've had enough burps that I cannot cold recommend them over other vendors. I cannot for the life of me remember the details, but I think we went with them over Stitch for pricing reasons.

Re:A Heretic's Guide to Deplatforming on Saturday November 03, 2018 @05:33AM (#18369389)
Wells Fargo has laundered billions of dollars for drug cartels, yet people have not stopped using them: https://www.huffingtonpost.com/rj-eskow/al-capone-meet-wells...

If people can't get off their asses to stop working with a company that has worked with organizations responsible for thousands of deaths, I don't think support of Gab is going to drive anyone's payment platform decisions.

Re:Confessions of a programmer: I hate code review (2010) on Monday October 29, 2018 @04:19AM (#18325797)
The inefficiency you speak of is not inefficiency of code review, but rather the inefficiency of reaching a shared, deep agreement on what your code should look like and how it should work. Code review is just a place that it pops up.

Thinking of it as inspection alone is a disservice to the cultural value of code review. You want a process that can teach a team member to contribute with lesser inspection? Code review.

I've typically found that with a new team or team member, initially there are a lot of patches returned for modification. After 3-9 months, it tends towards 80% of patches being one-shot LGTMs, the remaining 20% having spec issues or substantive style issues (ie. this module structure will bite us in the butt because...)

This idea of communicating shared knowledge also points at more efficient ways to do that, if CR is a bottleneck:

- Technical onboarding - Google does a great job of this. Taking time to explain how to work with your technologies, and what the expected code style is.

- Linting + style guides - Arguing over style is dumb.

Re:Confessions of a programmer: I hate code review (2010) on Monday October 29, 2018 @03:54AM (#18325698)
Completely disagree. I catch bugs, and have my bugs caught, at least a few times a month.

Beyond the "this will likely deadlock without a timeout", "this does not clean up after itself on exception", "if the cache is not hot, this operation you assume is 1 sec will take 1 min" type thing — one of the strongest points of code review is having a conversation about "this code is hard to understand" and turning code that's correct if you think about it really hard into obviously correct code.

It takes a reasonably strong reviewer to get there though, and that's not always possible.

Re:China’s hidden camps on Wednesday October 24, 2018 @03:47AM (#18290435)
Why was this article hidden from the front page? A similar satellite journalism article from the BBC about a killing in west Africa was allowed on the front page a few weeks ago.
The origin of those shared commands isn't from readline, but rather from emacs key bindings that made it into both readline and MacOS: https://jblevins.org/log/kbd
Re:MacOS Marzipan on Friday September 28, 2018 @02:28AM (#18091430)
Any particular sites/webapps you like as examples of hierarchical design? I am a tech lead and struggle to come up with anything better than Material Design's nav drawers with sub-items, or equivalent.
Re:Product Updates Based on Your Feedback on Wednesday September 26, 2018 @03:06AM (#18073435)
I build internal tools in my organization. Most of our developers are on MacOS and use Chrome day to day. Most of our users are on Windows. Whenever a browser specific issue comes up, we do our best to address it, but our first response is typically "go install Chrome". Chrome adoption is 97% internally, 2.5% Safari, and the remaining 0.5% is Edge. We have a 0% internal Firefox usage rate.

Draw from that what you may, but I bet that dynamic is happening in other places.

Re:Product Updates Based on Your Feedback on Wednesday September 26, 2018 @02:54AM (#18073370)
I'm on Mac OS 10.11.6 (15G22010). The regression might be due to some interaction between Firefox and changes in the OS, if you're on a more recent version.
Re:Product Updates Based on Your Feedback on Tuesday September 25, 2018 @10:53PM (#18072361)
I spent a few minutes trying to replicate on a MacBook Pro (Retina, 13-inch, Late 2013) with Firefox 62.0.2 and could not replicate, browsing a number of resource intense sites.
Re:Amazon Investigates Employees Leaking Data for Bribes on Sunday September 16, 2018 @08:09PM (#18002102)
Former employee and it's been a few years, but for what it's worth I was actually very reassured by what I saw there in terms of internal data security. For all products I worked with or knew something about in an engineering capacity, there was no unlogged access to personal data. Access to personal data without clear, approved reasons would result in termination. The controls were extremely strong.

I'd be more concerned in Google's case about "legitimate" but still problematic uses of data: disclosure to law enforcement, crazy specific ad targeting, machine learning for military applications, etc.

Re:The Causal Revolutionary – Interview with Judea Pearl on Sunday September 16, 2018 @07:41PM (#18001965)
there are whole other approaches to the problem... which are extremely successful in practice, with real observational data sets.

I'm going to echo my sibling commenter, would love to hear it if you have any pointers on where to start reading.

I'm a software engineer but data work comes up all the damn time. Seeing coworkers approach causality in a hand-wavy way without knowing a more rigorous approach to suggest is frustrating! I had hoped Pearl's book was exactly that.

Re:Is the Second Farm Crisis Upon Us? on Sunday September 16, 2018 @01:14AM (#17997413)
One counter-argument to agriculture is Jared Diamond's classic article: "The Worst Mistake in the History of the Human Race"

http://discovermagazine.com/1987/may/02-the-worst-mistake-in...

Re:Ask HN: Favorite books on how to be a good manager? on Friday September 07, 2018 @01:45AM (#17932128)
If your first thought is "Oh ----, I'm a manager now. How the hell do I do this?" I'd highly recommend The Effective Manager by Mark Horstman. It's prescriptive in a helpful way, and was brilliant in helping me find my footing when I started management.

His podcast Managager Tools is also excellent, and has deep archives addressing pretty much every question under the sun: https://www.manager-tools.com/map-universe/hall-fame-highly-...

Re:GitLab is working on a tool just for data teams on Thursday August 02, 2018 @01:13AM (#17669354)
Thanks to both of you for your time doing that discussion!

@slap_shot and anyone else — I'm curious if you have thoughts on, or even have heard of the Ballerina language? It's a programming language for doing data integration work, built by the ESB/integration consultancy WSO2. It seems to have a lot of eng resources sunk into it but surprisingly little fanfare.

The CEO's interview with the Software Engineering Daily podcast was great: https://softwareengineeringdaily.com/2018/07/12/ballerina-la...

The language site tends toward buzzword-salad, but clearly has had a lot of love and thought put into it: https://ballerina.io/philosophy/

No, it sucked.
And to pile on the anecdotes, I've been in the exact opposite situation where we needed somebody right now to handle a new requirement, and we hired someone "pretty good" after already taking longer than the rest of management was happy with to hire.

They ended up being pretty weak, having trouble shipping, eating large amounts of onboarding and management attention, as well as other engineers patching up their work to make it serviceable. They were just good enough to make it seem worth the slog too, so they sucked a bunch of extra labor out of everyone else for the better part of a year before they left.

In retrospect, I made the right decision with what I knew in the moment — but with 20/20 hindsight I should have waited.

I'd highly recommend the xonsh shell for scripting if you're familiar with python: http://xon.sh/tutorial.html

Once you do tutorial and learn the rules for going between shell and python, it's super easy to slice and dice.

I have always disliked that moment of "yes, a shell script is probably the best tool for this job" that then leads me to banging my head against bash syntax for an hour. Python libraries like `sh` are great, but still a little high overhead. Now the twice a month I have to shell script I find to be pretty fun, and I'd highly recommend xonsh.

Great PyCon 2016 talk on it here: https://www.youtube.com/watch?v=uaje5I22kgE

Re:Working remotely, 4 years in on Monday February 19, 2018 @05:07AM (#16411925)
No-install, no sign-in is amazing. Appear is one of the services I've referred people to the most, for just that reason.

The main critique I have is their push to monetize as of late has been clumsily executed in my experience of the product. The expanded "pro" features have shifted around without enough heads up. The chatroom ownership system is not at all clear in how it interacts with paid accounts. We abandoned a few rooms used widely in our org until we figured out whose random account we had used to own a room earlier (from a prior push by Appear for room ownership) and got ownership transferred to a paid account.

Re:MongoDB gets support for multi-document ACID transactions on Thursday February 15, 2018 @06:28PM (#16388697)
This completely squares with my experiences as well — a lot of instances of complaints about management are hollow because developers aren't managing upward correctly. Their followup on their issues is missing, or non-actionable.

Do you have any resources you've found helpful improving your skill at this?

Re:Older Entrepreneurs Do It Better on Saturday February 10, 2018 @11:54PM (#16351265)
> You don't clarify what you mean by "a good thing."

To be fair to the grandfather comment, that was the point.

Re:Copy-on-write friendly Python garbage collection on Monday January 01, 2018 @10:12PM (#16049576)
My default stack is almost exactly yours, except

> gunicorn

Any particular reason you use it over uwsgi? I last did real research in 2013 and have not revisited since then.

Re:The State of JavaScript 2017 on Wednesday December 13, 2017 @04:10AM (#15913054)
Some quick ones I did for myself:

Frontend frameworks: https://i.imgur.com/Sd1g5zw.png

State management frameworks: https://i.imgur.com/HCD32bo.png

Re:You Can Learn Glass Blowing (1938) on Sunday December 03, 2017 @04:17AM (#15836764)
The awesome youtube channel Applied Science put out a 40 minute intro video to melting your own glass a week or two ago, going into the equipment, chemistry and recipies: https://www.youtube.com/watch?v=mUcUy7SqdS0 In particular, he talks about making your own photochromic glass that changes color in response to light.

I'd highly recommend his channel to anyone interested in science and fabrication.

Re:Clojure Design Patterns on Sunday November 26, 2017 @02:47AM (#15779890)
I try to shift from Ruby (on Rails) to to Clojure. But I feel hard to rewrite mountains of RoR convieniece and habits into Clojure (1.day.ago, named routes, ActiveMailer, encrypted cookie etc).

This seems like a bad idea from a business value perspective. What value is delivered by translating mountains of code? Probably none, being honest.

As I am also partially Java guy, I came to conclusion that migration of project into JRuby and then embedding Clojure parts gradually might ease the transition.

Don't transition everything, giant waste of time. Run ruby/rails on jruby, then package the core Clojure logic up as a library, and call into it from rails where needed. Clojure is your core logic, ruby/rails is the web front end to that core.

Re:Tufte CSS on Monday November 06, 2017 @06:31AM (#15634765)
All of the gov.uk guidance (not sure about the research) is excellently written up. This is a great start: https://www.gov.uk/guidance/government-design-principles
Re:My essential django package list on Wednesday October 11, 2017 @12:33PM (#15451010)
In general Django REST Framework is a better package. Hooking in your own customization is less ad-hoc with DRF than with Tastypie, I've found. The DRF documentation is also absolutely stellar and the wider ecosystem around it is really good.

edit: And to my sibling commenter's point, DRF has a funding model, so it's being actively worked on full time.

Re:Finding Waldo Using Semantic Segmentation and Tiramisu on Saturday October 07, 2017 @10:00PM (#15426652)
Thank you much for the substantive thoughts. As an every day working programmer, it's nice to hear higher level thoughts that explain the wider context of "NNs play mario". We're looking to include some ML based features in our product and I like to hear intuition from practitioners as to what actually works and wtf these things are actually paying attention to. I've followed the Alpha Go competition closely in hopes of gaining better insight, but it still ends up being a ton of woo.

Older »