HNHacker News
TopNewBestAskShowJobs

himujjal

148 karma · joined July 13, 2017

I am a learner and I am learning to code. This site will get me updated to all the coding stuffs!
submissionscomments
himujjal··on Ask HN: What podcasts are you listening to?
Had to scroll so down to find Lex's name recommended. But he is just awesome.

There is something about Lex. He isn't the most entertaining fluently speaking host, but the guests. Oh my! He has a standard. That's what I love

himujjal··on Zellij: A terminal workspace with batteries included
Exactly my point. I just am happy with iTerm2.

On windows it was Windows terminal.

On Linux, I was using Konsole (KDE).

Just more than enough

himujjal··on Some Thoughts on Zig
I like Nim. WASM is not natively supported by the core team, and the biggest of all. Cyclic Imports. Rest, its a great great language.

If these two issues are resolved. I am all in for Nim

himujjal··on The new wave of React state management
This whole discussion and article are useless if you use Svelte. That's it. Stores and local state is THE feature that Svelte makes it easy to use.
himujjal··on Some Assembly Required: An approachable introduction to assembly
And write parsers and llvm glue code all day long.
himujjal··on The Last Thing Rust Needs (2019)
Sorry for asking. But why even add new features in a language every year. Why not make it like once in 5 years? And focus on fixing and improving the language and the compiler.

Rust is already a huge language. The editions are also 3 years apart. And between them are tons of new features.

Strange. EcmaScript/JavaScript kind of adds like 5-6 features every year. Python.

C on the other hand is great. What you wrote in 1990 still is understandable today? (not that C is the best language out there)

himujjal··on How safe is Zig?
I understand where you are coming from. Rust and Graphs/Trees is a hard problem. Somehow it goes beyond the way we think about Graphs.
himujjal··on How safe is Zig?
I did the Crafting Interpreters book to learn Rust after I did The Rust book.

I faced the same problem as you. Somehow it felt like Arenas went beyond Rust's philosophy and added huge amounts of complexity to the interpreter.

Tree traversal and mutating the environment of a `block` internally was an issue I spent like 2-3 days on. I was porting Java code to Rust after all. Somehow got it working in a Rust way. I used unsafe at one place. But I was left heavily unsatisfied. Something about graphs/trees and Rust don't match up.

himujjal··on iOS 14 tracking changes sees big ad spending drop, tumbling prices
exactly. duckduckgo has ads that don't track you. its okay. i see them whenever i search and sometimes maybe click on them to see what exactly is going on. Thing is they don't track and I am okay with it.
himujjal··on Things you can’t do in Rust (and what to do instead)
Rust is not at all a high-level language in any sense and will not replace the places Kotlin, Go, TypeScript etc occupy. If I wanted to write a super-fast server with some time constraints, I would choose Go without thinking twice. Go is fast enough. Rust is only needed when you need things to be super-duper fast and memory efficient. Those two criterias are the only reasons to use Rust.
himujjal··on Statement by UEFA, FA, Premier League, RFEF, LaLiga, FIGC and Lega Serie A
HN is super offtopic at times. Political issues are regularly discussed here despite the fact that there was 0 tech in it. At first I too disliked this, then realized, whatever! I have to filter things for myself.
himujjal··on Facebook prevents sharing New York Post story on BLM co-founder's real estate
HN regularly posts non-tech related stuffs. Specially during the last US elections. And don't even ban/flag it if it supports on spectrum.
himujjal··on Facebook prevents sharing New York Post story on BLM co-founder's real estate
lol. that was good!
himujjal··on Linus Torvalds on Rust support in kernel
I wrote 10kLOC last week. Most of the code didn't require much extra thinking, it was mostly a translation of an old TypeScript project to Zig. But measuring compile times with 10kLOC is really not a good argument.
himujjal··on Making Librem 5 Apps [video]
linux on dex? I seriously dont know why they pulled it off? I mean if they had put some effort into the whole thing, laptops would be a thing of the past. Plug your (13gb ram, 512 gb storage & powerful arm cpu) mobile to just about any display device with a keyboard and boom! You have a laptop. It was on Samsung Galaxy Note.

I mean the first versions are of course not of the best quality. But in maybe 5 years, it would have be an universal feature.

Alas. They discontinued the project.

