Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marvy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
181.
▲
by
marvy
9y ago
I really wish TeX would prefer underfull to overfull. So many times I've read two column documents where the author ignored the warnings and the columns overlapped, making things pretty hard to read. (Well, actual overlap is rare, bu
182.
▲
by
marvy
9y ago
What? No! Multithreaded programs should run faster on 8 cores than on one core. That's not very realistic for single-threaded programs, in any language. I could be wrong, but I think Py2.7 is about the same speed on multicore vs 1 c
183.
▲
by
marvy
9y ago
Yes, it is just logistic regression. I just dug up my old code from a few weeks (months?) ago, and it seems that somewhere around 90% is not too hard. 60% is way too low, unless I'm measuring wrong somehow.
184.
▲
by
marvy
9y ago
As other people have said, for MNIST, CPU is fine. One core. You can get over 90% accuracy with a network with just 1 hidden layer with only a few seconds of training. Or something like that. If you've never played with MNIST befor
185.
▲
by
marvy
9y ago
Actually, I think I was wrong. You can get something this nice in Python. It just requires a bit more glue code in the case of JSON, and a lot more glue code in the case of XML. All told, I figure Python might 10x more code than REBOL he
186.
▲
by
marvy
9y ago
Okay, that's quite good! I'm going to see how good this can get with the Python std lib later. Probably not quite this nice.
187.
▲
by
marvy
9y ago
Okay, this I took a quick look at it, and this seems way to awkward to use from a shell script. It's pretty much C only. I guess Plan 9 does better.
188.
▲
by
marvy
9y ago
thanks!
189.
▲
by
marvy
9y ago
You mean 8x more memory, right?
190.
▲
by
marvy
9y ago
That's not very documented. How would someone use this?
191.
▲
by
marvy
9y ago
Oh, nice! But I can't find the right man page.
192.
▲
by
marvy
9y ago
Not much details though. Oh well.
193.
▲
by
marvy
9y ago
Okay, as someone who doesn't know REBOL, what is the effect of miserlou/name if the server returns XML? The string value of a top-level <name> tag?
194.
▲
by
marvy
9y ago
Is this hypothetical, or does the stdlib actually have load-json and load-xml?
195.
▲
by
marvy
9y ago
I don't know about radioactive waste, but surely allowing untrusted user input into /dev is unrealistically sloppy. (Famous last words?) I agree that having this as a bash feature versus just using nc doesn't seem to buy muc
196.
▲
by
marvy
9y ago
I find this surprising. If someone can run bash, they can do anything anyway. What am I missing?
197.
▲
by
marvy
9y ago
Is there any particular reason not to have something like /dev/tcp as a real filesystem, rather than a pretend game that bash likes to play?
198.
▲
by
marvy
9y ago
Um, what if the server returned, say, a JPEG? Or a plain old HTML webpage, complete with inline CSS and script tags?
199.
▲
by
marvy
9y ago
Yep, the moment I saw that I though "REBOL"! (Actually, I thought of Red, but same idea.) Still, it seems that this is not thought through properly. What should the language do if the server does not return JSON? And can't
200.
▲
by
marvy
9y ago
I think these days it goes by GLIBCXX_FORCE_NEW
201.
▲
by
marvy
9y ago
I made no effort to read the paper and went straight for the pretty pictures. The basic idea seems to be that you can save a few percentage points on your energy usage by running directly on Linux without Docker.
202.
▲
by
marvy
9y ago
Do you think this title is clickbait? I just read the thing it seems like a good title.
203.
▲
by
marvy
9y ago
How bad is that? If I'm actively using one program, and that program is waiting on a page from disk, what useful thing can you do in the meantime?
204.
▲
by
marvy
9y ago
> most people would choose C or a higher level language over assembly language for programming And the inventor of TeX is not most people, and decided to invent an assembly language for his book, rather than using a high level language.
205.
▲
by
marvy
9y ago
my bad, can't read
206.
▲
by
marvy
9y ago
> most successful lawyers You added the word "most" :) Your revised statement is probably right
207.
▲
by
marvy
9y ago
> none of whom were successful lawyers I think your main point is likely right, but your supporting examples are not. Wikipedia (at https://en.wikipedia.org/wiki/Abraham_Lincoln#Early_career_a... ) says: Lincoln bec
208.
▲
by
marvy
9y ago
Proper quote (from https://en.wikiquote.org/wiki/Honor%C3%A9_de_Balzac#Le_P.C3.... ) The secret of great fortunes without apparent cause is a crime forgotten, for it was properly done The key part that people keep omitt
209.
▲
by
marvy
9y ago
Re: speed. Do you suppose pypy might help?
210.
▲
by
marvy
9y ago
So you have seen offsetof used in practice? Can I have a pointer? (I will not confirm or deny whether that pun was intentional.)
More ›