Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Crinus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
301.
▲
by
Crinus
7y ago
You may hate Make and it is certainly far from ideal (tab-based syntax was a mistake) but the thing is, Make has very simple rules that haven't changed for decades and Makefiles generally keep working (and when they break it isn't
302.
▲
by
Crinus
7y ago
> often thankless undertaking Why would i "thank" someone that puts unnecessary restrictions on how i can use the program i paid them money for? > neither immoral I see it as very immoral to deny me access and control to the
303.
▲
by
Crinus
7y ago
I hope they fix QtDesigner to not be hot garbage. Elementary operations such as trying to move some controls to a container that has zero size is totally unintuitive (you need to alt+drag to the container in the widget tree view - note that
304.
▲
by
Crinus
7y ago
Ideally developers would ask their users so that information would roll towards Qt developers. In practice developers just ask for whatever shiny toys they want to play with.
305.
▲
by
Crinus
7y ago
> There is a reason and it's a darned good one: piracy. This is not a good reason at all, especially from the consumer's perspective.
306.
▲
by
Crinus
7y ago
You are in luck then, all three Exile games are free from the site :-) (you need to dig a bit to find them, go to the games, then old games then click on the icon for the windows version).
307.
▲
by
Crinus
7y ago
Yeah, i never install it on Program Files myself, i always use a root level folder like C:\Steam (and a reason is UAC too, while Steam does more or less seem to bypass it, some patches and mods for older games do not always work that well i
308.
▲
by
Crinus
7y ago
AFAIK including the full VDM wasn't technically possible due to amd64 architecture limitations (no real mode support when in long mode - at least not without use of virtualization but that wasn't a thing at the time). They probabl
309.
▲
by
Crinus
7y ago
I wouldn't be surprised if this is for backwards compatibility with older games (the linked twitter "exploit" is certainly due to many games writing files in their own folders) and avoiding the need to show the UAC prompt whe
310.
▲
by
Crinus
7y ago
In C you can return a struct, however a better approach is to use a context object which also contains error information, like: ctx_t* ctx = ctx_new(); if (!ctx) ... fail ... if (!ctx_parse(ctx, code)) { show_error_mes
311.
▲
by
Crinus
7y ago
You can already do that with OTVDM: https://github.com/otya128/winevdm Using it not only any 16bit installer works, but also most 16bit applications. As an example you can play Exile by Spiderweb[2] on your Windows 64
312.
▲
by
Crinus
7y ago
I already gave an example of APIs that do this - pretty much all COM APIs use HRESULT. I do not know why not everyone does this as i'm not everyone and as such i cannot tell what sort of considerations (if any) were going on. At best i
313.
▲
by
Crinus
7y ago
You are making things sound way more complicated than they need to be, the situation is actually very simple: if you need to return multiple error codes, use a return value for the error code and give back things via an output parameter, ot
314.
▲
by
Crinus
7y ago
Which in turn makes me wonder, how home parents tend to forget being kids?
315.
▲
by
Crinus
7y ago
HTML3+
316.
▲
by
Crinus
7y ago
TBH i only have statically typed languages in mind (like C++ and Free Pascal), so i'm not sure how it'd work in a dynamically typed language with type annotations, but to refactor i'd just... change the type and then work thr
317.
▲
by
Crinus
7y ago
In terms of "liking" it, no, in that very specific case where the type is repeated and very long, i do not like it and i think "auto" (or var or let or whatever) looks better. However in the interest of consistency (and
318.
▲
by
Crinus
7y ago
Sure, FWIW i wasn't trying to make an argument about keeping fulltime devs away. Trying to keep the codebase hackable for non-fulltime devs will also help fulltime devs too and even attract non-fulltime but otherwise dedicated (in thei
319.
▲
by
Crinus
7y ago
> Honestly, this shows why projects of major complexity need professional full-time developers. I think the opposite, it shows why projects that care about the practical side of open source and free software should always have in mind t
320.
▲
by
Crinus
7y ago
It is certainly subjective, but i am one of those developers who dislike inference in languages where it has them and prefer explicit typing out types - in fact i also go as far as to avoid type aliases (e.g. i prefer something like "c
321.
▲
by
Crinus
7y ago
Try dgVoodoo2, 99% of the issues with older games is due to DirectX abuse that at the time happened to work. dgVoodoo2 reimplements old versions of DirectX under Direct3D 11 with very lenient handling and it is by far the best wrapper for o
322.
▲
by
Crinus
7y ago
There is nothing in its design that prevents X windows to be made to send an event like WM_INPUT that games can handle in a similar way to how they handle WM_INPUT on Windows today.
323.
▲
by
Crinus
7y ago
It does but this is only in an environment where the same computer is accessible by more than one people at the same time with different keyboards and monitors. In practice this is an extremely rare case and in that case (and assuming the p
324.
▲
by
Crinus
7y ago
I have added support for reading the input device directly on my 3D game engine exactly so i can provide unfiltered mouse input, but at least on Debian (and i think on derivatives) the user isn't on the 'input' group by defau
325.
▲
by
Crinus
7y ago
I remember many years ago when i had a 3G internet connection (which sometimes even had to work via 2G networks) for my laptop, the service would automatically recompress images to lower bandwidth and speed up times. To enable the connectio
326.
▲
by
Crinus
7y ago
You can configure it like that, i think the main reason that it isn't by default is mainly tradition as many people among the developers and community prefer the multiwindow setup. But all you need to do is to install the AnchorDocking
327.
▲
by
Crinus
7y ago
What do miss from C# compared to Free Pascal? Outside of something like LINQ and lambdas i can't think of any other major difference between the two languages (and lambdas are WIP, i think they already work in the trunk), what do you h
328.
▲
by
Crinus
7y ago
Lazarus does use static linking for its own libraries and the license allows that. Yes you can do the same with other languages, but this was just a single feature among others, i'm not presenting every single one of them in isolation
329.
▲
by
Crinus
7y ago
Why is the jab against systemd childish? Also he links to systemd script files maintained by someone else, he just doesn't want to do that himself: https://github.com/jedisct1/dsvpn#thats-it
330.
▲
by
Crinus
7y ago
Why is it childish to not want to put time and effort into supporting things you dislike for the stuff you work on and give out to others for free?
More ›