HNHacker News
TopNewBestAskShowJobs

_carl_jung

415 karma · joined December 22, 2017

submissionscomments
_carl_jung··on Trump's YouTube Account Suspended
I think this is a minimization of the harmful nature of statements made by Donald Trump. We're not talking about not liking his political views. No, we're talking about dangerous encouragement of violence.

It's not just that YouTube and Twitter think Trump is mean.

_carl_jung··on Ask HN: Why aren't one-time sign in links more popular for authentication?
This is not possible if your password manager itself requires a password. Unless you mean "password managers don't work because someone might know the master password" which is true, but realistically the alternative is just using the same weak password all over the web, which is way worse.
_carl_jung··on Ask HN: Why aren't one-time sign in links more popular for authentication?
Password management is better, not worse, for security.
_carl_jung··on Show HN: Crsh – A JavaScript based command line shell
Sorry for the late response.

> execute relatively small snippets of shell code/one-liners as part of an asset management pipeline without having to "shell-out" and invoke an external process

This is indeed a small part of the value of my shell, though I wouldn't view it as the primary reason. I'm trying to make a nice experience for an interactive command line shell first, then will think about scripting use cases.

Blurring that line between shell + scripting is my intention, so it would be good to capture your case here at some point.

> Requirements for shell control constructs are modest, but piping and redirection should work, as well as limited shell var/macros expansion, and maybe if/then.

I'm struggling to understand one detail of your use case here. Is this a script (stored as some e.g. .js file), or something you'd be executing interactively? If the former, my shell does have as part of its library a suite of tools for executing shell commands (including piping + redirect) from within the Deno runtime. That would make something like the following possible:

const jsFilesInDirectory = await exec('ls | grep .js');

