News for hackers. Stuff that matters.

endeavour

Re:A dot a day keeps the clutter away on Wednesday April 01, 2026 @09:30AM (#47600601)
Brilliant. So now you have no clutter but your office looks like it has chicken pox.
Re:The Hiew Hex Editor on Tuesday January 02, 2024 @02:14PM (#38845710)
Very excited to give this a try!
Re:Why Do Cats Love Boxes So Much? on Thursday September 28, 2023 @06:59AM (#37687847)
A house is just a big box really. Why do humans love boxes so much?
The technique is called volume rendering. I'm not sure what library they specifically use but a popular one is VTK.
Re:Excite: A terminal-based citation generator on Monday May 30, 2022 @07:26PM (#31564692)
Wish this was around when I was a student!
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.

Re:Bargain Travel Sites May No Longer Be Bargains on Monday April 03, 2017 @08:35AM (#14022282)
Google Flights also tells you when a particular flight is often subject to delays. Very handy.
Re:Monte Carlo estimation of Pi on Wednesday March 15, 2017 @12:31PM (#13877305)
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"
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.
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.

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.

Chile, Switzerland and Iceland all have free trade agreements with China. The EU doesn't.
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

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...

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.
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.
Re:BeOS Demo Video (1998) [video] on Wednesday April 08, 2015 @09:42AM (#9340687)
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.
Re:Ask HN: Isn't networking usually a waste of time? on Tuesday April 07, 2015 @11:40AM (#9334805)
Off-by-one error :P
Re:“Platform” risk on Monday March 30, 2015 @06:04AM (#9288573)
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.
Re:'Nobody My Age Can Afford to Stay Here Forever' on Tuesday February 24, 2015 @07:32AM (#9100138)
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.
Re:Show HN: The Autoprotocol Language Standard for Biology on Wednesday February 11, 2015 @04:28AM (#9032107)
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?

It's even worse in Europe.
Re:Show HN: Hacker News' “most unique support email of 2014” on Wednesday January 21, 2015 @07:17AM (#8922712)
I don't think it's possible for something to be the 'most unique'.
Re:Retiring Python as a Teaching Language on Wednesday January 21, 2015 @07:09AM (#8922681)
Exactly this. Why are we trying to raise an army of procedural, object-oriented programmers?
Re:New Features in C# 6 (2014) on Sunday January 11, 2015 @07:52PM (#8871983)
Why would it need reflection? The name is there in the source code right in front of you.
Re:Intel Compute Stick on Wednesday January 07, 2015 @05:43AM (#8849802)
A birthday card that plays the Intel jingle would make a pretty good gift for a geek :P
Is this in the US or UK?

Older »