7,747 karma · joined Sep 15, 2007 (19y ago) · 2,391 submissions
comment 2y ago · link · parent
Not at all. When the incentive becomes not to do it, then it will stop.
> Yet you take no stock of the same operations the US already runs in other parts of the world.
Nowhere did I advocate for doing so, or continuing to do so. In general, the US has followed a reckless know-it-all policy of regime change that has backfired many more times than it has ever worked, and is overall a net negative even for the US.
This is different--it is a strategic public deterrent. It isn't directly goal oriented, only deterrence oriented, and any country will have a simple way to stop it at any time--stop putting disinfo into the US infosphere. And in fact, this works better if the US stops doing these things for any other purpose.
comment 2y ago · link · parent
Implement a fund dedicated to toppling hostile regimes and creating chaos for them via disinfo in their own countries.
Then, measure disinfo operations in the US, and allocate the funds to retaliation in-kind as exactly as possible.
comment 2y ago · link · parent
Well, that's a woefully short-sighted and zero sum way of thinking.
"an impressive 44.8% of Fortune 500 companies in 2023, equating to 224 companies, were founded by immigrants or their children."
So, it is more accurate to say that the US is abusing and exploiting other countries by stealing their job-creators and thus, jobs.
Source:
https://www.americanimmigrationcouncil.org/news/new-report-r....
comment 2y ago · link · parent
I'm not being snarky. What apps must be SPA's and why? I'm personally questioning where that line really should be.
comment 2y ago · link · parent
The other use-case is akin to giving a really big house to a hoarder.
comment 2y ago · link · parent
Reading this, the last thing I'd want to do is ever be in business with this person.
The WP Engine side seems much more reasonable to me. There are approaches where he could present the "low contributions" grievance, and even take some action on it, without seeming awful, but this isn't it. Even this "gesture," which could have been almost magnanimous, comes off as still awful because of the childish screed.
comment 2y ago · link · parent
This is exactly backwards, because of how corporate procurement works.
Large companies--the ones with money--have a whole process around working with new vendors. It can take months to setup. A security review, audit, and legal are likely to be involved.
Or, they all already have a contract with amazon and can start using the Amazon service providing X immediately.
From CTO to audit, risk, accounting, and compliance, everyone's life is easier if they use one vendor for everything, rather than 10.
comment 2y ago · link · parent
It seems like you took the marketing on the tin for open-source seriously. Have you had "the pleasure" of maintaining an open-source project?
Contributions are rare. They are almost always self-interested. "Giving back" isn't a factor as you often are helping the rare contributor by main-lining their code so they don't have to maintain a fork.
> As I see it, if your startup's business model relies on your core code being proprietary, you don't have a business model.
Reality begs to differ. Google, Meta, Instagram, Uber, Microsoft... seem to have business models.
comment 2y ago · link · parent
I used just a little bit of code to make it so when I command-click a filepath anywhere, it opens in IntelliJ. This works in the browser, on chrome links, (github, gitlab, jenkins, error pages, etc) and also in iTerm on stack traces, spec/test paths. I made a chrome plugin, a shell script, and used the remote control plugin (not mine). The result was super-satisfying. I'll probably open source the bits soon. Now, I didn't script the IDE myself--the Remote Control Plugin did that work, but for an open source solution, I wouldn't mind building a remote control plugin myself.
Making this work got me wondering about doing the same with an open-source editor. I also would like to drive things internally, but I want it to be easy so I get a good return on the effort.
75.
Ask HN: What code editors or IDEs are easily scriptable?
38 points · by ericb · 2y ago · 64 comments
comment 2y ago · link · parent
Good luck!
My solution is to ignore the deadline and do what's right and explain why, as I go. This will only work with great product folks, not mediocre ones.
comment 2y ago · link · parent
NATO doesn't threaten non-expansionist powers as a defensive treaty. Read the treaty. Being "admitted" into the west is easy--don't invade other countries, send little green men army invasions or make bellicose nuclear threats, and focus on business-first and the red carpet rolls itself out.
comment 2y ago · link · parent
Nato doesn't "expand." Countries join it for protection from predatory nations like Russia. Russia is NATO's greatest salesperson. Seriously.
comment 2y ago · link · parent
Your thinking in this area lacks depth. Think about what happens next after Russia is handed Ukraine. And after that.
comment 2y ago · link · parent
The US has to retaliate, as without doing so, it will hand world-domination to Russia, China and any two-bit dictatorship willing to use nukes. Moreover, Russia has repeatedly threatened European NATO members, and those members would rather the battle be fought in Ukraine than on their own turf.
comment 2y ago · link · parent
Russia is not interested in that--they'd be one of the worst losers in that scenario. Russia is interested in leveraging the fear of escalation to take every penny and inch of land it can get, though.
Letting Russia get away with bullying now is *more* likely to lead to escalation as it muddies the waters on how much they can get away with and when and if there would be a response.
comment 2y ago · link · parent
1 - Russia is tactically taking advantage of US caution. They amassed their forces on the border with Kharkiv in the wide open and used the head-start to launch an offensive there.
2 - At this point, the US has realized that Russia isn't going to come to their senses without a more decisive defeat. If anything, Russia is doubling down on their attack wish-list.
3 - Most importantly, Russia is launching espionage based attacks affecting Czech Republic, Estonia, Germany, Latvia, Lithuania and Poland.
At this point, Russia has broken the red lines, and so NATO is opening theirs in a tit-for-tat fashion.
comment 2y ago · link · parent
Elsif? How about a case statement?
A lot of the idioms are great until you need to debug them. At that point you have to replace them with non-idioms because you can't even debug the code you wrote without changing it. Why give someone grief for starting with something debuggable?
I dislike the social pressure and "Rubocop's Karen-ing" used to inflict these idioms when they are a mixed bag, at best, and demonstrably worse in cases.
comment 2y ago · link · parent
I've been using it. The experience is amazing!
Some highlights:
* In 7 lines of code, with no javascript, I had my index and view pages live-updating whenever a model changed on the server! It is spooky good. Nothing against JavaScript, but now I only maintain one ERB view and no SPA. This is a large dev speed multiplier.
* If you have a page with a parent object where you add/delete child items, you make your actions delete/add the child on the server, and once the object is updated, the page just re-renders with no visible redirect/reload.
https://dev.37signals.com/turbo-8-released/
A diff with comments: https://github.com/basecamp/turbo-8-morphing-demo/pull/4/fil...