Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ChrisSD
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
811.
▲
by
ChrisSD
7y ago
It's worth mentioning that most cryptographic algorithms are designed to be strong using pseudo random algorithms, so real randomness isn't a requirement (although obviously some unpredictable starting point is required to get the
812.
▲
by
ChrisSD
7y ago
I think that including a parser in the standard library is either too high a bar or too low a bar, depending on the scope of the language's standard library. Either way it's somewhat arbitrary. It would perhaps be better to say th
813.
▲
by
ChrisSD
7y ago
The article agrees that it made the author a better programmer. The argument they're making is that it made them a worse C# developer. Their Haskell experience allowed them to see the specific problems with their C# code but didn'
814.
▲
by
ChrisSD
7y ago
In the UK there are farms that let you go round picking strawberries or other fruits. And people pay for the experience. I'm not sure that regulations come in to it.
815.
▲
by
ChrisSD
7y ago
But Windows does have strong separation between processes running in separate sessions. Steam actively goes out of its way to undermine this by giving all users permission to directly control a service with system level privileges.
816.
▲
by
ChrisSD
7y ago
> I don't think any competent authority will tell you that simply running a program you don't trust as another user should ever be relied upon as a sandboxing mechanism anyway. You're right that merely using "runas&qu
817.
▲
by
ChrisSD
7y ago
I've used both Ubisoft's and EA's launchers and I don't see how they're any worse than Valve's? The worst I can say is that they don't have as many features but that's not necessarily a bad thing.
818.
▲
by
ChrisSD
7y ago
Indeed. As I said, I've been doing this for awhile now so this isn't merely a theoretical for me.
819.
▲
by
ChrisSD
7y ago
Right but as far as I'm aware this isn't needed for games to install and run. If you disable it, Steam complains but runs anyway. Of course it probably breaks some Steam services but apparently not ones I use.
820.
▲
by
ChrisSD
7y ago
I've been running Steam on a non-admin account for awhile now. I can't recall a game that actually needed admin permissions to install and run. Some games will continue to try on every run but after the no admin error it runs fine
821.
▲
by
ChrisSD
7y ago
But there is a reasonable motivation. Some old games and some other software often don't run well on modern Windows (or sometimes at all). It can be possible to patch them to work but not always and even this relies on motivated and ta
822.
▲
by
ChrisSD
7y ago
Though do note this is only an issue when using particular "narrow" functions. If you consistently use the recommended "wide" functions then none of these issues occur.
823.
▲
by
ChrisSD
7y ago
> On Windows NT filename is specified as sequence of 16 bit wchar_ts and is supposed to be valid NFC UTF-16. I would emphasise that the "supposed to be" is a convention only (similar to the Linux UTF-8 convention). The only fil
824.
▲
by
ChrisSD
7y ago
On Windows this isn't great advice if you're making heavy use of Windows APIs. You end up needlessly converting back and forth between UTF-16 and UTF-8. So it often makes more sense to simple use UTF-16 for your own strings and as
825.
▲
by
ChrisSD
7y ago
> questioning the status quo is futile at best to politically charged at worst. Which is antithetical to the agile manifesto. The whole point of agile was to question the current methods and be agile enough to change them as needed.
826.
▲
by
ChrisSD
7y ago
Bruce unfortunately calls the blog post a "Forbes essay" which it isn't, although it's an easy mistake to make. The trouble is the Forbes blogging network has almost nothing to do with Forbes proper but the forbes.com do
827.
▲
by
ChrisSD
7y ago
I wish my competitors "embarrassed" me by helping to improve my software for free.
828.
▲
by
ChrisSD
7y ago
Bethesda seem very accident prone.
829.
▲
by
ChrisSD
7y ago
Yes, the point is that in your area of expertise you are likely to be more humble relative to your actual ability (but not too far off, on average). However outside of your specific area(s) of expertise your confidence in your ability is li
830.
▲
by
ChrisSD
7y ago
> Amazon Prime subscriptions have topped 100M I'm not surprised. I had trouble stopping them giving me free subscriptions for a week or a month at a time. The kicker is it automatically rolls over into a paid subscription so I need
831.
▲
by
ChrisSD
7y ago
But Javascript was designed for OOP from the beginning, albeit not with classes.
832.
▲
by
ChrisSD
7y ago
The old mouse UI is due to third party software that adds their own interface on top of it. Microsoft do want to move away from it but they don't want to break backwards compatibility.
833.
▲
by
ChrisSD
7y ago
Surely the risk there is exposing implementation details in the standard library? An separate library that's shared with the compiler may make sense, but going into the stdlib tends to come with a promise of stability.
834.
▲
by
ChrisSD
7y ago
Incremental compiling has helped a lot here. Even if the first compilation takes awhile, the next one will be much swifter. It's especially useful when only making minor changes to the code (which is pretty common).
835.
▲
by
ChrisSD
7y ago
I would only add that mmap should be used with care[0] and pread should be preferred. [0]: https://www.sublimetext.com/blog/articles/use-mmap-with-care
836.
▲
by
ChrisSD
7y ago
To expand on masklinn's point, Javascript's prototypes are actually very simple. It's just people overcomplicated it so as to do things it wasn't designed for (e.g. emulate Java classes). These points covers most of what
837.
▲
by
ChrisSD
7y ago
Yeah, the article used comments on Dropbox as a kicking off point to talk more generally about filesystem issues. The author is aware that in this specific case it was more about metadata: > I believe their hand was forced by the way the
838.
▲
by
ChrisSD
7y ago
Incidentally the copy/rename process can run into issues on Windows due to Windows Defender holding a lock on the file which can prevent it being renamed. This is an issue for the Rust updater utility: https://github.com
839.
▲
by
ChrisSD
7y ago
ext4 is by far the most popular filesystem so supporting it is a necessity for that reason alone. Nothing to do with it being superior or special. The argument this article is making is that supporting additional filesystems is hard. The is
840.
▲
by
ChrisSD
7y ago
I find the value of the comments varies a lot by topic. Comments are good in areas where there are at least a few domain experts who frequently visit. This is HN at its best. Outside of that it's much more of crapshoot. The trouble is
More ›