HNHacker News
TopNewBestAskShowJobs

terminaljunkid

29 karma · joined December 24, 2019

submissionscomments
terminaljunkid··on The Rust Compilation Model Calamity
At the point, all that matters is if templates are monomorphized or not. Other things don't affect much. Your previous statement just counts like fanboy-ism.
terminaljunkid··on Performance First
It seems many comments in this thread don't get the point.

The "Premature Optimization is Root of all Evil" is about juvenile low level optimizations that sacrifice code readability. They don't give high perf gains either.

But that doesn't mean "Don't think at all about performance in beginning, you can optimize later". That's bullshit notion. Someone will end up paying in AWS bills for that. For instance, every programmer should know how latency varies between disk and memory access, and think about the tradeoffs at design/spec level.

It is true that there are cases where even that doesn't matter. But in most cases where people think so, It ends up they pay double in AWS bills to save two hours of thinking.

terminaljunkid··on Awesome-ld-preload: List of resources related to LD_PRELOAD
It reminds me my experiments to get a debian rootfs running on a plain Android terminal emulator without something like termux.

I remember I used LD_PRELOAD along with fakechroot and fakeroot packages to get most things working. Those days' android allowed running statically linked binaries among other things.

(except DNS resolution and argv[0] was always ${some_large_path}/ld-linux-armhf.so, as I invoked glibc dynamic loader)..

Those days I didn't have a laptop and learned some C programming and unix stuff through termux. I sometimes think, as a CSE student, I lack the enthusiasm I had in those 12th grade days..

terminaljunkid··on Go's Tooling Is an Undervalued Technology
naive question: What is implementation difference between async and synchronous function that makes many languages differentiate them?
terminaljunkid··on Every Google result now looks like an ad
If using Mobile Firefox (not FF Preview or FF Focus), then greasemonkey is available as add on.
terminaljunkid··on What is Rust and why is it so popular?
Ecosystem..

I don't know about node. But there's whole lot of java code and libraries out there. Otherwise why would people build other languages for the JVM?

Ease of writing; Most of code is okay having a GC. But time to produce working code (not necessarily 100% correct code) is important.

Rust is created for low level stuff. It is wrong to expect web backend programmers to deal with ownership, stack-vs-heap and all.

terminaljunkid··on Apple dropped plan for encrypting backups after FBI complained
That meme should have been diminished earlier. People should understand while Google saves much data within itself, Apple shares it with advertising partners.

By the way, People have come to hate Google all the way for some advertising and easily switch-able data collection. But one should at same time hesitate to vote to apple with their wallets, they are a monster company which patents rounded corners of phones and things like optional chaining in Swift. That just goes unnoticed in circles like HN. IMO apple has always been more evil than Google.

terminaljunkid··on Software is a focus intensive industry
> Many other fields require the same mental capacities we employ: from doctors to school teachers all the way to even accountants. They are literally doing the same stuff we are doing: grabbing stuff that was already built by others, thinking about it, discussing it, having meetings, etc.

Here I disagree. Doctors? It seems true.. But school teachers and accountants? Nope..

I don't really think these fields compare, unless your 'software' is limited to doing some outsourced CRUD work..

However much people tout against it, I believe software engineering is closer to any other engineering (say Mechanical) than it is to other fields. Our task is solving problems in efficient ways, and optimizing things for one thing or another. Except these days unfortunately the bar seems very low..

terminaljunkid··on A new browsing experience arrives in Firefox for Android Nightly
Plus ublock origin can save a lot of data.

I am on a slow university network and I keep JavaScript off by default using UBO. It takes 3 clicks to enable it for sites that really need it, but web is much faster with it.

terminaljunkid··on The Roots of Lisp (2001)
IMO Lisp is just overrated, it lacks visual clues, reads right to left with horrible nesting etc..

Sure it has some good concepts. But fanboys on internet make it seem like some God tier thing.

terminaljunkid··on iOS 13 app tracking alert has dramatically cut location data flow to ad industry
The blog is one of biggest apple fanboy bullshits out there. And given the bias against google in HN / reddit, it is quite simple why apple is heralded as preserver of privacy.

Hell, one can disable most of google stuff and install f-droid, or even go lineageOS route. that's much, much more private than buying an overpriced, locked-in phone.

If Google is evil because it tracks some (easily hide-able) data that only few zealots care, then apple is much more evil, because they patent trivial things (such as optional chaining in swift, or rounded corners of phones) and do misleading marketing.

terminaljunkid··on Google vs. Oracle: The Supreme Court will decide software development’s future?
> I see massive companies like AWS reimplementing open source projects' APIs with proprietary solutions

This may feel wrong to some, but emulating the API of the famous thing is bread and butter of software interoperability.

