Better HN
topnewbestaskshowjobs
Log inSign up

lindig

398 karma · joined Nov 24, 2013 (13y ago) · 143 submissions

Submissions

comment 3w ago · link · parent

> Treaps have been proposed by Raimund Siedel and Cecilia Aragon in 1989.

The correct name is Raimund Seidel https://en.wikipedia.org/wiki/Raimund_Seidel

comment 3mo ago · link · parent

How do you compute page rank for billion of pages that have cyclic links? Is that not the problem right after the initial idea?

comment 4mo ago · link · parent

> In defence of Mr Musk, despite his character flaws, Tesla is the only Western electric car company in the top 20, and this includes Korea and Japan. Also, SpaceX is ~90% of the world's commercial rocket launch capacity.

This conflates the quality of the product with the value of the business. There is no contradiction between Tesla cars selling well because they fit a market and Tesla the business not being a good investment.

comment 5mo ago · link · parent

> Instead of regular expressions, Janet’s text wrangling is based around parsing expression grammars. Parsing expression grammars are simpler, more powerful, and more predictable than regular expressions.

I would dispute that this is the case. In PEGs, alternatives are not commutative, unlike in regular expressions. This can lead to quite frustrating debugging. While a valid choice, the advantage over REs is overstated.

comment 5mo ago · link · parent

> native ocaml repl has landed

What does this refer to? Most people use the OCaml `utop` REPL which isn't okay for some printf debugging but nowhere near what a Lisp could do.

comment 6mo ago · link · parent

The repository link on that page does not work. Is there a preview?

comment 1y ago · link · parent

The public transport service in Hannover/Germany once had a screensaver that you could configure to show the next departure from your nearest station. I thought that was clever marketing. Today you probably could implement this as a web service.

comment 1y ago · link · parent

I like the idea mentioned in the article of exploring limited higher-order functions: functions that can only take functions as argument that themselves are not taking functions as arguments. But what simplification does this buy (in the implementation of such a language) over a language that is fully functional? It is not explained in the article.

comment 2y ago · link · parent

This makes you appreciate curation in a museum. Why are these objects shown together? Historical period, size, design feature, material, production method? It looks completely arbitrary.

comment 2y ago · link · parent

The main feature of interval parsing appears to be that it can jump over content such that a later part in a file does not depend on knowing everything that comes before it. Has Dogma similar expressiveness?

comment 2y ago · link · parent

Filecoin, which is based on IPFS, creates a market for unused storage. I think that idea is great but for adoption it needs to be as simple as Dropbox to store files. But visit https://filecoin.io/ and the dropbox-like app that you could be willing to try is nowhere to be found. So maybe it is an enterprise solution? That isn't spelled out either. So I am not surprised that this has little traction and the article further confirms the impression.

comment 2y ago · link · parent

"Show, don't tell" is lost on the authors. They only talk about visual ugliness.

comment 2y ago · link · parent

The argument for annealing in the original paper is that accepting regressions is essential to escape from local minima.

https://www2.stat.duke.edu/~scs/Courses/Stat376/Papers/Tempe...

"Annealing, as implemented by the Metropolis procedure, differs from iterative improvement in that the procedure need not get stuck since transitions out of a local optimum are always possible at nonzero temperature. A second and more important feature is that a sort of adaptive divide-and-conquer occurs. Gross features of the eventual state of the system appear at higher tempera-tures; fine details develop at lower tem-peratures. This will be discussed with specific examples."

comment 2y ago · link · parent

My understanding of simulated annealing is that solutions that are not improvements are still accepted with some probability in early steps but that this probability decreases as "temperature" drops. Looking at your description (but not code) I did not see that aspect but it looked like you would only accept improvements of the cost function. Is this correct or where does your solution accept slight regressions with some probability, too?

comment 3y ago · link · parent

Links are unreadable in that blog post on iOS/Safari.

comment 3y ago · link · parent

For covering the subject of writing, the typesetting of the PDF is remarkably poor. The mix of serif and sans serif, the font sizes don't match the structure of the document, and enumerations have inconsistent indentation - to point out just a few blemishes.

comment 3y ago · link · parent

