Better HN
topnewbestaskshowjobs
Log inSign up

arbitrandomuser

192 karma · joined May 25, 2021 (5y ago) · 108 submissions

Submissions

comment 1y ago · link · parent

How did that work though ? Isn't bitcode tied to a target triplet ?

comment 1y ago · link · parent

What is the AMD and Microsoft cshader compiler , how do I generate and inpect these intermediate codes on my computer?

comment 1y ago · link · parent

TS can be slow in some situations. https://github.com/tree-sitter/tree-sitter-julia/raw/refs/he... open this file with and without treesitter . And neovim will slow to a crawl with TS on. But the traditional regex highlighter can handle it fine. (a file such as the link posted above typically is never meant ot be opened since its machine generated , this is just to show you TS can be slow on large files)

TS is faster in other situations. for example with TS highlighting enabled entering "(" in the buffer is definitly faster in a julia file. (you can test this by holding down "(" in a .jl file and see the difference between TS enabled and only regex highlighting).

comment 1y ago · link · parent

would a steamdeck with one of those mini external keyboards do the job ?

comment 2y ago · link · parent

https://github.com/jpalardy/vim-slime

you can have a REPL in nvim/vim/tmux/screen/another terminal/or any other window , and send regions from your vim buffer to that repl

comment 2y ago · link · parent

i might be misunderstanding , but it seems easy if you want a vector orthogonal to A , generate a random vector B non co-linear to A and take AxB (cross product). AxB is orthogonal to A .

comment 2y ago · link · parent

thanks for the in detail reply and the two links

comment 2y ago · link · parent

>There's no "pass-by-reference", never_has_been.jpg. With pass-by-reference what you're actually passing is a value, of a pointer. So you're "duplicating" a value: of the pointer.

thats in c , i think c++ has references

comment 2y ago · link · parent

this is imo the secret sauce that gives people an edge and not a lot of people will want to reveal

comment 2y ago · link · parent

Terraforming is a great idea , but maybe before we try to control the entire atmosphere on another planet , how bout we start small with .. idk reversing the stopping and reversing last 50 years of atmospheric changes on our planet

comment 2y ago · link · parent

This . You just have to use fish for live interacting with the system aaand its great ,for everything else you can stick to bash.

Don't even change your default shell with chsh ,rather just point your terminal emulator to launch fish

comment 2y ago · link · parent

> WHAT? HOW AM I GONNA TYPE MY SENTENCES THEN!? goto visual mode , select region to capitalize , shift - U

comment 2y ago · link · parent

as others have pointed out question poster wanted to know the difference , and the top answer on SO was detailed enough to explain.

there was nothing condescending about at-least the top few answers ( i didnt go through all of them) and ironically by being snarky here , you are being the very thing you accuse SO of

comment 2y ago · link · parent

Isnt that analogue computation

comment 2y ago · link · parent

I didn't know what submechanophobia was , Is it really common to have a word for itself ?

comment 2y ago · link · parent

A very good exposition of this topic can be found in the Feynman lectures

https://www.feynmanlectures.caltech.edu/I_22.html

comment 2y ago · link · parent

Or as many as he can with networking

comment 2y ago · link · parent

Only hype no substance .... Yet

https://youtu.be/G98-34MBlaM?si=Lkbh26Az1Kv73eEa

comment 2y ago · link · parent

I hate it that all their explanations are videos and not articles I can read

comment 2y ago · link · parent

I wonder if they knew that they could get html versions of the paper by just changing the link from ...arxiv.. to ar5iv..

comment 2y ago · link · parent

> I'm currently building an AI email app called Shortwave [2]. I promise that has much better uptime and more consistent updates! > > [1] https://github.com/jwngr/sdow > > [2] https://shortwave.com

Welp! It's already hugged to deathi guess

comment 2y ago · link · parent

Don't the different phases from all the random path more or less cancel out , and significant additions of phases only come from paths near the "classical" path? I wonder if this reduction would still be tractable on gpus to simulate diffraction

comment 2y ago · link · parent

> > It's basically taking the first order perturbation of a Taylor expansion around a local minima. > > I'm not sure that's less complicated, at least for my level understanding.

You know Taylor expansions ? So every complicated function of x can be written as soe expansion of infinite powers of x, a0 +a1 ( x )+a2 ( x^2 ) ... And so on Every complicated force can then be written as a function of displacement x like this , now if x is small ignore the sqaure and higher order terms what you get is the linear part , which looks something like F = a1x + a0 , the a0 part only shifts the default position (you can rewrite x as x-c so that a0 goes to zero,) lo and behold you have F=Kx everything is like your familiar hooks law spring as long as x is small enough.

comment 2y ago · link · parent

> Please don't just rant about it, but explain, or link to an explanation, the difference so others can see if there's actually a substantial difference.

Fairly easy to look up and I just did , https://stackoverflow.com/questions/5078676/what-is-the-diff... but I agree , comments like this come across as smug and unhelpful. A few short lines explaining and a link would have been much helpful and greatly improves the quality of discussion on this site.

comment 2y ago · link · parent

What happens to io when ldd is run on a program ? Why doesn't a program that modifies a file not do the same when ldd is run on it ?

comment 3y ago · link · parent

Few really talk about the third and most important and relevant immediate concern that AI will enable concentration of power in the hands of a few,

Sure for most of history it's always been like that, but to quote Monty python "supreme executive power comes from the mandate of the masses " . You could get autocratic but at some point you always had to please the people below you and them below them and so on . There are "rules for rulers" as this cgp grey video explains.

https://youtu.be/rStL7niR7gs

Caeser needed the support of his legionaries, Hitler needed the Germans to believe in him ,

Over the years this dynamic has changed and oligarchies require less "support of the people" from mechanization and automation. AI is only going to accelerate this much more drastically.

comment 3y ago · link · parent

Oooh yes , found it in the settings

comment 3y ago · link · parent

Uhm nope , atleast not the one on playstore , is it there somewhere in the settings ?

comment 3y ago · link · parent

Helium is no 2 , and that too is pretty scarce on earth , but again helium is a very light gas and simply shoots out of the atmosphere eventually, Why is lithium rare

60.

Show HN: Curve Fitting Bezier Curves in WASM with Enzyme Ad(arbitrandomuser.github.io ↗)

2 points · by arbitrandomuser · 3y ago · discuss

1234