80 karma · joined Jul 31, 2020 (6y ago) · 74 submissions
comment 6y ago · link · parent
And GP is right, you rust folk talk as if sum types are silver bullet. And you people also talk as if rust invented sum types (though you people don't imply it).
You folks talk as if cargo is the best package management solution that exist.
You folks talk as if web of hundreds of dependencies written by enthusiastic youngsters is not a problem for a language priding itself on safety properties (the attempts like crev don't get the attention they deserve).
You folks talk like the memory management overhead of rust is not a problem for creating average CRUD webshit.
You folks talk as if rust automatically guides you towards correct programming patterns, when that is out of necessity to facilitate static memory management. The business logic is not at fault here, neither is rust.
Some folks in the rust community frequently bring virtue signalling politics into programming language related medium.
Rust is a well designed systems language and deserves appreciation for bringing Ada / Cyclone / ATS' good parts as a usable language. But the community is ruining its image.
Plaudits to all involved.
comment 6y ago · link · parent
How many actually try to reproduce the results by writing corresponding code themselves? Apparently lot of papers with slightly wrong findings because code errors have passed the peer review (all of us in the SWE bubble know how often bugs occur), at least in less prestigious journals.
There is nothing wrong with mandating the code to be supplied with the paper. Because, many time code is somewhere between the experimental setup and proof / result.
comment 6y ago · link · parent
Still better than C++ standard people who try to cram infinite complexity into 100 layers of templates every three years for sake of adding a feature as library instead of language feature, with utter ignorance towards debug build performance, compile times and error messages. I have lost respect towards them since I read a C++ performance report and didn't see the mention of inherent STL inefficiencies.
comment 6y ago · link · parent
I don't understand the luddite attitude towards ebooks: - you can carry them anywhere - you can search them (more important for technical books) - you can save important parts as screenshots in some other folder - they can be significantly more affordable - even those people in small cities can get them without searching in bookstores - Poor/middle-class students can easily get pirated copies - you can copy paste from them.
The resistance to ebooks instead of adaptation is weird.
In fact, because of ubiquity of smartphones, I wish there would be some sort of programming environments for these devices, that nicely reformat code to fit into the smartphone screens or even use some different representation, so that we can get something done on the go. These devices are not just for consuming Netflix content.
comment 6y ago · link · parent
The elder generation believes some WhatsApp forwarded message so easily that WhatsApp and Facebook are political propaganda machines. Google about "Whatsapp University" meme. I honestly wish anything should not be allowed to be forwarded more than N times where N < 4. And I wouldn't care end to end encryption breaked on forwarded messages in order to fact check them.
comment 6y ago · link · parent
Also, browsing can be something like: - Ad blocking - Javascript disabled by default - remote fonts disabled - media eg images disabled if possible - cookies disabled by default
The first 2 are possible using UBlock Origin + Firefox on Android devices. Ad blocking is a must.
Also, you can use some local VPN app like netguard to restrict app's data usage. I don't remember whether you can specify data usage limits though. But it can prevent entire apps from accessing internet.
Then about web pages. On desktop I routinely use text browsers or simple GUI browsers because they are so fast. Even your regular browser can go a long way with JS disabled by default and ad blocking.
comment 6y ago · link · parent
And Go, by the virtue of having less features, has to allocate quite more. Eg: Go doesn't have lazy ranges / streams. Dynamic dispatch using interfaces has to allocate memory on heap.
Also, I expect D standard library to be optimized for Non-GC use case at least a part of it, because that's one of its use cases.
Compiler's escape analysis matters too. I'm told Go's escape analysis is not very sophisticated.
Last, it may be case of missing features in D version as a comment mentioned.
comment 6y ago · link · parent
But I still suspect there is some subtle oracle propaganda on this site. I don't mean pron is part of that though, they're an employee, and naturally defend it in many discussions, and I think that's fine. I meant to call him out to include a disclosure. The 'shilling' bit was not appropriate. To clarify, I didn't mean to call him out as a 'shill'.
22.
Explain Xkcd: Category Programming(explainxkcd.com ↗)
2 points · by avasthe · 6y ago · discuss
23.
Eliminating Static Overhead of Ranges(vector-of-bool.github.io ↗)
1 points · by avasthe · 6y ago · discuss
comment 6y ago · link · parent
A more realistic dream would be finding good algorithms for "webscale" search engines, that all competitors (Bing, DDG) can use such that any one of them can't have excessive advantage over the others.
Secondly, human curated directories may still have future. If I search Google for interesting links or just programming blogs on specific topic, I find lot of SEO optimized low quality content instead of deep technical content so that I often have to search through HN, reddit etc.. and sort by popularity - but searching for particular topic is difficult.