What does your business do? Stripe might not have listed your business model explicitly but could still prefer to not have you as a customer if it is an edge case.

comment 3y ago · link · parent

Since list traversal is very common in OCaml, could the compiler emit code that pre-fetches the next element?

comment 3y ago · link · parent

Suggestion: parse any number like 12:03 as 12 minutes and 3 seconds (and 04:12:03 with hours) and represent it as seconds. It makes working with durations a lot easier. This is just an additional parsing rule (could also use 12m3 or 4h12m3) like 1e3 for 1*10^3 but is typically not implemented.

comment 4y ago · link · parent

This guy needs a copy editor. The meandering writing is off putting when someone is writing on the subject of becoming efficient at a task or process. He is in love with his own writing, maybe considering it entertainment, which he proclaims not to do.

comment 4y ago · link · parent

That's a great service. I can think of various features to support more use cases:

* provide an optional label - for the use case where several clocks are used and shared.

* start and share several stop watches from a single page: start them one by one or together. For a race with multiple participants that either start sequentially or together.

* Support taking split times.

* Combine timer and stopwatch: count down from a set time, then start the stopwatch at zero. It currently does this already. This supports races like sailing where the actual start is preceded by a countdown period.

comment 4y ago · link · parent

> I actually really wish I had something similar for video...

Try this: https://github.com/mifi/lossless-cut

I am using the binary on macOS. The UI is a bit idiosyncratic but it works quite well and is ideal to cut a video down to the essential parts without loss of quality.

comment 4y ago · link · parent

> A much better effort, for anyone interested, would be to vastly simplify the OCaml build and package management story to be more Go-like.

OCaml's package management and build system is not complicated for consumers and builds are very fast. What do you feel is complicated about opam and dune?

What is complicated (but got better) is submitting packages into the official package repository. However, this ensures that packages have correctly versioned dependencies, which is good for consumers.

Go does not rely on a central package repository and this makes it easier to use by essentially just pointing to GitHub. OCaml and Go differ in the way they try to use updated dependencies for a build. OCaml by default is aggressive whereas Go prefers stability.

comment 4y ago · link · parent

I’d like to see support for FIT files as they are emitted by Garmin fitness devices. It’s a clever binary format that in-stream defines the format of records which then contain the actual measurements which may be scaled for more compact representation. These multiple layers make the format not obvious to parse but the tool supports already an impressive list of formats that probably use similar techniques.

comment 5y ago · link · parent

The valuation of Apple on a P/E basis is attractive and constant stock buybacks make it a safe bet. At the current scale you can’t expect startup-level growth but it is still attractive as a stock.

Likewise, look at the valuation per customer; it is around $1500, which is attractive, too.

comment 5y ago · link · parent

On my Safari 14.1.2 the hero image (demo) on the landing page does not show properly. The URL is https://slacklatex.com/static/media/demo_img.5ddca5f3.webp and I assume the format is a bit too esoteric.

comment 5y ago · link · parent

Compiler bugs outside undefined behaviour are not rare; calling conventions as implemented in C compilers are complex and random testing found bugs in several compilers. However, the bugs are in parameter lists and types that are rare.

https://lindig.github.io/papers/lindig-aadebug-2005.pdf

comment 5y ago · link · parent

As is any business that sells 1 dollar bills for 80 cents. Not a good business to own, though. "Making it up by volume" seems doubtful.

comment 5y ago · link · parent

* Deliveroo lost money last year that probably provided the best possible business environment with many people willing to work for them and ordering from home during a pandemic.

* Deliveroo has basically no assets

* What is the barrier to entry for other companies? Neither riders, restaurants, or customers have any reason to stay with them.

* Deliveroo heavily depends on "self employed" couriers which quite likely courts will find are workers (edited, was: "employees") which the company needs to compensate accordingly

comment 5y ago · link · parent

I find this painful to read. It's always about what Stephen Wolfram has done and how it is realised in Mathematica. If you are a true expert in a field you should have less trouble acknowledging other people's contributions. I missed, for example, the connection with Church numerals or the acknowledgement that substitution is not just defined in Mathematica.
12345