Hacker Newsnew | past | comments | ask | show | jobs | submit | parminya's commentslogin

or the go one:

$ go run github.com/eliben/static-server@latest


JSX and PHP are actually seriously different. When you break out of PHP, you're just outputting text to standard output. When you're using JSX syntax, you're constructing Javascript objects that can be manipulated using standard javascript techniques. Anyone who believes they're comparable seriously doesn't understand the task that is before them.


Oh please, I professionally use both daily (enjoy them both), but even I can see JSX is just PHP with extra steps.


Though not JSX, with TSX you get type checking with your markup.


My reading of this thread is that people are comparing JSX as a templating language to PHP as a templating language, splicing PHP <? ... ?> into HTML like how we have { ... } in JSX. At the end of the day React lets you write a function that returns HTML just like a PHP file.


Firefox on iPhone is Firefox on iPhone, but it uses WebKit instead of Gecko.

Chrome on iPhone is Chrome on iPhone, but it uses WebKit instead of Blink.

The reason this is important for you to keep in mind is because Firefox is whatever Mozilla says Firefox is, and Chrome is whatever Google says Chrome is. There's no reason to suppose the iPhone version of some product should share any code with the Android version of the same product.


Nix is also generally run as a daemon. It doesn't have a dependency on systemd and it does run on MacOS. I think also it runs on FreeBSD in principle.

The parent poster was probably conflating NixOS and Nix. NixOS is a way of using nixpkgs to build/configure and install/upgrade an operating system based on Linux and systemd. But you are not obligated to use systemd just because you're using nixpkgs.

NixOS uses sytemd for essentially the same reason other Linux distributions do: most user environments are now built with the assumption that systemd underlies them if Linux does as well. In principle you could fork nixpkgs and make all the necessary changes to remove the systemd assumption - managing a NixOS system and hacking on nixpkgs are basically the same skillset so it's not like managing an Ubuntu system where you would have to become familiar with how Ubuntu gets built. With nixos, the command is the same whether you're building an entirely new distribution based on a custom fork or whether you're just downloading builds of the latest security upgrades. Aside from the actual energy it takes to maintain a second system manager, you would only have to wait for the builds to complete rather than learning how to build everything. But so far no-one who has tried that has got enough traction - the cost-benefit just isn't there. Honestly, I think this is part of the reason people are offended by NixOS in particular using systemd: it feels like it should be possible for you to remove the systemd dependency, but you haven't done it.


The change in discussion quality has occurred because old Twitter had an objective to cultivate one particular quality of discussion, and Musk Twitter has an objective to cultivate a different quality of discussion. These goals were stated up front by the respective decision makers. Any particular technique is simply a tool for the job. If old Twitter or new Twitter thought a method would aid in their quality cultivation goals, then they would have adopted it: if it proved counterproductive, then they would drop it.

So there is almost certainly a correlation to the boost that is given to comments. But even if it is a causative correlation, the ultimate cause is not the bluecheck boost, but the desire of the decisionmaker.


It's much easier to label buttons when you work for a small company, because you know exactly who does what and exactly who is responsible for labelling the buttons and you know exactly what's going to happen to you when you label them, so you just do it and have that debate whenever it happens. Bystander effect, etc.


It's true but that falls more into the explanation-not-excuse category. I bet there's someone advocating for better ad partner integration and driving projects for that - no reason they can't have it for UX/UI/Accessibility too.


How is this not a breach of the constitutional protection for the right to freedom of assembly? A caucus, in particular, is literally an assembly. Surely for elections to be free and fair, the private associations who put forth candidates should be able to freely determine who those candidates are.


Not counting the delegates isn't preventing the assembly.

The constitution doesn't ensure free and fair elections, unfortunately, as is demonstrated by the fact that states can pass laws regarding primaries that are mutually inconsistent. States A and B can both pass laws saying they have to have the first primaries in an election.


Going a step further, the constitution doesn't require states to have their citizens vote on the delegates to the electoral college. The state (Legislature) could decide that the Electors are actually always for one party's candidate and that no state wide election is necessary.

> [1] Each State shall appoint, in such Manner as the Legislature thereof may direct, a Number of Electors, equal to the whole Number of Senators and Representatives to which the State may be entitled in the Congress: but no Senator or Representative, or Person holding an Office of Trust or Profit under the United States, shall be appointed an Elector.

[1]: https://constitution.congress.gov/browse/article-2/section-1...


> The state (Legislature) could decide that the Electors are actually always for one party's candidate and that no state wide election is necessary.

There is plenty in the constitution and in case law that would apply if a state effectively tried to prevent citizens from exercising the franchise. It's not like the topic has never come up before.


I welcome you to quote from the constitution that applies.

The case law uses the 14th amendment which also does not mention the word voting anywhere so again, strictly looking at the text of the constitution, states do not need to allow their citizens to vote on the president.

The case law is also strictly only focused on can you deny voting to some but never the question of to all.

> [1]: All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside. No State shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any State deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws.

[1]: https://constitution.congress.gov/browse/essay/amdt14-S1-8-6...


There was an attempt to do this at some point in Alabama. I can't find it right now but a group made up a bunch of "Who decides your X? The party or the people?" with hammer & sickle logos on it.


I'm always surprised there aren't troll billboards in the south of "Vote Red for Socialism" overlayed on a Soviet flag.


"Tire" and "curb" were once the normal spellings in the UK; "kerb" is an innovation whereas "tyre" is either an innovation that is coincidentally the same as an archaic spelling, or the restoration/repopularisation of an archaic spelling. The spelling "kerb" upsets me whenever I see it because it's clearly referring to the curvature of the kerb, but fortunately I almost never see it.

Likewise, spellings like "programme" are deliberate changes to mimic the French spelling. These have been rather more successful than they have any right to be, but some have completely failed (like "gramme") and a lot of people still use the older spelling.

-ize, also, used to be the standard spelling with -ise an alternative also found in the UK. In this case, it's clear that an understanding that -ize is used in the US and -ise is used in the UK became an understanding that -ize is the US spelling and -ise is the UK spelling which raised its currency. But I think they both remain in use in the UK (-ise has more-or-less chased out -ize in Australia though).

-or spellings like "honor" and "color" were once much more common in places where they are now rarely seen and vice versa. To an extent they follow the same story as -ize/-ise, with the US standardisation of one chasing its use out in the UK. In Australia, -or was much more common (than now) when the power to distinguish oneself from was the UK, but now that the main power one needs to distinguish oneself from is the US, -our has chased it out except in the name of the Labor party (because the paperwork was filed by someone who happened to prefer the shorter spelling in a time when both were current) and some uses of "honor" that are literally etched in stone. (The last general use was until about the year 2000, by "The Age", a Melbourne newspaper which used -or as its house style, but by then it was seen to be improperly American and they switched to -our.)

Generally, spellings and spelling variations remain open and subject to gradual change in all English-writing countries.


I don't think they're concerned so much by the people who don't know what a flat is, but by the people who do. There's more than a handful of bookreaders out there who are very protective of any difference between their national form of English and some other national form of English, who will get upset if a local publisher uses the foreign form.


Seems really strange to me not to defer to whatever the author wants.

Having said that, I don’t disagree with what you’re saying.


Why would such people read things written by a filthy foreigner?


How can you trust any company you pay to stay up even if you are their customer? I've used discontinued products before. Paid subscriptions to companies that merge with others and the service no longer really exists.


The chances of a company that runs on mystical grants vs one that runs with actual customer money just suddenly going under are different.

It's like Google's stuff. It's free, but you're not the customer, you're the product.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: