HNHacker News
TopNewBestAskShowJobs

still_grokking

2,093 karma · joined May 24, 2016

submissionscomments
still_grokking··on Effect of perceptual load on performance within IDE in people with ADHD symptoms
> Modern python is no longer dynamic.

Of course it still is.

The type hints have no runtime semantics whatsoever.

The actual type-checking still happens at runtime in Python, and is not related to any static checks. Out of the perspective of Python's interpreter the type hints don't even exist. They're like comments…

Static type checking is not part of Python!

> Python also has ADTs which match it in power to rust.

All Turing-complete languages match each other in power…

Besides that:

Python doesn't have a static type system in the first place, so it can't compete with Rust in this regard. That's not even the same game.

still_grokking··on Effect of perceptual load on performance within IDE in people with ADHD symptoms
That's not much tabs…

I have alone in this window here 4682 tabs open.

How it comes? Well, I just don't close them until I have decided whether I want to bookmark them. After month with a browser sessions quite some tabs pile up. (When it gets out of hands I bookmark whole windows… So there remains at least the theoretical possibility that I sort this out later. Even that happens only rarely.)

Before someone asks: From the technical standpoint it's quite easy to have so many open tabs. All you need is Firefox, Tree-Style-Tabs, and tab auto discard ("sleep"). It fits than in under 2.5 GB RAM even (which is less than Chrome with even a few tabs).

still_grokking··on Linux Lite: Easy to Use Free Linux Operating System
> But I'm not using one because I usually don't mind seeing ads

The ads aren't the problem.

The problem is the spy industry behind.

Surfing without content blocker is like selling your soul and your first born to the devil, to get nothing in return.

still_grokking··on Linux Lite: Easy to Use Free Linux Operating System
> ElementaryOS

One person project…

Of course no security team…

still_grokking··on Introduction to ActivityPub (2021)
Modern smartphones are like the computers end of the 90's.

We've run back than Napster and later eDonkey on those boxes just fine…

still_grokking··on Introduction to ActivityPub (2021)
> Maybe we need some kind of protocol that can spread the load where popular messages are duplicated across the network instead of being stuck on one node that can get overwhelmed.

You mean like any proper P2P protocol?

Add to this multi-cast on internet level, and everybody could actually operate something like YouTube on their internet router…

But of course economic interests of some (already ultra rich) minority will prevent that forever, even we could have it just right now form the technical standpoint.

still_grokking··on TypeScript please give us reflection/runtime types
> Once it's in there, it is type safe if you used TS to compile your code to JS […]

To the extend that TS's type-system is unsound, and everything may crash at runtime at random anytime.

still_grokking··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
Firefox and Chrome run hundreds of threads… (Just have a look at htop yourself.)

Both things aren't exchangeable, of course!

Thread have direct access to process memory. Other processes usually don't. Big difference!

still_grokking··on MDN can now automatically lie to people seeking technical information
That's not even funny.

A lot of these systems are running actually on Windows, in version that aren't supported since years.

still_grokking··on GPT-Migrate converts repos from one lang/framework to another
I just want a model which will be capable of understanding actually anything…
still_grokking··on GPT-Migrate converts repos from one lang/framework to another
| sort | uniq

C, C#, C++, Dart, Elixir, Elm, Erlang, F#, Go, Groovy, Haskell, Java, JavaScript, Julia, Kotlin, Lua, Nim, Objective-C, PHP, Perl, Python, R, Ruby, Rust, Scala, Swift, TypeScript

still_grokking··on GPT-Migrate converts repos from one lang/framework to another
But they are confident everything is done well!

The code looks good, and that's a great success. What else would you like?

still_grokking··on Beyond Markdown (2018)
SGML is a hot mess. It should have died decades ago.
still_grokking··on Beyond Markdown (2018)
What you're saying is that the most stupid and broken "solutions" win…

Now one could speculate about the reasons.

still_grokking··on MdBook – A command line tool to create books with Markdown
> AsciiDoc still has no footnotes, but only endnotes.

Does Markdown have footnotes or endnotes? No?

People are still misusing it for everything! Especially for technical writing, which is just nuts.

still_grokking··on French Gov Wants to Inject Domain Blocking Lists Directly into Web Browsers
https://netzpolitik.org/2014/hackertools-im-it-sicherheitsge...

https://netzpolitik.org/2013/angriffe-auf-informationssystem...

(Also the links there.)

Or a more "official" statement (as the German Wikipedia is mostly in the hands of state authorities), with some groundless relativization:

https://de.wikipedia.org/wiki/Vorbereiten_des_Aussp%C3%A4hen...

All "dual use" tools (like a simple port scanner!) can bring you into jail. That's a fact. The law doesn't have any exceptions for "friendly use"… (No matter what some "experts" cited on Wikipedia may say. That's just the usual German Wikipedia blow smoke…)

still_grokking··on MdBook – A command line tool to create books with Markdown
What else besides EMACS supports .org files?

Form the alternatives I've seen so far it looks best. But EMACS? (I'm on Linux, but never liked EMACS or Vi(m)).

The second best looking alternative seems AsciiDoc. It has some more tooling as I see it.

But really like the .org syntax best so far. So any recommendations for tooling?

still_grokking··on File for divorce from LLVM
That's not a counter example:

https://miro.medium.com/v2/resize:fit:720/format:webp/1*sojK...

Kotlin would be likely still nowhere without Google and Android.

