Better HN
topnewbestaskshowjobs
Log inSign up

Lozzer

65 karma · joined Jan 24, 2008 (18y ago) · 53 submissions

Submissions

comment 8y ago · link · parent

I'd add Let over Lambda (LOL) to that list.

comment 8y ago · link · parent

If you belive Wikipedia https://en.wikipedia.org/wiki/Atomic_radius then the atomic radius of Helium has never been measured, but it is predicted to be smaller than Hydrogen.

comment 8y ago · link · parent

I think you'd enjoy the book "The Newtonian Casino".

comment 9y ago · link · parent

Metadata operations on partitions can be very fast. One simple example is date based housekeeping. Deleting a month of data will be quite intensive on most databases, whereby dropping a partition from the table is effectively instant.

Partion switching is also fast. Say you have a summary table that is rolled up by month, but you want to recalculate the summaries every so often. You can build a month into a new table and then switch the new table for a partition in the summary table.

comment 10y ago · link · parent

http://www.catb.org/esr/structure-packing/

comment 10y ago · link · parent

Firstly there are vastly more positions in Go. Secondly, it's very hard to evaluate a Go position, especially at the start of the game when there are few stones on the board. In chess you can get a long way using a simple evaluation (K=99, Q=9, R=5, B=3, N=3, P=1).

comment 10y ago · link · parent

The last one might be heped by trace flag 4199. You can apply it to individual queries with option (querytraceon 4199):

https://blogs.msdn.microsoft.com/psssql/2010/09/01/slow-quer...

comment 10y ago · link · parent

I expect you have enough hardware to factor widely deployed primes. Compound numbers might be a different story.

comment 11y ago · link · parent

Didn't wear a seatbelt and headbutted the person in front, snapping their neck. Sucks to be them, I guess. But at least you stuck it to the man.

comment 11y ago · link · parent

design

comment 12y ago · link · parent

I thought https://gist.github.com/anonymous/cfe03f2ddb0052b38081 was kind of neat, as you still have to solve the puzzle a bit after using it.

comment 13y ago · link · parent

Admittedly in the UK, but the ISP I use don't have a problem with people running servers: http://www.aa.net.uk/

13.

Student Science Experiment Finds Plants Won’t Grow Near Wi-fi Router(waldorftoday.com ↗)

2 points · by Lozzer · 13y ago · 1 comment

comment 13y ago · link · parent

For a lot of RDBMS, transaction semantics can be later with different transaction isolation levels. There levels like repeatable read which work in this way, but the default level is usually weaker.

comment 13y ago · link · parent

If you're watching live (or nearly live) broadcast on iPlayer, you still legally require a license: http://iplayerhelp.external.bbc.co.uk/help/playing_tv_progs/...

16.

Researchers Unlock Formula Written By Ramanujan(businessinsider.com ↗)

1 points · by Lozzer · 13y ago · discuss

comment 14y ago · link · parent

    CTRL + V
    CTRL
    T

comment 14y ago · link · parent

If you're parsing from a real time feed, then that's fair enough. But if not $now isn't appropriate.

comment 14y ago · link · parent

Funnily enough if you buy Tesco's electrical goods online and pick up at store you don't get a paper receipt. The security guard (through lack of training) wasn't keen on letting me out without one.

comment 14y ago · link · parent

I had a go at something similar for the Facebook version a couple of years ago. My main goal was to stop playing the game, but it was also an excuse to try Clojure. At the time it absolutely thrashed my best scores, though I'm sure it won't work with the updates the developers have made since then.

I think it was the first thing I wrote that drove home the power of having a REPL for exploratory programming:

https://gist.github.com/490689

comment 14y ago · link · parent

He referenced a previous talk about the GIL:

http://blip.tv/rupy-strongly-dynamic-conference/david-beazly...

comment 14y ago · link · parent

More likely HURD

comment 15y ago · link · parent

We have a legacy database we support that creates a new dynamic stored procedure (with the same body) every time it performs a particular operation. How you can have enough knowledge to do this, but not to use a single procedure is beyond me.

comment 15y ago · link · parent

Have the counter-parties insuring Greek debt paid up?

comment 15y ago · link · parent

I don't think governments are going to be bailing out advertisers just yet.
12