HN user

mshenfield

561 karma
Posts20
Comments164
View on HN
www.nytimes.com 7y ago

Walmart’s Veggie-Tracking Blockchain Technology

mshenfield
1pts0
www.nytimes.com 7y ago

In Anarchic Corner of Copenhagen, Police and Dealers Play Cat and Mouse

mshenfield
34pts55
mapzen.com 8y ago

Hosted Services Are Hard (and So Can You)

mshenfield
1pts0
honggfuzz.com 9y ago

Honggfuzz

mshenfield
2pts0
dave.cheney.net 9y ago

Why Go and Rust are not competitors (2015)

mshenfield
4pts0
stackoverflow.com 9y ago

What are the dark corners of Vim your mom never told you about?

mshenfield
3pts0
modern-sql.com 9y ago

Literate SQL

mshenfield
221pts95
jaredforsyth.com 9y ago

When will ReasonML be ready?

mshenfield
4pts0
blog.codeship.com 9y ago

Growing Your Tech Stack: When to Say No

mshenfield
2pts0
subreddit-algebra.science 9y ago

Show HN: A front end to 538's article on subreddit similarity

mshenfield
1pts0
news.ycombinator.com 9y ago

Ask HN: Why isn't there a widely accepted replacement for regular expressions?

mshenfield
2pts2
www.reddit.com 9y ago

R/rust April Fools Theme

mshenfield
1pts0
news.ycombinator.com 9y ago

Ask HN: Is there a consensus on CSS in JavaScript yet?

mshenfield
3pts3
mcfunley.com 9y ago

Choose Boring Technology (2015)

mshenfield
1pts0
docs.freebsd.org 9y ago

FreeBSD Mailing List Post Credited with Popularizing the Term “bike shedding”

mshenfield
3pts0
developers.google.com 9y ago

Scroll Anchoring in Chrome 51

mshenfield
1pts0
news.ycombinator.com 10y ago

Ask HN: Define software “bloat”

mshenfield
1pts1
medium.com 10y ago

Eventbrite Design: An evolutionary process

mshenfield
2pts0
www.archivecorps.org 10y ago

Jason Scott: Archive Corps

mshenfield
7pts1
qz.com 10y ago

Short Story on the Future of Fulfillment Inspired by “Amazon Picking Challenge”

mshenfield
1pts0

25k per unit, assuming the battery lasts 5 years, is uneconomically high at $5k/year per home.

A 100kw generator can produce enough power for 100 homes, costs ~$50k all in, and ~$1k per day in fuel costs to run during an outage. Assuming the generator also lasts 5 years, that's only $100/year per home, 50x less than the battery solution.

Batteries are for the foreseeable future way too expensive.

I've never seen anyone directly make this case. Most people seem to want their colleagues (many of whom are friends) to keep their jobs more than they want the stock price to go up.

I'm still not convinced VSCode is faster and better. My Atom setup was never slow, the only thing that wasn't instantaneous was code completion. For me, it felt like VSCode came out of nowhere and surpassed Atom for inexplicable reasons.

Twitter won't die, but it won't make much of a profit either. Elon Musk will find another buyer in 2 years for $25 billion and make most of his money back while leaving the company saddled with most of the $11 billion in debt financing.

These tools are amazing for prototyping. I had an idea for a promotional poster, and seeing my idea just by writing it felt like magic. The generated image had too many artifacts to use, but gave me a guideline to follow when creating the real thing in Pixlr.

AI content generation (text, image, source code, video, music) will be a huge boon for prototyping where applied judiciously.

I had the luck of getting to interact with Simon a little at my first real programmer job at Eventbrite. You would never know meeting him that he was one of the creators of Django, (and TIL querySelector!). He was infectiously curious and excited about programming in a way that bubbled over to most people he interacted with. He would also enthusiastically engage with what you were working on, even the beginner project I had at the time. I don't know him well, but my impression was not just of a great programmer, but a great colleague and an authentically positive person.

Congrats on twenty years!

A Trail Tale 4 years ago

Love everything about this. The 6+ lawyers of parallax background really make it feel alive.

Is the background generative in some way, or is each layer in a loop?

Sunsetting Atom 4 years ago

I used Atom for a long time after it was cool. I just loved the idea of an editor I could extend using the standard web tools and frameworks. Overall love this project, and still am a little miffed that VSCode ate their lunch. Best of luck on everything Nathan and the team do.

Thanks for acknowledging how much harder this is when you use a cloud-specific feature. Modifying your codebase to migrate off some cloud specific service seems like it would be by far the hardest part of switching clouds.

Even though this begins with a pitch for empowering tenants, the customers are the landlords. The value for landlords comes at the expense of tenants in several ways.

* It prevents tenants who don't meet income or other requirements from even looking at the unit.