terminaljunkid··on Towards a Rust Foundation
The problem with those standards committees is they are very opaque and finished standards are not freely available.
terminaljunkid··on The Unstoppable Rise of Sci-Hub (2019)
Better, I am almost always able to download the paper by prepending sci-hub [dot] tw [slash] to publisher's URL. It sometime asks captchas but not at all a problem.
terminaljunkid··on BeOS: The Alternate Universe's Mac OS X
Yes, in short - users & groups serve as a rudimentary implementation of capabilities. Best example is Android. But there's more to it.

Separating admin user from non admin user always has advantages and I do it even on Windows.

terminaljunkid··on Chrome OS has stalled out
I feel if google had brought android to desktop, with terminal and all, it would be a good developer experience and also nice for normal user. There's sandboxing, it requires less and less maintenance than other OSes and UI is quite intuitive. Plus all the google integration.

Sure some of people here do not like google integration. But in a practical world, it solves many problems to normal people.

And android the OS is really better than what people seem to think.

terminaljunkid··on Ask HN: A New Decade. Any Predictions?
So some predictions for SW industry:

* We would be still using Python 2 and Linux kernel 3.X somewhere in production * Google Fuchsia will reach beta * Go will not get generics * Rust won't reach dreamed popularity -- still deemed terribly difficult & non ergonamic outside HN circles.. * The AI hype slows down as investors realize most things sold as AI are not really AI. * Hopefully a well designed, productive native programming language emerges with top notch tooling and flow of programming similar to python.

terminaljunkid··on TextCaptcha: Simple Textual Captcha Challenges
Isn't there any kind of problems that can be automatically generated but can't be solved reliably by machines?
terminaljunkid··on Software Disenchantment (2018)
> In fact, there are so many occasions where the optimisation is so good that the end user doesn't believe that anything happened

IMO it can be attributed more to bad UI than optimizations.

terminaljunkid··on Using an /e/ phone as a desktop or laptop
I literally got into CSE because of termux, at the time I didn't even have a PC..
terminaljunkid··on The Fallacy of Premature Optimization (2009)
Premature optimization is when micro optimizations triumph readability..
terminaljunkid··on A lot of complex “scalable” systems can be done with a simple, single C++ server
I think you entirely ignored the performance cost of dynamism (not having types known, not having value types, dynamic binding of methods etc..) that is handy 1% of the time but imposes type safety & performance cost other 99% of the time..
terminaljunkid··on Nim vs. Crystal
what about cygwin?
terminaljunkid··on Golang and Rust = Vlang
This author is certainly building on his own dreams. As with many other promises and hype he gave..

There has been research on escape analysis, static memory management and all. Even not considering equivalence to halting problem, it has proven basically impossible to manage memory at compile time except very simple programs. This is a reason why rust ownership semantics are so complicated. And still anything complicated will use reference counting for many shared references. (Eg: Linux kernel).

But this guy is not even good at marketing he is doing -- some promises look very shady and comparisons are not apples to apples.

I see how big efforts zig and odin authors made, and the languages are impressive. V is a hyped piece from beginning and this makes the author seem more shadier.

terminaljunkid··on EU beckons Indian tech talent
I see you have very high opinion about India's engineering education. Being an Indian CSE undergrad student at one of 'top' colleges, I'd say it is crap unless you climb the ladder on your own.

1. Till 10th grade you are not likely to know anything about programming

2. In 11th and 12th there is huge competition for getting into medical / engineering colleges. You study physics - chemistry - mathematics for acing that 'entrance exam'. Very few people try to learn outside syllabus. I did try to learn some C programming & linux stuff out of interest. But somehow happened to study well also and got into my province's #1 or #2 college by everyone's norms.

There it just began.

3. We have 4 years Bachelor of Engineering degree for CS. CSE is most prestigious branch because of relatively high salaries. Every kid who topped the entrance exam in entirely irrelevant subjects (Phy-Chem-Math) ends up taking CSE without any idea or interest about it. Most of your classmates will be such bookworms who just study for exams.

4. Worse, they don't teach considerable amount of CS / Programming in first year. Instead put same physics - chemistry stuff -- pretty much rote learning and scoring good at long-essay-answer exams. They do it saying "students should have interdisciplinary knowledge" etc.. refutable excuses. The purpose just seems to be providing jobs for graduates in chemistry / mathematics.

5. Even if you will get relevant CSE subjects in future, teaching quality is subpar. some teachers don't even know to indent code. In C programming lab exam, I was told not to use command line editor and use gedit because they thought using vim / nano may give different results :D..

Thanks for hearing my complaining here ;-) but we are stuck in a subpar quality system because of high influx of incompetent people into CSE degrees, and job-oriented and rote-learning based mentality prevalent here in every field. I wanted to get into an US university. But costs were prohibitive even to write SAT, and coming from rural area, I didn't have much facilities. There needs to be big change in people's mentality here to see any change.

Also, pardon my English.

← PreviousPage 3 of 3