Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickcw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
481.
▲
Johnroids: A Golang game in your browser with GopherJS and WASM
(github.com)
1 points
by
nickcw
8y ago
|
0 comments
482.
▲
by
nickcw
8y ago
This is making me think of JPEG 2000 https://en.wikipedia.org/wiki/JPEG_2000 A JPEG standard which never really took off... Why would this one take off when there are so many other alternatives now? I think the problem
483.
▲
SafeSpec: Banishing the Spectre of a Meltdown with Leakage-Free Speculation
(arxiv.org)
3 points
by
nickcw
8y ago
|
0 comments
484.
▲
A machine has figured out Rubik’s Cube all by itself
(technologyreview.com)
8 points
by
nickcw
8y ago
|
1 comments
485.
▲
by
nickcw
8y ago
I think parameterized packages are a great idea. It would be a light-weight way of getting just a bit of generic code into go. I made gotemplate to explore that idea https://github.com/ncw/gotemplate This requires a r
486.
▲
Self-Hosting Your Git Repositories – Memset
(memset.com)
1 points
by
nickcw
8y ago
|
0 comments
487.
▲
Caffeine dosing strategies to optimize alertness during sleep loss
(onlinelibrary.wiley.com)
221 points
by
nickcw
8y ago
|
226 comments
488.
▲
by
nickcw
8y ago
An interesting idea to load balance at L4 so as not to terminate the TCP sessions (for speed). Normally this constrains the network rather as you can't route the output packets normally after that (they need to be routed to a vLAN) but
489.
▲
Chrome OS is getting Linux app support
(venturebeat.com)
2 points
by
nickcw
8y ago
|
0 comments
490.
▲
Vendoring for executables written in Go
(github.com)
1 points
by
nickcw
8y ago
|
0 comments
491.
▲
by
nickcw
9y ago
It is interesting really studying the two images on the github page. My first thought was - wow, amazing! But having looked at them for a bit longer they've fallen straight into the uncanny valley for me. The female's left and ri
492.
▲
by
nickcw
9y ago
I had a squint at the ThreadPoolExecutor code on github and it uses the default parameters. Exactly how many threads you get depends on which version of python you are running: > Changed in version 3.5: If max_workers is None or not giv
493.
▲
by
nickcw
9y ago
I wonder if that includes the compute the solution time... It appeared to use god's algorithm given that it solved it in 20 moves and I thought that was quite hard to compute.
494.
▲
Go articles, cheat sheets and how tos from KTH in Stockholm
(yourbasic.org)
1 points
by
nickcw
9y ago
|
0 comments
495.
▲
by
nickcw
9y ago
check_call for the win! I contributed check_call to the subprocess module for exactly that purpose - easier shell like scripting in python :-)
496.
▲
by
nickcw
9y ago
Here is a regexp to match an IPv4 address - looks quite nice and easy to understand compared to the regexp! In fact the visualisation makes it easy to spot the mistake. https://regexper.com/#'%5Cb((25%5B0-5%5D%7C2%5B0-
497.
▲
by
nickcw
9y ago
linkname is brilliant thanks! I've done that sort of thing with an assembler shim in the past.
498.
▲
by
nickcw
9y ago
> I have tried reading this twice but can't find how are they leveraging the internal spot markets? Are they re-selling unused capacity to a third party? They have reserved a lot of instances in EC2. https://aws.amazon.co
499.
▲
by
nickcw
9y ago
If you squint at the final result it is really quite good! A fun article :-)
500.
▲
by
nickcw
9y ago
This sounds very similar to the criteria used by the Go team as to whether to add compiler optimizations or not, namely the optimization should speed up the compiler by at least an amount that the extra computation of the optimization takes
501.
▲
by
nickcw
9y ago
This is the problem IMHO > We also looked up whether our HBA used TRIM in its current configuration. It turns out, in RAID mode, the HBA did not support TRIM. We did do some trim-enabled testing with a different machine, but these resul
502.
▲
by
nickcw
9y ago
I think termux ( https://termux.com/ ) does most of what I need when I need a bit of emergency Linux on my phone. Termux provides a recompiled debian distro which runs as a android App. It doesn't chroot or need root
503.
▲
by
nickcw
9y ago
The fragmentation is typically from a 1500 byte packet to a slightly smaller value, so you end up with one 1400 byte packet and one 100 byte packet. The fragmentation happens after your computer has packetised the data.
504.
▲
by
nickcw
9y ago
Did you do a benchmark with `--threads 1`? I suspect most of the speedup is coming from that as the the listing of the files is likely to be IO bound (or at least bound by calling into the kernel to read the directory listings). That has c
505.
▲
by
nickcw
9y ago
Kip Thorne (with others) wrote the standard text book I used at university on Gravity: "Gravitation" https://en.wikipedia.org/wiki/Gravitation_(book) It is a mighty tome, with lots of advanced maths (like ten
506.
▲
by
nickcw
9y ago
I enjoyed the rules about the em dash — It reminded me of the English class that I was taught that you could use it in place of pretty much every bit of punctuation and the subsequent essays I wrote having optimized the rules of English pun
507.
▲
Gravitational waves from a binary black hole merger observed by LIGO and Virgo
(ligo.caltech.edu)
528 points
by
nickcw
9y ago
|
154 comments
508.
▲
by
nickcw
9y ago
Interesting read, shame about the dynamic code problems. I wonder whether something like this might be better attempted in rpython which will build a JIT compiler for you. http://rpython.readthedocs.io/en/latest/
509.
▲
by
nickcw
9y ago
Not sure I understand why this is necessary... The IPv6 address space covers the IPv4 address space already: https://en.wikipedia.org/wiki/IPv6_address#Representation > During the transition of the Internet from IPv
510.
▲
by
nickcw
9y ago
If you like testing your media then you'll probably enjoy: https://github.com/ncw/stressdisk my project to test media. I test all my flash / hard disks with it and have sent plenty back over the years which f
More ›