HNHacker News
TopNewBestAskShowJobs

moojd

461 karma · joined September 18, 2017

[ my public key: https://keybase.io/mooj; my proof: https://keybase.io/mooj/sigs/AfQQqgJbHRteeex6ikj_NIJ_3bk5Hss3VFXMWN5FToE ]

hn [at] jmoo [dot] io

submissionscomments
moojd··on Cloudflare S-1
Something doesn't have to be illegal for it to be a story and it's not ideologically inconsistent to agree that Cloudflare has the right to not serve these customers while also scrutinizing them for it. What is legal/illegal is not a substitute for a personal value system.

A company as large and important as Cloudflare disconnecting a client for moral or public outrage reasons is a big story and they should be watched with a careful eye even if you agree with the outcome.

moojd··on Living Near Trees, Not Just Green Space, Improves Wellbeing
Atlanta is great! There are places like this[0] inside the perimeter. My old apartment had a trail down to the river and we would drive half a mile up the road and then tube back down to my apartment.

[0] https://www.google.com/maps/@33.8906588,-84.4418735,3a,90y,1...

moojd··on The Cost of JavaScript in 2019
A good rule of thumb is to apply this technique for objects of 10 kB or larger — but as always with performance advice, measure the actual impact before making any changes.

Might be worth investigating if you have a ton of JSON.

moojd··on r/ChangeMyView Is Graduating Reddit: Introducing ChangeAView.com
It's not really an open source project (at least right now.) He's developing in a private repo and pushing releases to github every now and then. I don't want to speak for rolleiflex but he has mentioned in other threads that he is working full time on it and isn't really interested in public contributions or the politics involved of maintaining an open source project at the moment.

Link to aether thread: aether://board/86e782e80681ac580b4d6d102b12e787c066e59f194fee57bb0bf83cc1e42fc6/thread/e4871294ed115310e029a3b4c37b378ffefa7de490ef5b58bb1aeb1b1cbbea1e

moojd··on Reddit's user uprising against China because Tencent will invest in the platform
There is one (voat) but unfortunately it turned into a cesspool. What I would like to see is the concept of sub-reddits decentralized. Each subreddit could be it's own instance and you peer with the ones you like. It could even be API compatible with Reddit so app developers could just let users enter all of the domains they want to follow. If Reddit bans a subreddit they could just move to their own server and users could just add the domain to relay, sync, Apollo, baconreader or whatever
moojd··on Moving from Go to PHP Again
Neither amphp or reactphp will let you start running blocking functions in parallel out of the box. They basically just provide syntactic sugar for making single-threaded, cooperative multitasking easier by wrapping php's native ability to read/write to sockets asynchronously (or by using pecl extensions.)

So you can respond to websocket messages or http requests asynchronously but you're not going to be able to implement anything like a parallel merge sort were you offload work to other threads. Things like general purpose file IO are not easy at the moment either.

Amphp might seem a heavy handed because they've taken the monorepo approach. ReactPHP on the other hand has broken everything up into individual components. For example, you can get started with ReactPHP by just pulling in the event loop https://github.com/reactphp/event-loop. All the heavy lifting for the native loop is <200 lines https://github.com/reactphp/event-loop/blob/master/src/Strea... and the API is tiny as well https://github.com/reactphp/event-loop/blob/master/src/LoopI...

moojd··on Facebook adds 5 divs, 9 spans and 30 CSS classes to every post in the timeline
No, but there more and more lawsuits filed every year over website accessibility issues.

https://www.adatitleiii.com/2019/01/number-of-federal-websit...

moojd··on Reddit is raising a huge round near a $3B valuation
They did eventually nerf the algorithm. /r/t_d was abusing stickied mod posts to get on the front page and that got fixed. I think it was also partly because most of the pro-trump users and posts were concentrated in one subreddit causing inflated upvote counts.

/r/t_d also took advantage of the void left after the DNC primaries ended since the site was very anti-Hillary at the time.

moojd··on Event Sourcing is Hard
We did something similar to this for a CRUD app that needed to become append only, have a full change log, have approve/deny events, and the ability to be rolled back. We still had an event table, but instead of having event data it just had a reference to a 'shadowed' (versioned) entity in the entity table. Once an event is approved, you project the shadowed entity on to the real one. That way the ID of the real entity never changes. This worked really well for our very specific use case (simple CRUD events, monolithic app.)
moojd··on Happy Birthday, Ruby
"Ruby has its place and whilst you think Rails is "magic" the internet begs to differ. Of course any framework looks like "magic" if you don't bother digging into implementation details of it. That is the whole point!"

I think most people including many Rails proponents would agree that Rails has a huge emphasis on "magic" compared to other frameworks. It's a feature. Convention over Configuration implies magic and that is one of Rails' most famous tenets.

Love it or hate it, magic is Rails' modus operandi

moojd··on Blue Apron becomes a penny stock, trading under $1 for the first time
You can find fresh (not frozen), raw, already prepared meals that can be thrown in the oven, a pot, or on a grill at Kroger, Publix, Fresh Market, Costco and others. Those are great for when you're in a hurry and you don't want to waste time with the ceremony of putting together a meal kit. Meal kits are a weird compromise between a prepared meal and just following a recipe yourself.
moojd··on CDC Food Safety Alert: E. Coli Outbreak Linked to Romaine Lettuce
I'm used to eating cooked collards, mustard greens, turnip greens, spinach, and kale but I don't know why it has never crossed my mind you could do the same with something like romaine or lettuce. I imagine it wouldn't be too different.
moojd··on New Google Pixel 3, Pixel Slate, and Home Hub
I agree. I don't want a new phone right now, I just want to keep getting software improvements. I still have the OG Pixel and I really don't want to replace it. It has a headphone jack and it still runs as well as it did day 1. Unfortunately google will probably stop supporting it soon forcing me to get a new pixel to keep getting software updates.
moojd··on How Reddit plans to make money through advertising
How do their 'subreddits' work? It would be really cool if prismo was sort of an aggregate of independent 'subreddit' servers.
moojd··on Demand for Ruby on Rails is Still Huge
Good to hear! Might be time for me to check it out again.
moojd··on Demand for Ruby on Rails is Still Huge
It's been a while since I've played around with this but I remember the "Great package management" story to be lacking with .NET Core. It was tough finding packages that worked with Core. Has the package ecosystem grown?
moojd··on Apple Maps has been down for hours, users unable to search for places/directions
Anecdotally, it still can't navigate to my old apartment in ATL (a complex that has been there for decades.) There are also lots of rural areas I visit that Google Maps has no problem finding that Apple Maps cannot locate.

There has yet to be a time that Google Maps failed to get me within a couple of lots of my destination while Apple Maps has been off by more than a mile multiple times.

moojd··on Yarn registry was down
I think it's probably a good idea to run your own proxy/mirror of whatever package registry your language uses if you heavily depend on it being available. We proxy packagist at work, I'm starting to think we should do the same with npm. Has anyone here had success with any out of the box solutions?
moojd··on Permanent Daylight Saving Time? Florida Says Yes, but It’s Not So Simple
From my experience working with date/time I don't think there are any rules at all.
moojd··on Show HN: A CSS Keylogger
I could see this being an issue on sites that allow custom css (reddit)
moojd··on The screen that set off the ballistic missile alert on Saturday
I once got contracted to integrate with a large government web app that was created with some sort of legacy SPA generator. The app was written in .NET and the js on the page would render the views from specs it would get over XHR from the .NET app. It positioned everything on the page absolutely and everything was styled with inline styles. The people who manage it were quoting outrageous numbers to do the simplest style changes because it was so hard to work in. Very few improvements ever got made because the money was just not there in the budget to pay these ridiculous quotes.
moojd··on Spotify hit with $1.6B copyright lawsuit
They have a nice API for working with playlists. Dozens of services would pop up for ripping them if spotify goes EOL.
moojd··on Reddit CEO Cracks Down on Abusive Content to Protect Users, Attract Advertisers
I filtered out /r/the_donald forever ago and I'm only reminded of it when a new anti-trump echo chamber spams its way to the top of /r/all. Now I have dozens of those filtered but its hard to keep up.
moojd··on Reddit CEO Cracks Down on Abusive Content to Protect Users, Attract Advertisers
Also, one is sub meant for general political discussion and the other is clearly meant to be an echo chamber for one side's ideas. /r/the_donald is awful but at least it doesn't pretend to be impartial.
← PreviousPage 5 of 5