Better HN
topnewbestaskshowjobs
Log inSign up

nullifidian

1,116 karma · joined May 11, 2017 (9y ago) · 423 submissions

Submissions

comment 6mo ago · link · parent

[deleted to avoid potential misinformation]

comment 9mo ago · link · parent

I should have converted it to $' ', yes. It was posix shell compliant this way tho. (probably written when I knew more python than bash).

comment 9mo ago · link · parent

>installing many packages

The issue is HOW MANY. This simple utility is in the 100-200 range, Zed editor is in 2000+ range. C/C++ software you find in distros is not only stabilized by the unstable/testing queue, which language repos don't have and don't plan to have, but also has 5-10x less dependencies on average.

comment 9mo ago · link · parent

I would rather check urls with the following method:

  echo -e -n "https://іnstall.example-clі.dev" | python -c 'exec("""import sys, unicodedata\nfor ch in sys.stdin.read():\n  try:\n    print (ch, " ", unicodedata.name(ch))\n  except ValueError:\n    print ("codepoint ", ord(ch))\n""")'
instead of putting my trust in the hundreds of crates in this tool's Cargo.lock not having a supply chain attack.

comment 10mo ago · link · parent

>Chechnya

So they invaded their own internationally recognized territory. Wonderful. By that standard Ukraine invaded Donbass after they declared themselves independent of Ukraine.

>Syria

Even more outlandish claim, considering they were invited by the government. Whether the west considered the government illegitimate or not didn't matter.

>Moldova >Georgia

in both conflicts in protection of a minority, on whose territory a larger state laid claim using Soviet drawn borders and dissolution of the USSR. Since the Ukrainian conflict started I observed lots of enthusiasm for Soviet borders on the side of Russia's detractors, which were often drawn with territories assigned as a form of favoritism, simply because communist leadership in Moscow had better a relationship with the communist leaders of one of the ethnicities in question. That way historic Armenian land of Artsakh was assigned to Azerbaijan for example -- the recent ethnic cleansing outcome of that is well known.

comment 1y ago · link · parent

I've been using "quasi-monopoly".

comment 1y ago · link · parent

If there had been something like this standardized in Markdown from the start, it might have had a chance for wide adoption. Right now, learning to see and use LaTeX math as easily as more ASCII-like notation is just more convenient since it is widely adopted (in GitHub, in VS Code, etc.). It's harder, but it also provides the added benefit of maintaining your LaTeX skills.

I think Google's Chrome team's choices of priorities bear a significant portion of the blame for this. They refused to implement MathML for the longest time, and even when it was implemented, it was partly done and financed by a third party. Without MathML, LaTeX-to-HTML JavaScript hacks became the norm, solidifying LaTeX as the standard even for non-typesetting use cases. Had MathML been implemented by Chrome early on, a more direct and easier translation from something ASCII-like to MathML would likely have been adopted.

comment 1y ago · link · parent

This reminded me of the anti-theming sentiment in the gnome developer community https://stopthemingmy.app/

comment 1y ago · link · parent

>Nvidia would be willing to cut into its margin to provide

Why would that be optional on a top of the line GPU that requires it? NVIDIA has nothing to do with it. I'm talking about defining an extended ATX standard, that covers PSUs, and it would be optional in the product lines of PSU manufacturers. The 12VHPWR connector support in PSUs is already a premium thing, they just didn't go far enough.

comment 1y ago · link · parent

>Because no PC power supply has a 24V rail

Servers with NVIDIA H200 GPUs (Supermicro ones for example) have power supplies that have 54 volt rail, since that gpu requires it. I can easily imagine a premium ATX (non-mandatory, optional) variant that has higher voltage rail for people with powerful GPUs. Additional cost shouldn't be an issue considering top level GPUs that would need such rail cost absurd money nowadays.

comment 1y ago · link · parent

>which obviously fall out of scope of the First Amendment.

It obviously doesn't. That would mean the US Government can ban all foreign press, just by designating countries as "foreign adversaries". And "foreign adversaries" is a euphemism for "countries that don't submit". The SCOTUS just invented another exception to the absolutist interpretation.

>wholly uncontroversial indictments of the owners of Tenet Media

>were charged with failing to register as a foreign agent

This entire narrative together with the banning of Tiktok is wholly hypocritical, given the American media, tech, and NGO's influence/dominance around the world.

The moment someone achieved what the American entities have been doing around the world, the non-stop wailing of "foreign adversaries this, foreign adversaries that" started.

Meanwhile in Georgia, a country bordering Russia, the law requiring foreign-financed NGOs to register was declared to "stigmatize organizations that serve the citizens of Georgia" with accompanying travel bans for the authoritarian evil doers who passed said law by the US state department.

comment 1y ago · link · parent

>What does this have to do with the First Amendment?

Because obviously changing the owner-editor of a media outlet has everything to do with their editorial policy. The SCOTUS just said that censorship is ok (and forcing the change of the editor is censorship, there is no doubt about it), as long as it's against another state's editorial preferences potentially having a significant audience in the country.