himujjal··on AMA: Ivan Kutskir, creator of Photopea
better than a software that doesnt do what users want it to do? a lot of things. Why dont you go and try Photopea. It has achieved so much what Gimp couldnt. Yes, its made for business and its closed source. But considering the number of devs and the number of years spent, Photopea is an excellent replacement for photoshop. I have personally used it for most of the small image editing I needed.
himujjal··on Collabora Office: The enterprise-ready edition of LibreOffice
Something in Libreoffice makes me avoid it. No matter what, right now the best office solution is from Microsoft. OnlyOffice identified this and worked to clone the thing, because why not clone the best instead of new designs and changes. This makes it quite good actually. Sure, there are a few bugs here and there but the whole thing works quite good.
himujjal··on Physicist 3D-printed a Lamborghini because his son liked one (2019)
what a father!
himujjal··on A “Better C” Benchmark
No task is too easy. For easy, we need to jump down to Python. Even C is too easy to learn but difficult to write.

Zig is kind of in between Go and Rust in terms of the learning curve. In terms of programming, it is in between C and Rust. But it is simple enough. The documentation as I said for the stdlib isnt that great right now as I said.

himujjal··on A “Better C” Benchmark
Zig is promising. The UX problem that the author talks about will be solves by Zig.

About documentation, its still not 1.0, the language. So, its a work in progress.

himujjal··on Comparing Svelte and React
Svelte gives us a host of possibilities because of it being compile time. Its the perfect UI language.

Think about it. You can write anything in the script part. Lets say you have a Go UI framework. Write Go code inside script tag and use the template to produce UI elements for TUI apps, for desktop apps without even working hard to manage state, manage UI element paradigms. The simple reactive style of programming can be used. Of course a different compiler can be used. But the possibilities are open. With React and stuff that's kind of difficult. You will eventually end up writing original Go code.

And currently you can compile Svelte components into React/Preact etc. Its not production quality. But its possible. (Svelte2TSX makes it possible)

himujjal··on SvelteKit Is in Public Beta
talked to the author on mail. it will remain a closed source product
himujjal··on Reddit is banning any Aimee Challenor mention. UK public figure and Reddit admin
Its called left for a reason
himujjal··on Crystal 1.0 – What to expect
kotlin/native doesnt require jvm

swift support for windows is non-existent

himujjal··on Spain: Parliament passes law legalizing assisted suicide
Isnt that way too scientific and a long process to die? Guns are easy. One bullet in the head and goodbye world.
himujjal··on GitHub, fuck your name change
Far worse challenges. How about impoverishment? I am still stumbled how Github has managed to make a fool out of Americans. I thought at the very least these first world country people are educated enough to not fall for propaganda
himujjal··on GitHub, fuck your name change
"Ah, its just a name change" I have been hearing this since I was born from the west to impose their culture onto us.

And let me tell you whats worse. People like you who think they are doing good supporting it.

himujjal··on GitHub, fuck your name change
My problem is that this is an American company trying to impose their culture to us. There are a lot of developers from China and India whom Github didn't even consider asking.

Question is why should "we" who face far worse challenges than the Blacks in US be asked to change the name. That is what doesn't make sense to me.

The idea imposition happens just because we are a poor country and nothing else. I am sure 20 years down the line, if I don't follow an American culture I will be a villain.

himujjal··on Google Play service fee reduced to 15% for the first $1M/year
only 30 million? considering how much apple makes in profits from their app store thats a lot less
himujjal··on Why I rewrote my Rust keyboard firmware in Zig: consistency, mastery, and fun
Okay. I was about to write a Svelte compiler in C. I am choosing Zig. Thank you! I first wanted to choose Rust but I never liked that language. I feel that it inhibits thought process. I was making yet another project with Rust. I didn't continue because I felt if in future 25 people were to work on this, only 5 could actually write code without scratching their heads. Rust surely does solve bugs, but does not let me think with freedom. I am on the Zig train.

I loved Nim and considered it to be my second choice. But something pulled me off. Maybe the GC. I still don't understand though why Nim is not as popular as Go. I mean it has good compile times, good performance and the best part, it compiles to C.

Why these languages and not Go or <insert language here>? Simple. Rust, Nim and Zig have `extern` with a C ABI. People don't realize how big this feature is. Two way communication with C.

← PreviousPage 2 of 4Next →