still_grokking··on French Gov Wants to Inject Domain Blocking Lists Directly into Web Browsers
How do they plan to make the software vendors comply? I don't think my Firefox build by Debian would give a shit about any such list. And than, what? How could anybody even detect that I'm using an "illegal web browser"?
still_grokking··on French Gov Wants to Inject Domain Blocking Lists Directly into Web Browsers
So nothing new. To the state all hackers (in the original meaning of this word) have been criminals since forever. Knowledge and skill are very dangerous traits, you know?

In Germany we have even dedicated anti-hacker legislation. Hacking stuff is indeed illegal. You may end up in jail for "hacking"…

That's likely "the freedom" they are always talking here about in the west. /s

still_grokking··on MdBook – A command line tool to create books with Markdown
Tangent question: What are currently viable Markdown alternatives?

Imho Markdown is a overall terrible and (especially regarding technical writing!) very limited format. But nothing else seems popular. Why actually?

Are there any realistic alternatives?

Thanks for some hints!

still_grokking··on Google warns staff about chatbots
Besides the obvious recommendation not to input sensitive or private data into someone else's computers, I think the following is quite interesting:

> Alphabet also alerted its engineers to avoid direct use of computer code that chatbots can generate, some of the people said.

It's telling, and says imho a lot about the "quality" of AI generated code.

still_grokking··on Teach yourself Computer Science functionally
Please don't confuse Haskell with FP!

Haskell is an abnormality. Even in FP land.

There is likely no other language where you need to "understand monads" to understand `Hello World!`. Such "crazy stuff" has nothing to do with FP!

still_grokking··on Teach yourself Computer Science functionally
It's not only that, even that's the main point.

The syntax is of course also confusing. If you show the above line to a 6. grade child they will tell you that that line makes no sense, obviously.

That's why this example is so good! For someone without exposition to (imperative) programming it's completely nuts. But after some "brainwashing" people don't even recognize how weird the example is actually. My hope is always this makes people think (at least after explanation) a little bit whether they maybe just internalized some actually unintuitive stuff and now think that's the "normal" way to look at things, even it's actually not if you come in just with the knowledge from school.

Not everybody remember that but most people have for example major issues in grasping a loop with a counting variable in the beginning. It's just not so easy to "do the computation" in your head and track the state of your variable. Variables as such are already confusing to most people. Beginners often use them like constants and declare new ones when they actually need to assign a new value. I've see this pattern quite often! If you ask why it was done this way the answer is often "because re-assignment is confusing"…

still_grokking··on Teach yourself Computer Science functionally
> The fact that you cannot interact with the real world without wrapping side effects

That has nothing to do with FP.

That's mostly a Haskell (and the-like) thing.

"Hello world" looks in for example in OCaml like this: `print_string "Hello world!\n"`. You can interact with the outside world just fine without any "side-effect wrapping".

still_grokking··on Teach yourself Computer Science functionally
> That’s implied by the rabbit holes.

I guess not for everyone. Frankly.

I know quite some people who do programming for living but are more or less avert to any theory behind it. You get even called names if you come along with such topics… (I think it doesn't need to be said that it's quite difficult to deal with those people at times as they're kind of ignorant.)

still_grokking··on Teach yourself Computer Science functionally
I think you should do both! In lock-step.

You won't learn anything if you don't practice it.

But "learning" computer related stuff without the theory behind is also kind of moot. You wouldn't get the full picture this way, and you would end up with a lot of "knowledge" that isn't more than assumptions. Likely wrong assumptions…

still_grokking··on Show HN: A smarter Unix shell and scripting environment
Interesting!

I'm running Debian Testing so I had this command in fact since many years. Didn't know that it's actually quite "new".

Now I can understand how it could happen that Murex created a command name conflict. External tools don't test against Debian Testing most of the time…

still_grokking··on Teach yourself Computer Science functionally
Two out of three replies were talking about the assignment even mutation is the (obvious!) real issue.

> OK, how about

> x <- x + 1;

Better.

From such syntax you can at least guess that mutation is happening there.

Still nothing you would show a newcomer in a FP-programming introduction.

(I'm not sure why your comment got down-voted. I can only up-vote it, so I did; to battle stupid down-votes because "feels"…)

still_grokking··on Show HN: A smarter Unix shell and scripting environment
> I think you're being a little unfair here

Maybe. But I just don't know why this discussion started in the first place. There is a `open` command on likely almost every desktop Linux box. So it's not Mac specific (which was my sole point in my first comment in this thread).

> Right, you said "alias" multiple times earlier. Symlinks and aliases are not the same thing.

You're technically correct. My fault!

I've called it alias as it's a symlink coming form the Debian alternatives facility. The alternatives mechanisms manages system wide command "aliases"… I should have been more exact in this point.

> I was saying I suspect Debian got the idea from macOS.

I have no prove but I doubt that. There were other tools on Linux called `open` before MacOS X came along as far as I know. The whole thing seems to be rooted in BSD (where NextStep got it's Unix parts form).

> For what it's worth "open" doesn't exist on my Ubuntu servers either.

Makes perfect sense. It's a desktop tool.

> And it was added to Debian only 2 years ago.

I don't think so. I had `xdg-utils` and it's `open` command installed for many years. It's at least 17 years old:

https://cgit.freedesktop.org/xdg/xdg-utils/refs/tags

> Anyway, this is all moot because there are easy workarounds for the naming conflict

I agree. The Debian alternatives system was made exactly to handle this kind of name conflicts around commands. So there's no big issue, indeed!

← PreviousPage 6 of 34Next →