comment 1y ago · link · parent

Tiktok algorithms could be considered a form of editorial position(be it foreign government influenced one, or just the type of content they elevate / not remove), and in this sense it is similar to banning a newspaper(which would obviously be censorship) -- journalists could publish in other newspapers. Therefore banning TikTok absolutely is censorship.

>This isn't like China where the government bans any services they can't control

This is literally like this, and done precisely due to the lack of control due to the illegality of overt/direct speech regulation, and the fears that China would elevate content that isn't in the interest of the US in the broadest sense, but that is still legal according to the 1st amendment. The US Government has tremendously more influence on the local/western platforms, and on people who work there. (There is already an appeals court decision about Biden administration overstepping in communicating with online platforms about what content they don't like). The logic goes "We can't regulate speech like we want to, order what we like and what we don't like, but at least we can remove/censor individual owner-editors that we suspect might harbor some harmful intentions. That means no owners from 'evil' countries". That's about it.

comment 2y ago · link · parent

>Rust does not have a culture of "microdependencies"

It absolutely does by the C/C++ standards. Last time I checked the zed editor had 1000+ dependencies. That amount of crates usually results in at least 300-400 separately maintained projects by running 'cargo supply-chain'. This is an absurd number.

comment 2y ago · link · parent

Some amount of the risk from the "dependency jungle" situation could be alleviated by instituting "trusted" set of crates that are selected based on some popularity threshold, and with a rolling-release linux-distro-like stabilization chain, graduating from "testing" to "stable". If the Rust Foundation raised more money from the large companies, and hired devs to work as additional maintainers for these key crates, adding their signed-offs, it would be highly beneficial. That would have been a naturally evolving and changing equivalent to an extensive standard library. Mandating at least two maintainer sign offs for such critical set of crates would have been a good policy. Instead the large companies that use rust prefer to vet the crates on their own individually, duplicating the work the other companies do.

The fact that nothing has changed in the NPM and Python worlds indicates that market forces pressure the decision makers to prefer the more risky approach, which prioritizes growth and fast iteration.

comment 2y ago · link · parent

It's somewhat similar to 'recoll' in its functionality, only with recoll you need to index everything before search. It even uses the same approach of using third-party software like poppler for extracting the contents.

comment 2y ago · link · parent

"Vladislav Davankov" is a token "liberal". He's supposed to make such statements. Nothing that is uttered by Duma members is worth any consideration -- it's a complete theater.

comment 2y ago · link · parent

>given the age of this series

It's from the Jul 2019. Not very old. CPUs from the early 2010s, with enough ram, are still perfectly usable for light browsing and text editing tasks.

comment 2y ago · link · parent

I tried compiling mandelbrot.c (single threaded one) from the benchmarks game and execution on jslinux took 12 seconds, while webvm completed it in 1.2 sec. The host takes 0.03 sec with the same gcc flags.

comment 2y ago · link · parent

>Nobody can do anything and Russia is lost and has become North Korea. I don't believe that. >seems

Can you not sanctimoniously and arrogantly teach people, who actually live in it, what to do, from the comfort of your western home, while knowing almost nothing, as evident from this write up?

The first youtuber you linked is systematically misinformed blabbing head, the other one is an immigrant turned neocon. If these are your sources of information, and you don't know Russian, good luck understanding anything at all.

comment 2y ago · link · parent

the roots of silicon valley are in the decades of military contracts, initially, i.e. in the "government-sponsored industrial policy" https://youtu.be/ZTC_RxWN_xo?t=3546

comment 2y ago · link · parent

>So political change in russia is literally impossible

Precisely. It's basically impossible. There has to be at least be a generational change, or a severe economic / military loss if we are talking about this decade, but even that isn't a guarantee since the system is perpetuating itself with force, with economic self-interest to continue doing so. Isolating Russian citizens from western sources of information (in addition to what the Russian government is already doing by itself) is not only not helping, it's counterproductive, since rejection engenders a rejection in return, lowering the probability that an inflection point in the Russian history would result in anything western.

>countries change

Authoritarian countries change when their enforcement class relaxes and loses control. It takes decades for it to occur. If there is no relaxation, then no change occurs, as demonstrated by numerous countries, not only Russia. Right now the control and propaganda are very tight. "Wanting to make change" publicly is literally a life-threatening activity.

comment 2y ago · link · parent

Ah, yes, the remaining English speakers in Russia will overthrow the literal millions of the silovik class whose entire job is to repress (with violence) any independent political activity. There is no "lobbying" in Russia, if you didn't know.

If you hate all Russians just say you hate all Russians. No need for this "lobby your government" euphemistic BS.

comment 2y ago · link · parent

I think it's important to note that you can't use it commercially.

"The INRIA Non-Commercial License Agreement is a non-free license that grants you the right to use the CompCert verified compiler for educational, research or evaluation purposes only, but prohibits any commercial use.

For commercial use you need a Software Usage Agreement from AbsInt Angewandte Informatik GmbH."

12345
15