HNHacker News
TopNewBestAskShowJobs

gdxhyrd

233 karma · joined November 6, 2019

submissionscomments
gdxhyrd··on Java JIT vs. Java AOT vs. Go for Small, Short-Lived Processes
The difference from one set of instructions to the other is typically irrelevant.
gdxhyrd··on How to undo almost anything with Git (2015)
How is that unlikely? 4k commits is nothing. Any project with a dozen developers is going to reach that easily.
gdxhyrd··on Lilith: x86-64 OS written in Crystal
> crappy, badly thought out, ubiquitous, low entry barrier languages

It is easy to criticize designs that are 47 years old in today's context.

I am betting you wouldn't have done a better job half a century ago either.

gdxhyrd··on Learn Rust the Dangerous Way
Compiling is a destructive process. While you can definitely learn a lot by reading IR and figuring a program out, and while it is easy to show why programming in ASM is time consuming, I don't think it makes sense to teach compiler theory and compiler passes that way.

In general, moving from one language to a "higher level" or "stricter one" (such as unsafe Rust to safe Rust) requires a redesign to properly do it (if at all possible).

gdxhyrd··on Lilith: x86-64 OS written in Crystal
> C#, Kotlin and Swift are the system API languages of major platforms (MS, Apple, Android).

No, the system API of those systems is exposed in C, ObjC and C respectively.

You may be thinking about the most common language in those platforms nowadays (and their respective APIs).

gdxhyrd··on Alan Kay: Smalltalk is not about objects, it’s about messaging (1998)
Sorry, but all those are buzzwords.

In C/C++, I can do live debugging, reverse-time debugging, edit-and-continue debugging, multi-device debugging, multi-threading debugging... We also got language servers, on the fly retesting and recompiling, all kinds of profiling... All that with free or open tools readily available, not to mention paid, proprietary ones.

In higher-level languages, fancy features are even more prevalent.

So, what are we missing exactly from Smalltalk?

gdxhyrd··on Alan Kay: Smalltalk is not about objects, it’s about messaging (1998)
> the first time a debugger appears and you fix the bug in the debugger and just hit the “continue running” button is a rush

That is possible in other many other languages, including system ones like C.

gdxhyrd··on ACM signed letter opposing open access
Reviews are voluntary.

Peer review is not (if you want to keep your career, that is).

gdxhyrd··on ACM signed letter opposing open access
> open access should only be granted to citizens of a country, for research arising from academic institutions in that country?

Fine with me, then countries can sort it out between themselves. Easy, considering way harder things have been done in international academic efforts.

> Actually, do public libraries get access to Elsevier etc?

No, they don't.

gdxhyrd··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
> At the very least, moving around the code is much faster with incremental search than with scrolling and spotting.

A GUI does not necessarily imply scrolling to find something.

gdxhyrd··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
Slow? It is definitely faster to use a mouse to click a word in a text than use the keyboard to get to it. (I have no idea about how Eclipse does it, though).

Otherwise we would be playing RTS games with the keyboard. (I am a competitive RTS player, so I can almost instantly hit any point in the screen, which helps; a good mouse also helps a lot).

gdxhyrd··on Synchronous Messaging at Mozilla: The Decision
Yeah, that was a bummer for me.

Discord is admittedly awesome, but not in line with openness.

gdxhyrd··on Synchronous Messaging at Mozilla: The Decision
> You can write a pretty and functional Electron app in a weekend.

You can also do so in Qt and other frameworks.

The fact that you are proficient in web frameworks does not mean other tools are less productive.

In fact, being proficient in modern web dev, including HTML, CSS, JS, TS, React, etc. takes way longer than learning something like Qt. And if you go to easier frameworks like Delphi or VB6, you would be amazed at the productivity speed.

gdxhyrd··on Rust 1.40
Yeah, I don't like it at all.

Yes, some enums are intended to be expanded. Still, as long as something is a compile-time error, I don't care about having to update my code when I choose to upgrade compilers.

