HNHacker News
TopNewBestAskShowJobs

benregenspan

413 karma · joined September 9, 2010

submissionscomments
benregenspan··on Mouth bacteria partially spread depression and anxiety in newlywed couples
"It can be argued that deriving a conclusive understanding from our preliminary findings is challenging without controlling for confounders (e.g., shared diet, stress exposure, and frequency of intimacy)." Seems like "stress exposure" is doing a lot of work there.
benregenspan··on Sycophancy in GPT-4o
In doing so, you might be effectively asking it to play-act as an authoritarian leader, which will not give you a good view of whatever its default bias is either.
benregenspan··on Writing "/etc/hosts" breaks the Substack editor
It should be thought of as defense-in-depth only. The backend had better be immune to SQL injection, but what if someone (whether in-house or vendor) messes that up?

I do wish it were possible to write the rules in a more context-sensitive way, maybe possible with some standards around payloads (if the WAF knows that an endpoint is accepting a specific structured format, and how escapes work in that format, it could relax accordingly). But that's probably a pipe dream. Since the backend could be doing anything, paranoid rulesets have to treat even escaped data as a potential issue and it's up to users to poke holes.

benregenspan··on CVE program faces swift end after DHS fails to renew contract
I don't think that getting rid of most of the people who perform careful cost-benefit analysis and inspect for waste, and switching to a model of just cancelling everything and waiting to see what goes on fire, is "making the country a little better each day".
benregenspan··on A filmmaker and a crooked lawyer shattered Denmark's self-image
It's funny that reel is at IKEA, given IKEA's sketchily engineered tax structure, and that it's also the same company that paid off Romanian secret police under Ceaușescu.
benregenspan··on European word translator: an interactive map
This is very cool. Also, it seems like Romanian is the only language where the word for turtle translates literally to "shelled frog".
benregenspan··on Nepenthes is a tarpit to catch AI web crawlers
> But maybe it's misconfiguration on side of cloudflare user because I can remember they at least had a WAF product in the past

They still have a WAF product, though I don't think anything in the standard managed ruleset will fire just on quotes, the SQLi and XSS checks are a bit more sophisticated than that.

From personal experience, they will fire a lot if someone uses a WAF-protected CMS to write a post about SQL.

benregenspan··on Using Cloudflare on your website could be blocking RSS users
AI crawlers have changed the picture significantly and in my opinion are a much bigger threat to the open web than Cloudflare. The training arms race has drastically increased bot traffic, and the value proposition behind that bot traffic has inverted. Previously many site operators could rely on the average automated request being net-beneficial to the site and its users (outside of scattered, time-limited DDoS attacks) but now most of these requests represent value extraction. Combine this with a seemingly related increase in high-volume bots that don't respect robots.txt and don't set a useful User-Agent, and using a heavy-handed firewall becomes a much easier business decision, even if it may target some desirable traffic (like valid RSS requests).
benregenspan··on The protein Reelin keeps popping up in brains that resist aging and Alzheimer’s
Would expect to see research focused on compounds that increase Reelin expression too, in addition to direct supplementation. A mouse study a couple years later showing nicotine increasing Reelin expression: https://pubmed.ncbi.nlm.nih.gov/23385624/
benregenspan··on Polyfill supply chain attack hits 100K+ sites
I would agree with you if minification delivered marginal gains, but it will generally roughly halve the size of a large bundle or major JS library (compared to just gzip'ing it alone), and this is leaving aside further benefits you can get from advanced minification with dead code removal and tree-shaking. That means less network transfer time and less parse time. At least for my use-cases, this will always justify the extra build step.
benregenspan··on Common Google XSS
Very nice write-up, I like that you covered all the steps including initial research that led you to the target *.googleapps.com site.
benregenspan··on A journey into the shaken baby syndrome/abusive head trauma controversy
Domestic violence is higher where poverty rates are higher. (I am not saying that poverty is the sole determinant, but it closely correlates). You will find pockets of higher domestic violence throughout the US. I don't think you can rationalize bias like this, people with ethnic prejudice will look for any apparent fact pattern to support their preconceived bias.
benregenspan··on Bypassing YouTube video download throttling
The most interesting part of this (the bypass itself) involves executing a Javascript challenge. It's very convenient to do that from Javascript (the author mentions that Python implementations need to add a Javascript interpreter). Besides that, it's mostly async I/O which: 1) might be annoying in earlier versions of Javascript, but with Promises and async/await, it's very clear and readable (to me) in Javascript; 2) is the exact case (I/O-bound, not CPU-bound) where Node.js performs efficiently.
benregenspan··on The Health Hazards of Plug-In Air Fresheners (2017)
As long as the stove isn't a gas stove, since that's probably another one we can add to the list of things that we'll likely look back on with regret :)
benregenspan··on Toronto-area lawyer had to flee Canada after taking on the tow truck industry
The "3 kinds of ice cream in Poland" example runs counter to your argument, because it's actually a case where consumers benefit from choice. Consumers do not generally have choice of who tows them, and the OP article hints at the huge inefficiencies that come with private towing, and extent to which consumers aren't benefitting from "free market" competition in this case.

