HNHacker News
TopNewBestAskShowJobs

wiredearp

128 karma · joined July 16, 2012

submissionscomments
wiredearp··on Satellite Detects Largest Release of Methane in the World
How climate change might benefit Russia, two articles over on https://www.nytimes.com/interactive/2020/12/16/magazine/russ... and https://medium.com/predict/how-climate-change-is-transformin...
wiredearp··on El Salvador's Bitcoin Buys Tracker
The purchase probably helped drive the price to an all-time high.

If the president had his personal wallet stuffed at all-time lows, you could argue that the timing was perfect for him at least.

wiredearp··on Play with TailwindCSS in the Browser
Tailwind is a multi million dollar business [1] and I've found that the only credible explanation is they they simply hire people to leave positive comments in popular forums. The backenders who bite on it will eventually despair and "upgrade" to Tailwind UI which is a paid product. If there are real frontenders who buy into this, they are from a segment that have not followed CSS for the last ten years while being young enough, not to remember HTML 3.2 which appears remarkably similar to Tailwind and indeed gave birth to CSS; which if it had been inventented today would be hailed it as a giant leap forward. Well, CSS is still being invented today, but since the latest tech maps badly to presentational classes [2] they will never know about it. I use Tailwind every day and it's a disaster.

[1] https://adamwathan.me/tailwindcss-from-side-project-byproduc... [2] https://web.dev/state-of-css-2022/

wiredearp··on One in five UK households cannot afford to be online
Capitalism?
wiredearp··on Show HN: I made React with a faster Virtual DOM
It sounds like they would repaint the entire terminal on every single change, but that is not what the alternative to VDOM is. They could have skipped straight to the list of terminal commands without the overhead of diffing for an even faster result and that's of course not as easy as it sounds, but that is more or less what lit-html attempts to do with the strategy outlined on https://dev.to/thisdotmedia/lit-html-rendering-implementatio.... This of course comes with a different overhead, so the option to change a `style` property directly should still be considered an option that beats all these strategies if you are doing it sixty frames per second. The problem with VDOM is not with the technology, but with the marketing that has made us believe that such an approach is problematic and slow.
wiredearp··on Show HN: I made React with a faster Virtual DOM
The VDOM library will still need to manipulate the real DOM sooner or later, so the proposed performance boost of this abstraction is not relevant for browsers.

Since the VDOM runs fast in Node, you can execute your tests quickly in Jest. But since no real browser are running on Node, the value of this is perhaps questionable.

The browser can get a performance boost via serverside rendering and again it comes in handy that the VDOM runs fast in Node. But perhaps this solves a problem that the VDOM has caused, because React loads slowly and renders the slowest [1].

You can run the VDOM in Android and on iOS via React Native and this is all well, but the VDOM is holding the web back because we have come to expect all this from technologies such as Web Components that might load fast and render fast by virtue of not relying on it.

The virtual DOM is modelling the DOM, but the DOM comes with a model out of the box, it's called the Document Object Model and it is always in sync with the view without any constant performance tweaks. Asynchronous rendering can fix it until batched rendering solves it for good. But these are opposite rendering strategies! We are simply going in circles now.

A lot of the myths around the virtual DOM can be explained by unwillingness to learn the native API and we are mostly dealing with the fallout now. It's the same with CSS. Sorry for the rant and the abuse of your comment.

[1] https://twitter.com/championswimmer/status/14865018568345845...

wiredearp··on Programming in the Apocalypse
This guy Mark Lynas studied the models and wrote a book about it, but then he wrote it again based on newer models, so make sure to find the latest one called "Our Final Warning: Six Degrees of Climate Emergency" for a grizzly drilldown into the centigrades towards extinction. Few models deal with warming beyond three degress, in itself a point of some consideration, but the references are all there and here's the synopsis for the book.

> At one degree - the world we are already living in - vast wildfires scorch California and Australia, while monster hurricanes devastate coastal cities. At two degrees the Arctic ice cap melts away and coral reefs disappear from the tropics. At three, the world begins to run out of food, threatening millions with starvation. At four, large areas of the globe are too hot for human habitation, erasing entire nations and turning billions into climate refugees. At five, the planet is warmer than for 55 million years, while at six degrees a mass extinction of unparalleled proportions sweeps the planet, even raising the threat of the end of all life on Earth.

wiredearp··on Google mandates workers back to Silicon Valley, other offices from April 4
> People are not bound by physical means with the threat of death. Sure.

With how your health insurance depends on employment in the US, I kind of have the opposite impression that people actually do work under threat of physical harm; or violence, in other words, not unlike the working conditions of a slave.

