Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
541.
▲
by
to3m
10y ago
I'll try it when I get a moment, but I'll take your word for it for now. From the screenshots it looks to me very much like it'll be a single scrolling viewport, though, with a line of input at the end. So, at heart, differin
542.
▲
by
to3m
10y ago
Does that work with the scrollback? If it's supposed to, I've yet to see it ever happen!
543.
▲
by
to3m
10y ago
You just need two text areas: one at the top where you enter text, and one at the bottom where the scrolling happens. This is not rocket science, but I'm sure it's actually literally impossible in Unix, which in general has never
544.
▲
by
to3m
10y ago
I guess the post just knows its audience. If you work with non-web technologies, you probably don't care about what colour the hype train is this week ;)
545.
▲
by
to3m
10y ago
Pick a value that's close enough, and tweak everything else until it's true :) This post has one hundred and thirty-two chars in it.
546.
▲
by
to3m
10y ago
Complaining on forums ought to do it.
547.
▲
by
to3m
10y ago
And just think how much faster it would be if there were no serialization and I/O involved at all...
548.
▲
by
to3m
10y ago
There's a box you can tick that says no to all of that stuff, though I don't know if you can access it after the first run. (I never have to log in when I run Visual Studio.)
549.
▲
by
to3m
10y ago
Just noticed it does 3d sound positioning... hmmmm... I wonder if that makes a noticeable difference?
550.
▲
by
to3m
10y ago
The keyboard hook thing is safe - turns out the low-level keyboard hook is special, and it runs in the installing thread's context. Having nothing better to do this evening I wrote my own version, which should run fine on Windows 10:
551.
▲
by
to3m
10y ago
If you like bwana, you could try my updated copy: https://bitbucket.org/tom_seddon/bwana (I've put a compiled version in the releases page - if it doesn't work, you can hopefully build it yourself) Main impro
552.
▲
by
to3m
10y ago
I had the same problem too. I'm using Windows 10 with the anniversary update. (I'm not sure its use of a global hook stored in an EXE is safe anyway. I think you have to have these things in DLLs, because the hook runs in each pro
553.
▲
by
to3m
10y ago
One way you can have a listening port in the ephemeral range is to specify 0 as the port when binding, allowing the system to assign the port for you. You might do this if you're using the socket for some kind of parent<->child I
554.
▲
by
to3m
10y ago
Also in socket surprises, once you've moved on from CLOSE_WAIT to TIME_WAIT, and doing everything pretty much by the book, you can run out of ephemeral ports and hit this: https://goodenoughsoftware.net/2013/07
555.
▲
by
to3m
10y ago
I don't know the answer to #1. Regarding #2, indeed appears to be some kind of job site search engine, a la google, as most links I've clicked on there have sent me to some recruitment/agency/etc. website... but sometime
556.
▲
by
to3m
10y ago
The C rules don't permit it. Putting fields in the order specified is not the worst possible default. (The option would be nice, though... most of the time, you don't care.)
557.
▲
by
to3m
10y ago
I've spent a bit of time looking at this code. It's not really that bad, though if might be a bit of a surprise to find it if you weren't expecting it. The most serious problem with it I had is that there's something wro
558.
▲
by
to3m
10y ago
I suppose this is one of the advantages of running your own non-large corporation: you can do pretty much what you like.
559.
▲
by
to3m
10y ago
You've got 2 options at the moment I think: Cheap MS Natural 4000: https://www.microsoft.com/accessories/en-us/products/keyboar... (rubber domes - actually I think the space bar is OK, but tends to be st
560.
▲
by
to3m
10y ago
Actually, it's super-easy to tell whether a number is metric or Imperial: it's metric. UK programmers aren't stupid. Metric vs US Customary is a completely different matter and I couldn't possibly comment.
561.
▲
by
to3m
10y ago
Alternatively: multiply by ten, convert to hex, and read off as a fixed point value with 4 fractional bits. 1km = 10 = 0xA = 10/16 mile = 0.625 miles (actual: 0.621371) 2.5km = 25 = 0x19 = 1 and 9/16 miles = 1.5625 miles (actual:
562.
▲
by
to3m
10y ago
No, the STL doesn't exist any more, at least as a going concern. That's why it's metonymy. It sounds like you're thinking of synecdoche.
563.
▲
by
to3m
10y ago
I never kept a journal or diary. I'm 39 now, and I don't regret it. I do regret not having more photos of myself when I was younger though! Assuming my old emails from 20-odd years ago are representative - if you read your thought
564.
▲
by
to3m
10y ago
Would you believe I've just spent 25 minutes trying to figure out how to respond to this, and I still don't know. I suppose that means you win.
565.
▲
by
to3m
10y ago
The thing that's so bad about dick pics is people don't like them . And what better reason for something being bad could there be?
566.
▲
by
to3m
10y ago
I think the point is more that you don't build a cathedral at all. Another article, more interesting in my view than this one, about the apparent mindset: http://yosefk.com/blog/my-history-with-forth-stack-machines
567.
▲
by
to3m
10y ago
The article does touch on this...
568.
▲
by
to3m
10y ago
Hash tag british humour. Ordinarily I'd deploy hash tag that was the joke... but your reply in this instance was far too informative, and I'd run the risk (?) of looking (?) like (?) a twat.
569.
▲
by
to3m
10y ago
"500"? Permit me to channel my secondary school chemistry teacher: 500 elephants? 500 biscuits? Units, lad! UNITS. (Of course - I know you mean kg! But the point stands.)
570.
▲
by
to3m
10y ago
No, you misunderstand me (and the fault could be mine): my point is that since it's pedantic to worry about the terminology, you might as well use the standard terms. Leave it to others to waste their time worrying about what things ar
More ›