if (jsFilesInDirectory.includes('index.js') {

  // some logic
}

The above is also strikingly similar to shelljs, but my solution differs in a key way: where shelljs is re-implementing many commands, I've developed logic for parsing and evaluating any shell-like "pipe-separated" commands.

In any case, the primary intention of my project is to create an interactive shell, not a scripting language. That said, it would be possible to tease out and reproduce my logic to parse and execute piped commands in Node.js, to allow for a slightly more capable "shelljs" clone.

Hope that helps.

_carl_jung··on Show HN: Crsh – A JavaScript based command line shell
Thanks! It's Deno only I'm afraid. I'm interested in what would make it more useful for you as a Node project (so that I can gather info on the sorts of use cases that would be good).
_carl_jung··on The internet should be a public utility
Thanks for this
_carl_jung··on The internet should be a public utility
I don't understand this part. As far as I can tell, utility monopolies can only form with government assistance (i.e. lobbying).
_carl_jung··on The internet should be a public utility
Here's a question I have about these types of frustrating monopolies, and I'd love a point towards a book or something that can explain.

Let's say I have a bunch of money (or funding) for a big new internet provider that could easily outperform the existing provider. What makes it so hard to do it?

I hear complaints (and complain myself) about seemingly unfair pricing and slow speeds. The tech is there to make > 100mb internet, why isn't it more widespread? Surely consumers are willing to pay for a competitor that can provide it.

_carl_jung··on Elon Musk’s plan to build one Starship a week and settle Mars
The pursuit of sustainable living and the pursuit of a multi-planetary existence are parallel endeavours, not serial ones. Perhaps the view from Mars will instil a renewed perspective on our dependence on Earth, and teach us lessons on ecological management via terraforming.
_carl_jung··on Barnes and Noble’s new plan is to act like an indie bookseller
For me, no formal metric can capture what I get out of buying books at an independent book shop. I feel like I'm trading with an old currency, only the books I own and buy are a reflection of my own character, or even soul.

When I lend or trade a book with a friend, it's a transaction using those same fragments of our souls and we grow slightly closer. We now have a shared experience in those books and each understand each other's view of the world a little better.

Reading might be a largely solitary experience, but the passing of a book from one pair of hands to another achieves a communication far beyond reading a review or even a personal recommendation. Somehow the mass of the book itself carries with it a greater weight to the recommendation.

_carl_jung··on Man built a bunker under Hampstead Heath and lived in it for two years
I really enjoyed it too. Some HN commenters could do well to learn about opinions!
_carl_jung··on Shit – An implementation of Git using POSIX shell
In my opinion, this is simply an over-extended metaphor. Programming ultimately is not carpentry, and custom tooling is justifiable in many more cases.
_carl_jung··on Simple text editor has over 15k monthly users
You can even export as PDF and print
_carl_jung··on Bosch Smart glasses: A tiny laser array paints images directly onto your retina
But then, everything we look at paints an image onto our retina, so using it as a hook for a headline feels disingenuous.
_carl_jung··on Pygame Zero: Creating games without boilerplate
So there are numerous deployments of "successful" games using PyGame, and no court cases by the creators/maintainers of PyGame towards those game developers? I'll take my chances.

I don't see what PyGame's motivation would be to open such cases.

_carl_jung··on Pygame Zero: Creating games without boilerplate
Do you have any links for the implications for commercial use? If I released a game made with PyGame, what's the gamble? I've seen examples of people using it commercially [0].

[0] https://www.reddit.com/r/gamedev/comments/16d5ak/is_pygame_o...

_carl_jung··on Pygame Zero: Creating games without boilerplate
Game programming is an area in which I feel benefits greatly from the use of global state.
_carl_jung··on Banning facial recognition is missing the point
I don't remember stating otherwise.
_carl_jung··on Testable theory suggests information has mass
Doesn't the very definition of "lossless" depend on interpretation? If lossy compression alters its mass, but lossless doesn't, doesn't it depend on the interpretation of "lost" information?

As I said to the above poster I don't know much about this, so hope this isn't an off-base question.

_carl_jung··on Testable theory suggests information has mass
I'm out of my depth here as I've never studied information theory. I suppose there's a larger gap between the theory and the practical aspect of the title of this article than I first imagined!
_carl_jung··on Banning facial recognition is missing the point
But the context in those countries is too different to ours to come to any meaningful conclusion about what should be allowed "here" (I'm assuming UK + US mainly).
_carl_jung··on Testable theory suggests information has mass
This raises what I view to be a falsification by counter-example of the original premise. If information (and not _the representation of_ information) has mass, then does a piece of uncompressed information weight the same amount as the compressed information?

Furthermore, information is related to interpretation. A string of bits may be an uncompressed text file, a set of numbers, a compressed image, etc. But it's always the same amount of bits. How can my interpretation of that set of bits affect its mass?

_carl_jung··on A harassment campaign on Goodreads
You have to answer a quiz
_carl_jung··on A Thought Experiment: Using the ECS Pattern Outside of Game Engines
I'd earnestly like to hear the responses to this from the down-voters. I had the same thought and suspect there is a good reason not to use mixins.

One problem off the top of my head is run-time changing of components. An entity that inherits from multiple mixins can't inherit from new mixins (or lose existing ones) at runtime.

_carl_jung··on Rooms can be as bright as the outdoors
What does it mean to be on a "24h 50m" sleep cycle? Does your sleep time progressively become later until you're nocturnal, then continue looping round until it returns to a "normal" night's sleep?
_carl_jung··on The Real Class War
For what it's worth, the principle objection I have to the Marxist position on wage and profit is the redefinition of the term "exploitation".

It muddies the argument because it enables a circular argument whereby the transaction of employment can be labelled as exploitative, where it's easy to defend against the claim of exploitation if the original definition of the word is preserved.

In other words, profit generation as it comes from an employer/employee relationship is Exploitative but not exploitative.

_carl_jung··on The Real Class War
You make a philosophical leap about rightful ownership when you say "unpaid wages". I don't agree with that leap.

Further, your definition doesn't include situations in which there is no employee (such as the one I gave).

It is more correct to say that the profit is the gains made to some agent in a market transaction.

_carl_jung··on The Real Class War
I invent (at the cost of $500) a programming tool that improves your output by 50%. This enables you to earn $5000 more per year than previously. You purchase that software for $1000, providing me a profit of $500.

Who's wages are unpaid?

_carl_jung··on DeepFovea: Neural Reconstruction for Foveated Rendering and Video Compression
Not necessarily. The "lower framerate" in our fovea is not represented as a stuttering sequence of frames, but a blurry and smooth flow. Simply using a lower framerate would still be noticeable.

Unless you could engineer a display technology that could do this.

_carl_jung··on Tesla's new Cybertruck smashed during demo
The phrasing makes it clear that this was a character attack on Elon himself, not Tesla.
Page 1 of 5Next →