wiredearp··on MDN Redesign
They once wrote a note over on https://hacks.mozilla.org/2019/09/caniuse-and-mdn-compat-dat... about why and how they differ.
wiredearp··on Google says Android tablets are the future, starts staffing up new division
You can even run Andoid apps on Chrome OS according to https://chromeos.dev/en/android.
wiredearp··on Deno Joins TC39
Ah yes, true, you always need to map the things ID to the thing itself, so that middle data structure is actually quite annoying :)
wiredearp··on Deno Joins TC39
new Map([[k1,v1], [k2, v2]]) can do that. Or Object.fromEntries with the same argument.
wiredearp··on Deno Joins TC39
Immutable data structures are on the agenda over in https://github.com/tc39/proposal-record-tuple and I would vote for that in Deno while I have the chance.
wiredearp··on Buried in Infrastructure Bill Is a Mandatory Backdoor Kill Switch for Your Car
With all this filibustering and owning going on, I imagine that it might actually serve the purpose of promoting legislation that both parties agree upon but which one or both can't openly advance for fear of serving the opponent a perceived win. But maybe I'm overthinking it.
wiredearp··on Germany locks down unvaccinated people, as leaders plan to make shots compulsory
That's because two out of three that get hospitalized are unvaccinated, or that's at least the case in Odense.
wiredearp··on Atlantic Ocean currents weaken, signalling big weather changes: study
Perhaps they argue for this case over in https://www.nytimes.com/interactive/2020/12/16/magazine/russ.... I haven't read the article, I just keep the bookmark around.
wiredearp··on FDA head asks for investigation into Aduhelm drug approval
If it's a fake drug that's been priced at a level to break American health care [1], they could potentially be this kind of employee that actually care or perhaps they just considered the corruption too obvious even for the FDA and wanted to clear themselves of charges.

[1] https://www.theatlantic.com/ideas/archive/2021/06/aduhelm-dr...

wiredearp··on The End of Retirement (2014)
Well I wasn't referring to the poor specifically. [We can't afford to live anymore](https://aninjusticemag.com/we-cant-afford-to-live-anymore-an...) and there are [good reasons](https://time.com/5888024/50-trillion-income-inequality-ameri...) for that. If you have zero savings by working three honest jobs and is otherwise left to die, you are if not a slave then at least a serf.
wiredearp··on The End of Retirement (2014)
If the combined cost of housing, education, retirement, childcare and healthcare amounts to more than any average person can earn during a lifetime, these advantages are in other words never comparative to your investment of time and labor, you could argue that the free market has instituted a form of slavery even if we call it reality. You are after all working under the threat of physical harm if your healthcare depends on employment and we call that violence. Except of course in America where we call it freedom.
wiredearp··on Using const/let instead of var can make JavaScript code run 10× slower in Webkit
The keyword instructs the human to immediately unassign any mental overhead reserved for tracking changes to the value while `let` or `var` indicates that further digestion is required to determine potential. I see some value in that. Stop using `const` for declaring named functions, though.
wiredearp··on Feds may target Google's Chrome browser for breakup
Internet Explorer.
wiredearp··on Declarative Shadow DOM
They did that already over on http://mdn.io/css/namespace
wiredearp··on Ginkgo Bioworks: Organism Engineering at Scale
Ginkgo's CEO explains in some interview [1] how they seek to become co-owners in the companies they involve with since apparently they are well funded for now.

"You’re a big company, and you have an idea for what you’d like a cell to do. You come to us, and we agree on the spec. We program the cell to do it. We give you that cell app. That’s our product. It’s essentially an intellectual-property license. We’ve written a piece of custom software for you, except it’s a custom genome inside a cell. You then take that back and build a business around it. The key is: I need to get a piece of that. It could be a royalty or - we just announced a partnership with Y Combinator - we can take equity in companies that are building on top of our platform. We want to make it so that everybody uses our platform to program cells. It’s much cheaper than it’s been historically. You want to start a biotech company? You’ve got to build a lab. You’ve got to get equipment. You’ve got to get all the lab materials. All these things are an enormous upfront expense, and it really limits innovation. So what we’re saying to the Y Combinator companies is: Just use our platform. We’ve already built all that. We have that huge fixed cost, and you get a low marginal cost. And I will program that cell for you in exchange for a chunk of your company. That’s the deal."

[1] https://www.bloomberg.com/news/features/2019-11-06/ginkgo-bi...

wiredearp··on Pika: Making it easier to find, publish, install, and use modern packages on npm
JS developers sometimes have the opposite impression, that computer scientists have conspired to repeat history in order to make the ecosystem look like something they know.
wiredearp··on EditorConfig: Consistent coding styles across various editors and IDEs
The `.editorconfig` file in question actually also instructs GitHub to display source code in your repository with a given amount of spaces-per-tab. Just place the file in the root of your repository:

  root = true
  [*]
  indent_style = tab
  indent_size = 2
That being said, GitHub's default setting can only be seen as a spaces mongering ploy to subvert the true usage of tabs.
wiredearp··on Trump says he is likely to support ending blanket federal ban on marijuana
That does makes sense, thanks.
wiredearp··on Trump says he is likely to support ending blanket federal ban on marijuana
What he would perhaps support was a bill to ensure that each state has the right to determine for itself the best approach to marijuana within its borders [1]. To me, this sounds different from ending the ban on a federal level, which is what the title would suggest.

[1] https://www.warren.senate.gov/imo/media/doc/STATES%20Act%20O... (PDF)

wiredearp··on Why I Left the U.S. 20 Years Ago and Why I Won't Be Coming Back
It could be argued that shooting your classmates is not that different from backstabbing your office colleguages in order to live out the american dream of coming out on top of everyone else; or at least that is what this guy does in https://eand.co/why-were-underestimating-american-collapse-b....
wiredearp··on Ask HN: Great science fiction movies?
There is a German sci-fi series on Netflix called "Dark" [1] that I would also grab the chance to recommend while it is online. I figured that it would have to be above average for Netflix to broadcast it internationally and it turned out to be quite superb (even if it is perhaps only tangentially science fiction).

[1] http://www.imdb.com/title/tt5753856/

wiredearp··on Macchiato – A way to build Node web applications using ClojureScript
Lumo took advantage of that already according to https://anmonteiro.com/2017/02/compiling-clojurescript-proje...
← PreviousPage 2 of 4Next →