Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rossy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
rossy
9y ago
I don't think that's it. I could definitely manage without having a community around my editor. The only packages I have installed in Sublime Text are syntaxes and colour schemes. Sublime actually supports TextMate syntax for thos
212.
▲
by
rossy
9y ago
> open-source == source code is open Not right. The problem with this definition is that it doesn't confer any extra rights. It doesn't mean very much if you can read the source code if you're not allowed to use it, stud
213.
▲
by
rossy
9y ago
> Aren’t open source licenses that forbid commercial use kind of rare? In fact, they're so rare, they don't exist. The OSI Open Source Definition forbids discrimination against fields of endeavour, which means a licence with
214.
▲
by
rossy
9y ago
> Case in point: ransomware needs no elevated permissions. That's the result of how we drew up the security boundaries on desktop operating systems. You don't need admin permissions to rewrite your most important documents, s
215.
▲
by
rossy
9y ago
Isn't that equivalent to emulating it? Like emulators for video game systems that have both an interpreter and a JIT recompiler, the latter is just an optimization of the former. They both must interpret the instruction set of the targ
216.
▲
by
rossy
9y ago
Yeah, the form on http://sprunge.us/ is blocked for me in Firefox 58.0b7, which is kind of annoying because I used it regularly. If this is a phishing problem, couldn't it be fixed by changing UI rather than breaking f
217.
▲
by
rossy
9y ago
I hate to underestimate the "average user," but there are legitimate things the average user could do with a Save As button in Netflix, like playing video on unapproved devices that they own. There are a lot of people who still do
218.
▲
by
rossy
9y ago
Yeah, I couldn't agree more. The original effect is really interesting and evokes nostalgia of old Mac games, as the developer intended. I think he's reacting too harshly to criticism, or overthinking things, because my reaction t
219.
▲
by
rossy
9y ago
It should affect more than just Notepad. One of the replies links to more juicy details: https://srad.jp/story/17/11/14/0640253/
220.
▲
by
rossy
9y ago
> The return value of GetACP() is also 65001 Wow. I think that implies all the ANSI Windows APIs will be able to use UTF-8 as well. Native UTF-8 support is something that Windows developers have wanted for years. I thought it was impos
221.
▲
by
rossy
9y ago
Yeah, that's fair. I think there's a "Windows XP" preset for Infinality-patched FreeType and it gets pretty close to what Windows does. Its rendering of 9pt Segoe UI is near identical to Windows', except for slightl
222.
▲
by
rossy
9y ago
For an example of how much people care, look up all the outrage that happened when Chrome switched between two very similar Windows font renderers (GDI and DirectWrite.) Example: https://www.change.org/p/google-inc-bri
223.
▲
by
rossy
9y ago
The real problem is that people get used to how their operating system renders fonts, and different operating systems render fonts very differently. The difference between how macOS and Windows render fonts is almost philosophical. macOS do
224.
▲
by
rossy
9y ago
Yeah, that's a valid question. I do use it on a phone and I don't think a phone's on-screen keyboard is suited for programming or heavy terminal use, but I've used termux for small things that I need to do when away from
225.
▲
by
rossy
9y ago
I tried this out a little while ago and I was really impressed. It's worth mentioning that this isn't just a Debian chroot/container, the software is actually compiled to run natively on the Android NDK. It seems like they wo
226.
▲
by
rossy
9y ago
Well, if you need another PPC Mac OS X emulator, look at QEMU. QEMU's Mac PPC support has improved by leaps and bounds recently. It's now a pretty competent Mac emulator for OS 9.0-10.5.
227.
▲
by
rossy
9y ago
> My car is the one place in the world where I stand a decent chance of escaping the all-pervading goddamn film and music industry. That's a very odd way of putting it. You do realise that music is not just a marketing platform, b
228.
▲
by
rossy
9y ago
Whether the user knows it or not, there is still software running on the device that is working in the interests of the vendor and/or the DRMed content creator and against the interests of the user. Yes, most users don't care, but
229.
▲
by
rossy
9y ago
This seems good and bad. The prospect of a new, modern operating system is exciting. The system call interface is sensible and it follows modern security best practices (eg. deny-by-default.) One practical disadvantage compared to Linux is
230.
▲
by
rossy
9y ago
This example is C++, not C. Clang is complaining because it's good practice to declare a prototype for a non-static function (in a header file) before using or declaring the function itself, so it can't accidentally be used with t
231.
▲
by
rossy
9y ago
That's mostly a cosmetic warning. If you add a prototype for NeverCalled() at the top of the file, it silences the warning, but Clang still emits the same code.
232.
▲
by
rossy
9y ago
> it's horrible for developers to use and no-one I know advocates it I've seen developers advocate for document.write to inject locally-hosted JavaScript as a fallback for when CDNs are down: https://www.hanselman.
233.
▲
by
rossy
9y ago
> As we can see, Aero introduces at least one frame delay (~16.7 ms for 60 Hz refresh rate) and leads to time discretization. Yep. There is one built-in frame of latency in the Windows composition engine. It's even documented here
234.
▲
by
rossy
9y ago
I guess a simple way of explaining it is that if there are any new header dependencies, one of the files that make already knows about must have been modified to add the #include statement, so make will correctly rebuild the .c file and gen
235.
▲
by
rossy
9y ago
(2) is not quite correct. The old .d file from the previous compilation is actually all you need to determine whether the .c file needs to be recompiled. It works in all cases. If the .c file is new (or you're doing a clean rebuild of
236.
▲
by
rossy
9y ago
If you have -MD or -MMD in your CFLAGS, GCC (and Clang) will generate the .d files during compilation without you having to add anything else to the Makefile, and without requiring ugly sed magic.
237.
▲
by
rossy
9y ago
This is what I do too, and it seems perfect to me for adding set-and-forget dependency awareness to an ordinary Makefile. The first build with a new .c file will work. Its .d file won't exist, but the -include directive silently ignore
238.
▲
by
rossy
9y ago
That's the argument for autotools, but I wholeheartedly disagree. Untested code can be assumed not to work, so if a build script doesn't work on a certain platform, what's the likelihood that the C program it's building
239.
▲
by
rossy
9y ago
This makes me anxious, but I'm not sure if my anxiety is valid. I didn't know it was okay to disable TLS 1.0/1.1 this early. Correct me if I'm wrong, but this will affect all HTTPS web requests and web serving, as well a
240.
▲
by
rossy
9y ago
I'm aware that Butterick is the author of several fonts, but this article has a surprising amount of vitriol from someone who should know that the choice of a programming font doesn't affect anyone but the programmer who chose it.
More ›