Better HN
topnewbestaskshowjobs
Log inSign up

endeavour

113 karma · joined Feb 23, 2011 (15y ago) · 71 submissions

www.lambdalaunchpad.com
Submissions

comment 7mo ago · link · parent

Brilliant. So now you have no clutter but your office looks like it has chicken pox.

comment 2y ago · link · parent

Very excited to give this a try!

comment 3y ago · link · parent

A house is just a big box really. Why do humans love boxes so much?

comment 3y ago · link · parent

The technique is called volume rendering. I'm not sure what library they specifically use but a popular one is VTK.

comment 4y ago · link · parent

Wish this was around when I was a student!

6.

Show HN: Browser-based WireGuard config generator(wireguardconfig.com ↗)

2 points · by endeavour · 6y ago · discuss

comment 8y ago · link · parent

I also mentally started thinking about integral solutions. I wonder if it's also because of the variable names... a,b,c tend to be used to represent integers (e.g. Fermat's Last Theorem, Euclid's algorithm etc).

x and y are more commmonly used to represent real numbers.

comment 9y ago · link · parent

Google Flights also tells you when a particular flight is often subject to delays. Very handy.

comment 9y ago · link · parent

F# version that fits in a tweet:

  let r,n=Random(),1e7
  let d()=(r.NextDouble()-0.5)**2.0
  [0.0..n]
  |>Seq.sumBy(function _ when d()+d()<0.25->4.0/n|_->0.0)
  |>printfn "%f"

comment 10y ago · link · parent

If.

comment 10y ago · link · parent

No, I was just giving some examples. If you follow your logic the UK needn't worry about not having a trade deal with the EU.

comment 10y ago · link · parent

I happen to agree we should have an election, but I would point out:

1) Unlike EU commissioners, people can vote Theresa May out at the next general election. 2) The UK has a parliamentary democracy. It is not a presidential system. Theresa May was elected by her constituents. 3) Of the 14 prime ministers since the end of the Second World War, half of them (including Theresa May) assumed office between elections.

comment 10y ago · link · parent

Ok but the numbers you quoted assumed a linear relationship.

In no way is it "almost certain" that investment in the UK will decrease. The evidence currently suggests the complete opposite. Look at the performance of the FTSE100 since the referendum to see the flood of foreign investment coming into the UK listed companies thanks to the weaker currency.

I'd also point out that decreasing tax rates is the exact opposite of what the chancellor said he would do before the referendum.

comment 10y ago · link · parent

Chile, Switzerland and Iceland all have free trade agreements with China. The EU doesn't.

comment 10y ago · link · parent

It isn't that simple. There isn't a linear relationship between the tax % and the revenue to the treasury. Lower taxes encourage more companies to set up in the UK.

We saw this recently in the UK when the top rate of income tax was raised to 50% and the income to the treasury actually fell.

https://en.wikipedia.org/wiki/Laffer_curve

comment 10y ago · link · parent

See how far you have to scroll down the list to find an university inside the EU (excluding the UK).

https://www.timeshighereducation.com/world-university-rankin...

comment 10y ago · link · parent

EU money doesn't come out of thin air. It comes from taxpayers. The UK is a net contributor to the EU so the UK government could choose to fund all current commitments and still be better off.

comment 10y ago · link · parent

Haskell has many great attributes but predictable performance isn't amongst them (laziness makes it difficult to reason about) so I doubt it is used for HFT.

comment 11y ago · link · parent

I remember being impressed that the BeOS media player could play audio CDs backwards in real-time. Not really sure why you'd want to but it was quite a good party trick.

comment 11y ago · link · parent

Off-by-one error :P

comment 11y ago · link · parent

I doubt spending on AWS scales linearly with company revenue so I'm not sure why the author thinks amazon is getting a "cut" from competitors.

comment 11y ago · link · parent

Because the market will bear it. People have jobs in London, but can't afford to live there. Driving usually isn't an option either because parking prices and London traffic are prohibitive. Ergo the train companies can charge basically whatever they like and people have to put up with it.

comment 11y ago · link · parent

This is a really neat idea. I wrote test-scripts for cell culture machines a few years back. Great fun moving giant robotic arms around!

If you can indeed encode all the primitives needed to more formally describe an experiment this would be great.

Are you worried the language will endlessly grow in complexity as you find edge cases it doesn't support?

24.

Show HN: Electronic gift cards for bricks and mortar businesses(giftcard.systems ↗)

1 points · by endeavour · 11y ago · discuss

comment 11y ago · link · parent

It's even worse in Europe.

comment 11y ago · link · parent

I don't think it's possible for something to be the 'most unique'.

comment 11y ago · link · parent

Exactly this. Why are we trying to raise an army of procedural, object-oriented programmers?

comment 11y ago · link · parent

Why would it need reflection? The name is there in the source code right in front of you.

comment 11y ago · link · parent

A birthday card that plays the Intel jingle would make a pretty good gift for a geek :P

comment 11y ago · link · parent

Is this in the US or UK?
123