Better HN
topnewbestaskshowjobs
Log inSign up

davidgrenier

392 karma · joined Apr 26, 2014 (12y ago) · 274 submissions

Submissions

comment 4d ago · link · parent

Also, and I assume they don't have a physical chip. In that regard, when considering performance per watts, the obvious comparison would be against the Mill architecture.

comment 2w ago · link · parent

A SAT solver in F#. The performance is surprisingly unintuitive, even for unsatisfiable problems.

comment 3w ago · link · parent

I'm reading O(1.3289^n) for 3-colorability.

comment 3mo ago · link · parent

I was assuming the event horizon would also have a donut shape around the ring singularity.

comment 5mo ago · link · parent

I think he's talking about company enshittification because of marke pressure, and not direct fraud though I haven't read the book.

comment 6mo ago · link · parent

Yeah I guess two companies who would otherwise be considered going for bankruptcy have models too expensive to run. As they don't see themselves making money any time soon, they have to turn every future model into a weird fascination.

comment 8mo ago · link · parent

I wonder how gracefully redgrep handles this. This tool hasn't been talked about since the year of its release. If I recall correctly, it doesn't handle some obstruse regexes the way conventional tools do however.

https://github.com/google/redgrep

comment 1y ago · link · parent

There's only one "other side" in this, it's the American people.

comment 1y ago · link · parent

v4l2-ctl on linux allows me to change such settings on a global level, maybe that might work if a version can be found on his OS.

comment 1y ago · link · parent

I think the author is generous in granting that Caro-Cult programming works.

comment 1y ago · link · parent

I haven't looked at Hardy's but the presentation in Spivak is also Dedekind cuts. Perhaps Hardy uses a different approach and OP misnamed it? Rudin's chapter 1 annex also use Dedekind's cuts.

comment 1y ago · link · parent

Where we define the real numbers as the least upper bounds of special sets. There is a bijection between these sets and the set of real numbers which we commonly think of and that bijection is the least upper bound of such sets.

comment 2y ago · link · parent

Your very last example kinda supports the thesis up there, considering how it's been going.

comment 2y ago · link · parent

Correct me if I'm wrong but (log n)^O(n) sounds like atrocious complexity?

comment 2y ago · link · parent

LP or ILP? There is a significant difference since for non-discrete problem Linear Programming is shockingly efficient and in no way can be considered a brute force technique.

edit: What would be a technique you consider non-brute force in discrete problems?

comment 2y ago · link · parent

I was speculating two oscillators with periods p and q could be composed (as long as there was no way for them to interact) to create an oscillator of period p*q/gcd(p,q) but wondering why large primes wouldn't be a problem.

I guess this is my answer.

comment 3y ago · link · parent

I think his argument was restricted to a human-produced mathematical result being ported to a Lean program where one would be just as likely to commit a mistake. However I disagree as well, I recall the difficulty of expressing what I wanted to Coq being a barrier to expressing it incorrectly.

comment 3y ago · link · parent

Good teacher, his Number Theory book felt really good though I have no comparable in Number Theory. I must say Number Theory and Combinatorics are the most difficult topics I got acquainted with in undergrad.

comment 3y ago · link · parent

Bouty makes excellent chair. Looking at their website I'm thinking Arista/Kadera/Fira. The model of chair I have doesn't seem front page but it is the Sity 9002.

The piston gave after 10+ years of service. Contacted them, warranty is for life, they had someone show up and replace it for free.

comment 3y ago · link · parent

It isn't though: https://github.com/mrLSD/riscv-fs/blob/fa039b123ded9fa0c05d0...

comment 3y ago · link · parent

I think this qualifies?

https://en.wikipedia.org/wiki/MMIX#Simulators_and_assembler

comment 3y ago · link · parent

My understanding of this is that it is an emulator that is meant to be very clear to read.

comment 3y ago · link · parent

Someone mentionned in the Mastodon thread that they have an Android phone with nothing-from-google on it. I speculate his installation is even more responsive than whatever default the product came with and I'd like to do that.

I have a terrible Vankyo Z1 table that is very slow. Where do I start?

comment 3y ago · link · parent

Note that lightweight threads (even in CSP style concurrency model) can be even lighter and faster. F#'s Hopac library seems to meet such expectations with this simple program:

   #r "nuget:hopac"

   open Hopac
   open Hopac.Infixes
   open Hopac.Extensions

   seq{1..1000000}
   |> Seq.Con.iterJobIgnore (fun _ -> timeOutMillis 1000)
   |> run
Runs in 1.824s real, 17.635s user and 0.088s system time in under 186000KB, hence less around 200 bytes per thread.

10M threads sleeping 10 seconds taxes this machine to:

22s real, 4m user, 0.506s system @ 140 bytes/thread.

comment 3y ago · link · parent

But isn't what makes numpy efficient written in C?

comment 3y ago · link · parent

Will double check both systems I have access to, thanks.

27.

People running Windows 11, are you all running Sluggish Incarnate?

18 points · by davidgrenier · 3y ago · 26 comments

comment 3y ago · link · parent

This looks brutal, for a lot of people John Reppy's book Concurrent Programming in ML (as in SML not Machine Learning) is going to be much more accessible. Pick the CSP-style library in the programming language of your choice.

Go with goroutines and channels

Clojure with core.async

F# with Hopac

It would be a very interesting project to roll your own in C# using Microsoft Robotics Studio's CCR (Coordination and Concurrency Runtime) (though I speculate those are buffered channels by default).

comment 3y ago · link · parent

Pro-tip, F# has an extremely efficient CSP-style concurrency library called Hopac.
12345
10