A gang war between two truck companies is obviously very inefficient, but so too is the extreme day-to-day competition for tows. You're right that the government-run scenario would involve idle capacity, but the OP article describes a situation where there is already an especially wasteful and ridiculous form of over-capacity (multiple drivers racing to the scene of a crash, a waste of fuel and labor capacity). The "surveillance system" you mention is already in place in the private towing example, it's just a wildly inefficient version that lacks centralized dispatch.

Government-run liquor stores are also a perfect counter-example to your point--their whole purpose is to not provide the most convenient consumer-friendly option possible, and instead to reduce easy access to liquor and attempt to rein in some of the negative externalities that come with it. For the record, I'm not a fan of that approach, but in many cases it's an example of government succeeding in what it set out to do, not the reverse.

benregenspan··on Visa, Mastercard, Others Reconsider Involvement in Facebook's Libra Network
> Zuck has his net worth tied to FB. Corporations are no angel, but they are accountable, and as such they are more trustworthy.

There is no scenario where Zuckerberg's net worth is reduced to an amount that one person is capable of spending in a lifetime. In terms of acting as an accountability mechanism, what is the difference between $100M and $65B?

> Moreover, when they screw up, they do not pass a law to force us to clean up their mess.

What was the Emergency Economic Stabilization Act of 2008 about then? And did the CEOs of any of the banks that were bailed out by TARP end up suffering any material deprivation as a result?

