Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
to3m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
301.
▲
by
to3m
10y ago
I'm going to plug my dispswitch program ( https://github.com/tom-seddon/dispswitch - Windows only. You run it from a hotkey manager such as AutoHotKey). It does a better job of preserving monitor-relative size and
302.
▲
by
to3m
10y ago
"Any packages that really need that much memory could be built in their own 64-bit process and seamlessly integrated into VS" Wait... did you just tell me to go fuck myself? ;)
303.
▲
by
to3m
10y ago
With Visual Studio 2015 update 3, and /W4, I get "warning C4706: assignment within conditional expression" for stuff like "if(a=5)", both in C and C++. (C4706: https://msdn.microsoft.com/en-us/l
304.
▲
by
to3m
10y ago
UK-focused blog with rebuttals for many common anti-LVT arguments: http://kaalvtn.blogspot.co.uk/ The author is an advocate for (as I recall?) having LVT replace at least CGT, income tax, national insurance, corporation tax
305.
▲
by
to3m
10y ago
A NULL literal in c is always zero. The compiler generates code to produce the right address (which may not have all bits reset).
306.
▲
by
to3m
10y ago
Tearing is a property of the output from the GPU. The data takes time to send, and the GPU can be directed to send different data halfway through the process (or the memory it's in the process of sending can be modified, etc.). The dis
307.
▲
by
to3m
10y ago
There's an Electron/VIC20/2600/Oric emulator that does this too: https://github.com/TomHarte/CLK - looks authentically horrid and it's got that somewhat elusive 50Hz feel. (Not many 50Hz Electr
308.
▲
by
to3m
10y ago
Yes, this seemed unlikely to me as well. If the pixel clock is fixed, there's no other signal to display other than the one you'd see on a CRT... maybe people use some hardware that has some kind of framerate conversion step that
309.
▲
by
to3m
10y ago
After some experimentation, it turns out my problem was that I expected - ridiculous, I know - that it would copy image data in some form that's comprehensible to Gimp, Firefox and Thunderbird. So I now rather suspect that Photos is us
310.
▲
by
to3m
10y ago
You can't copy and paste an image out of Photos, either. It's really quite ridiculous.
311.
▲
by
to3m
10y ago
The space is to give the cyclist room... they don't require less room just because the car has no driver.
312.
▲
by
to3m
10y ago
The Costco near me is the first petrol station I've been to in a long time that doesn't do this!
313.
▲
by
to3m
10y ago
Indeed, and the clarification is valuable; an explosion while using your laptop in bed might actually be a serious matter.
314.
▲
by
to3m
10y ago
Secured on wasting assets, the promise of future earnings, or nothing at all. What could possibly go wrong? (On the bright side this is far from the majority of debt.)
315.
▲
by
to3m
10y ago
Internet commentary may have little to teach us about consciousness but we can learn plenty about self-awareness.
316.
▲
by
to3m
10y ago
No, in principle is exactly when it's a lot less trustworthy than the statically-typed one. Because in principle you could execute some code (untested; data-driven; "is_testing?function(x){return true;}:1.5"; etc.) that pas
317.
▲
by
to3m
10y ago
In some defence of the quote: http://www.spectator.co.uk/2017/01/michael-gove-was-accident...
318.
▲
by
to3m
10y ago
There's quite a few in the UK: https://en.wikipedia.org/wiki/Model_village
319.
▲
by
to3m
10y ago
No, they're not inherently repeated blocks of code. You can repeat bits of code if you like, but for many common cases you have options. 1. both cases have identical code: just fall through from one to the next case A: case B
320.
▲
by
to3m
10y ago
That's for soft boiling, surely? Hard-boiled eggs are usually left in for longer. What I do for mine: put in cold water, place on medium heat until water begins to boil (~9 mins), deactivate hob and leave for 12 mins, rinse with cold w
321.
▲
by
to3m
10y ago
I'm short-sighted, and I've long noticed this when standing somewhat far away from a mirror. If I'm close enough that I can easily see my reflection, but not so close that I can see that it's definitely me, I get the ill
322.
▲
by
to3m
10y ago
I live in the UK too... it's not that unusual to buy unrefigerated eggs with a use-by date of a month hence. You can leave them out, then hard boil them on that date, and they'll keep in the fridge for at least another week. I
323.
▲
by
to3m
10y ago
If fixed properly, it would open the door to non-string types - like, you could have a type that's entirely opaque to tcl, just a void * or whatever, accessed only through functions. This might even actually end up being a step up comp
324.
▲
by
to3m
10y ago
My recollection is that both are as bad as each other: spiteful UI with 1 watch window and a fixed window layout. Dear people - start demanding more from your tools. Going back on topic, I've stuck with Firefox for years because of Dow
325.
▲
by
to3m
10y ago
Cheese is best after the expiration date, if it's 2+ of blue, unpasteurised and soft. I only buy cheese from the reduced shelves, when it's less than half price because its use by date is today - this gets me tasty cheese, and hel
326.
▲
by
to3m
10y ago
Ha... yes, a good point. That's a reasonable reason not to generate the load, and stupid me for not noticing. What's also dumb is that my eyes just glossed over the ud2 instruction that both put in main too. The program (not unrea
327.
▲
by
to3m
10y ago
Assuming you managed to accumulate enough items to fill a 64-bit counter, if you got 1 core of your super-fast PC to increment a 64-bit value for each one, it would take over 100 years to count them all. (Assuming you don't just decide
328.
▲
by
to3m
10y ago
Any time you have a 16-bit count, it won't be enough. It's a dangerous size...
329.
▲
by
to3m
10y ago
But the null pointer check was left in. (And, sure enough, adding -fno-delete-null-pointer-checks makes no difference.)
330.
▲
by
to3m
10y ago
If the code for program #2 isn't enough to describe the desired behaviour, perhaps it isn't expressible in terms of standard C. Here's what "x86-64 clang 3.9.1" gives for foo with -O3: ( https://godbolt.or
More ›