* It makes tenants liable for noting damage as soon as they view a unit to avoid it being attributed to them, a daunting task.

* And it removes a face to face interaction that forces some accountability on landlords who don't provide a clean/cared for unit.

Notably absent is a mechanism for tenants to provide feedback to landlords on the listing. The Questions feature is helpful, but not designed for concerns/praise.

I used d3.js for one of my first programming projects. I was grateful and impressed that almost every question on Stack Overflow was answered by Mike Bostock or Jason Davies.

I'm (a little) older and (a little) wiser, and know this kind of support is a huge amount of work. It sounds like "focus[ing] on learning and broadening your perspective" is what fueled all those answers I so appreciated.

This list is self-consciously blunt/rude (correlating programming practices with intelligence and sanity) and unaccountable ("who knows what I'll believe in a few more years"). It's an annoying combination. I imagine many reader will haughtily deploy these commandments against their colleagues.

The opening and closing lines are "real conspiracies do exist". Because of that, I didn't feel like the article claims that "people in power never do wrong".

The downside is that this makes it really easy for developers to avoid making an actual API. The turbo frames _are_ the API. Great to bootstrap, but miserable if you ever want to implement a native mobile app (or any other client) on top of the same codebase.

Intellectually I understand the comparison (politically motivated destruction of businesses) but it's so tone deaf.

The scale and consequences of Nazi Brownshirts and Kristallnacht - 7k businesses destroyed, 30k Jewish men arrested, by a racist state that would eventually kill them - are incomparable to what's happening here in Seattle.

Appreciate this perspective!

I feel like I'm indirectly supporting his politics by engaging with his weather content. I'm generating ad revenue as a reader. And I'm increasing the size of the platform he can claim, which he can leverage for books, speaking gigs, etc. to promote whatever views he deems important. It's easy for me to find another weather source.

Cliff Mass spoiled himself for me with this asinine blog post comparing Seattle BLM protesters to brownshirts in Nazi Germany [0]. It feels icky to get behind someone who will use his platform to sling ridiculous accusations and accept no criticism [1].

It's a shame - his weather reporting is uniquely good and fun to read.

[0] https://cliffmass.blogspot.com/2020/08/seattle-city-in-fear-...

[1] https://cliffmass.blogspot.com/2020/08/my-firing-at-knkx.htm...

EDIT: Fleshed out criticism of the original blog post:

http://www.dailyuw.com/news/article_8421ecd2-d90c-11ea-9e91-...

First contentful paint (FCP) is basically the same (+-10ms) from React down to a raw HTMLElement. I guess at some point appending elements to the DOM is the bottleneck, rather than the overhead of parsing JS and the efficiency of said JS.

To get a faster FCP, statically rendering the component to HTML and re-hydrating it in the client (using Gatsby, for example) seems like it will have a bigger impact than the WebComponent library used. Unless the client is bandwidth constrained of course.

I've looked into Brython and other "Python in the browser" implementations (transcrypt.org, pypyjs.org). It's fun! At a high level, the approaches are:

* Create a Python interpreter that is able to run Python code directly in the browser (PyPy.js, Brython)

* Transpile Python code into JavaScript and send that to the browser (Transcrypt, which also does a lot of tree shaking to keep the transpiled code efficient).

Here are the benefits, IMHO:

* Share helper code and class definitions across environments

* Most of the std lib, and a handful of popular 3rd party libs, are supported

* In the rare happy path, only have to think about one programming language.

The downsides are:

* Slow. For the "send an interpreter" approach (Brython, PyPy.js), the browser has to compile a whole compiler before moving on to running your code.

* Incompatibilities. For Brython and Transcrypt, C parts of the standard lib have to be re-written in Python for compatibility. So when you're importing something from the itertools package, it's actually a custom implementation like this: https://github.com/brython-dev/brython/blob/master/www/src/L.... The custom code will not always be exactly compatible with the CPython implementation.

* Incompleteness. Some std libs aren't implemented, or are only partially implemented. 3rd party libs that rely on these will not work. Popular 3rd party libs like sklearn which get their power by wrapping C/Fortran libraries need custom wrappers that don't exist (AFAIK) yet.

* You still gotta JavaScript. Even in the best transpilation scenarios, things break and you have to figure out what the generated or interpreted code is doing. This is especially tough for Python in the browser tools, which aren't widely used, so have both undiscovered bugs and a lack of community support. In my experience, working in a transpiled codebase doesn't mean you have to learn one thing, but three: the source language, the target language, and the frankenstein monster of the logic/compromises bridging the two.

* Tooling. The ecosystem hasn't reached a critical mass to support tooling. It's unclear if there's enough excitement in the Python community to get it there.

With all that said, unless you're a true believer or just want to have a little fun (again, it is fun!), I wouldn't recommend this.