benregenspan··on Amazon Reconsidering Plan to Put Campus in New York City
And indeed, the full survey results (linked on the bottom of https://harrisx.com/2019/02/new-poll-shows-overwhelming-supp...) show that once they were asked about subsidies, most respondents (and 74% of those with an opinion on the subject) thought they were too high.

(That's without being prompted with the specific $ amount of the subsidies, as far as I can see. If they had mentioned the $4 billion figure, the response might have been even more overwhelming.)

benregenspan··on Thanks for the Surprise Integration with My Website, Apple
It's not freebooting, it's more akin to hotlinking. Which is arguably worse - they're using the author's IP and hosting infrastructure without offering sufficient credit or so much as a heads-up.

This could quickly make a side project unsustainable, if the owner of a (hypothetical, not this specific) project has limited $ for hosting costs. The author of the project can't make use of the obvious strategy of dropping in an ad or two to defray hosting costs because the images are being hotlinked. This kind of behavior would be a violation of the ToS on almost any site that has one; it would certainly be a violation of Apple's own ToS. But beyond that, it's just thoughtless and rude.

benregenspan··on React 16
Because it is hard to know the implementation details of every search engine and what reasons different markup could result in a subtle difference in ranking, I think the best way of answering this question is looking at the markup differences between HTML produced via ReactDOM.renderToString() vs. some other solution. In versions of React prior to 16, some extra attributes were added to the markup, but besides that it looked basically identical to what you'd get using any other method. Now there is even less difference, so it's hard to imagine React SSR having significantly different SEO characteristics.

But one caveat is that if you need to hydrate serverside-rendered React markup for clientside use, that will add at least some small performance penalty. And you will also want to pass in props data that matches as closely as possible between the client and server, which means that your base page will need to include some serialized version of the data that should be passed in as props to the component(s) you serverside-rendered and want to hydrate. If this is a large chunk of data, there could be negative SEO impact if it is placed above meaningful content in the page or if the time to download it delays complete load of the page.

benregenspan··on 16% of the code on the average site belongs to Facebook
It's 200KB minified, 60KB gzipped, so not quite that bad but still quite large. It definitely does more than you'd expect from the documentation on a page like https://developers.facebook.com/docs/plugins/like-button, and then there's all the other stuff I noted in OP like it including a ton of polyfills and legacy code.

An example feature the SDK gives you is the ability to subscribe to an event that's triggered once the user successfully adds a Like, there's all kinds of extra stuff like that buried in there that you wouldn't expect when you just want to add a Like button.

benregenspan··on Ask HN: Who is hiring? (October 2016)
Gizmodo Media Group | New York, NY | Full-time | Senior Frontend Developer

I'm a frontend developer/engineering director at GMG, where we're looking for a strong frontend engineer to help build new features to support a high-traffic set of media sites (Gizmodo, Kotaku, Lifehacker, Deadspin, Jezebel, Jalopnik) with very active commenting communities. Most of our frontend is Backbone/Marionette.js-based, with Scala on the backend, but we're continuing to evolve our stack; experience with React and Node is a huge plus!

More info here: http://gizmodo.com/careers/job/205905?gh_jid=205905.

We also have frontend and backend openings in Budapest -- see here for more details: http://gizmodo.com/careers/budapest#openings

benregenspan··on Washington Post Is First Paper to Call for Prosecution of Its Own Source
Fred Hiatt has run the Washington Post editorial page since 2000 and this editorial is entirely consistent with his past work. He's always pushed neoconservative positions and taken the word of sources like the House intelligence committee at face value. Amazon might well have financial interests in US intelligence, but it's very easy to imagine this same editorial being written with or without Bezos as the owner of the paper.
benregenspan··on Tesla Model S JSON API
(That said, they should definitely use POST here!)
benregenspan··on Tesla Model S JSON API
Exactly -- where does something that is designed for "state transfer" get you when the goal is to only temporarily modify a state/send a command that modifies internal state for X amount of time, not really "transfer" one at all? REST maps very nicely to CRUD operations, but not to this.
benregenspan··on Understanding web pages better
AirBnB went to a lot of trouble to make their Backbone app render on both the client and server-side, without need for building different views for each: http://nerds.airbnb.com/weve-open-sourced-rendr-run-your-bac... . This is a pretty awesome solution for those using Node.
benregenspan··on OpenSSL is written by monkeys (2009)
I'm tired of your elephantsplaining.
benregenspan··on Ask HN: Who is hiring? (January 2014)
RebelMouse - New York, NY (REMOTE OK) - Senior Front End Developer

http://blog.rebelmouse.com/talented_javascript_developer-245.... • developer@rebelmouse.com

RebelMouse is a social CMS that allows for easily creating beautiful sites. Users (which include Fortune 500 companies as well as individuals and media companies) use it to power entire sites as well as ads and user-participation features like http://www.corybooker.com/runwithcory. There are a number of interesting frontend challenges to work on here, as we're focused on letting users easily customize their sites significantly while remaining secure and easy to use. To this end, we're looking for a developer with strong Javascript experience, including use of Backbone.js, and experience architecting large web-apps.

Key requirements:

• Strong Javascript skills and a passion for front-end web development

• High level understanding of architecture

• Experience with AMD/RequireJS, Backbone

• Experience optimizing page speed

benregenspan··on Ask HN: Who is hiring? (December 2013)
RebelMouse - New York, NY (REMOTE OK) - Senior Front End Developer

http://blog.rebelmouse.com/talented_javascript_developer-245... • developer@rebelmouse.com

RebelMouse is a social CMS that allows for easily creating beautiful sites. Users (which include Fortune 500 companies as well as individuals and media companies) use it to power entire sites as well as ads and user-participation features like http://www.corybooker.com/runwithcory.

There are a number of interesting frontend challenges to work on here, as we're focused on letting users easily customize their sites significantly while remaining secure and easy to use. To this end, we're looking for a developer with strong Javascript experience, including use of Backbone.js, and experience architecting large web-apps.

Key requirements:

• Strong Javascript skills and a passion for front-end web development

• High level understanding of architecture

• Experience with AMD/RequireJS, Backbone

• Experience optimizing page speed

benregenspan··on Bitmessage – Send messages without leaking metadata
The whitepaper proposes to handle this by having nodes join separate clusters once their databases reach a certain size.
benregenspan··on Lavabit SSL Cert Revoked
According to the New Yorker piece on Lavabit yesterday (http://www.newyorker.com/online/blogs/elements/2013/10/how-l...), the owner was willing to add code tailored to tracing only Snowden's (or whoever it belonged to) account. The FBI turned him down and demanded the less surgical option.
← PreviousPage 3 of 5Next →