In fact, even if the enum is intended to be expanded, I prefer to hear about new features and changes on APIs I actually use in a given project. It allows me to review mu choices and many times in complex APIs there are new options or flags that are useful to know about and otherwise get ignored. It allows me to update all callers as needed.

I have heard too many times the backwards compatibility story in the C++ world and I never valued it for things that are errors rather than behavior changes. It makes the libraries and the language way too rigid and makes evolving it a pain.

As long as you don't change the meaning of code that compiles cleanly, feel free to change things.

If you really want to keep code compilable because you are doing a chance that you believe will be a PITA, you could always offer a (truly) automated tool.

gdxhyrd··on Building a new Windows 3.1 app in 2019: A Slack Client
So much this.

It depends on which docs you are looking at, but some are very broken, with broken links, broken tables, broken text formatting...

Do you know of any way to get a handle to the old docs or perhaps a full MSDN dump of 3 years ago or so? (other than the web archive)? Perhaps the latest MSDN offline release or something?

I don't even mind paying.

gdxhyrd··on Building a new Windows 3.1 app in 2019: A Slack Client
Indeed. This point is usually missed. You can even run Windows apps in BSD and macOS.
gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
Rearranging a line is 3 keystrokes in vim, which I use for that particular action, since it is perfect for that, rather than my normal GUI IDE.
gdxhyrd··on Undocumented Catalina file access change
Perhaps you do. I definitely don't run untrusted software.

In any case, the fact that the Terminal could be allowed to access all the disk has nothing to do with child processes being allowed to access all the disk.

gdxhyrd··on Almost everything on computers is perceptually slower than it was in 1983 (2017)
> A touchscreen is just as good.

A touchscreen is a nightmare for manipulating small text.

> For navigating and writing code it's all emacs, tmux, terminals and unix tools.

Well, if you never leave emacs/vim and related workflows, you never know anything else.

For writing code, yes, keyboard is best. For navigating, debugging and other things a TUI does not cut it. And I spend a lot more time reading and thinking about code than actually writing it.

A particular example that stands out in the Linux world is GDB's CLI interface. It sucks. Its TUI is better, but still bad compared to a good GUI.

gdxhyrd··on Undocumented Catalina file access change
It does not make sense. If you are installing untrusted software in your computer, all hope is lost.
gdxhyrd··on Undocumented Catalina file access change
Who cares? The terminal is a trusted system application.

This is a computer, not a phone.

Oh, wait, Apple's marketing...

gdxhyrd··on Undocumented Catalina file access change
> And because a UI for revoking access to individual files would be a complete nightmare, there's no UI pathway either...

Citation needed. It is just a list. I don't see the "nightmare".

gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
You are confusing the model with the features built on top of that model.
gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
> You remember the hash of your June commit 3 years ago??

...which is what the git log above is there for.

> Web browser... for a local repo? Or do you mean you don't have a solution if your repo isn't on GitHub or you don't have an internet connection handy?

Yeah, local repo. You know, git is not GitHub. :)

> (You should also time yourself on your web interface by the way.)

Just paste the hash commit in the HEAD selector or even in the URL.

gdxhyrd··on WebAssembly becomes a W3C Recommendation
Yes, but in the far future.

There are many things to be done in the standard, in the implementations, in the frameworks...

gdxhyrd··on Floatplane – Linus Tech Tips launches their own video hosting platform
Very good news!

Competition in this space is hard and is always welcomed, in my opinion.

gdxhyrd··on WebAssembly becomes a W3C Recommendation
Good to hear it is making progress, but last time I looked, the docs were all over the place and many were outdated...
gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
That's easy with the TUI
gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
git log, copy paste hash, git checkout

If you have a dirty wd, stash.

But, to be honest, I almost never perform that action, and when I do I use the web browser.

gdxhyrd··on JetBrains: $270M revenue, 405K paying users, $0 raised
Git model is simple.

What is complex is the hundred features and commands it provides on top of that model.

← PreviousPage 3 of 5Next →