HNHacker News
TopNewBestAskShowJobs

vitiral

1,239 karma · joined August 9, 2016

https://civboot.github.io
submissionscomments
vitiral··on Reformatting 100k Files at Google in 2011
I personally dislike ad-hoc DSLs that aren't composed of the language's existing syntax.

Considering I get pleasure from formatting the code beautifully I'm not sure how it's even possible to be doing _myself_ a disservice. It's like saying I'm doing a disservice learning guitar instead of listening to Coldplay on my speakers.

As far as others are concerned... I agree somewhat, but I don't think it's by any means proven. I think we are always better off then cobbled together code where formatting hasn't been thought about. By well-designed hand-crafted formatting can be expressive in it's own way IMO

vitiral··on Reformatting 100k Files at Google in 2011
Im not sure how it's even remotely related to testing. I do agree that it depends on the person, just like every medium depends on both the artist creating the work and the patrons viewing it.

Many people who use formatters (myself included) just want consistent code and don't want to bicker with others about it. When it is soley owned by me and I'm doing it for fun, these reasons fall away for me.

vitiral··on Reformatting 100k Files at Google in 2011
I'm going to take a contrarian view here. Code formatting is amazing in a corporate environment where nobody truly cares about their code -- it's just a means to get a paycheck. It's also great for beginners to a language who are still trying to get a handle of the syntax.

But where you are nearly the sole owner of a small library and you are crafting that library to be beautiful and understandable... there is something pleasurable about structuring concepts so you have each on a single line, or creating similar functions so the concepts are structured by column.

I know not everyone will hold this view and that is fine, but when you are writing your own hobby library in your favorite language for your own purposes I recommend you try it out.

vitiral··on FAA investigating how counterfeit titanium got into Boeing and Airbus jets
My favorite bit

Sioux City Approach: "United Two Thirty-Two Heavy, the wind's currently three six zero at one one; three sixty at eleven. You're cleared to land on any runway."

Haynes: "[laughter] Roger. [laughter] You want to be particular and make it a runway, huh?"

vitiral··on I like the RP2040
... and because they designed the chip to be a jack of all trades, which he really likes.
vitiral··on I like the RP2040
seeking patents to then open source it?

Right?... Right?!?

vitiral··on From Steampunk to Solarpunk (2008)
Why not both?

If there is collapse and we don't have all our existing manufacturing, I could see concentrated solar power into steam being a primary energy source. You can also store steam and then use it for all sorts of purposes including manufacturing and even cooling (yes!)

Solar punk could just be the actually viable steam punk. I got one look forward to the awesome hats and goggles

https://github.com/civboot/civboot/blob/main/blog/0011-conce...

vitiral··on The Mythical Non-Roboticist: Wouldn't it be great if everyone could do robotics?
yup, that was pretty much my point/question. Thanks for confirmation!
vitiral··on The Mythical Non-Roboticist: Wouldn't it be great if everyone could do robotics?
I like this! I think the hard part can be finding projects that are both interesting and achievable for the beginner.
vitiral··on The Mythical Non-Roboticist: Wouldn't it be great if everyone could do robotics?
I'd like some feedback from those in the know.

It seems to me we've been building "robots" since the industrial revolution. An assembly line is a series of "robots" performing highly specific actions on highly constrained inputs.

So for "learning robotics" I would personally recommend starting with something like assembly lines. Highly constrain your inputs and limit what the robot is supposed to accomplish and you will have an achievable goal.

You wouldn't teach programming by telling someone to write a highly scalable dbms, neither should we teach robotics by creating a general purpose "6 degrees of freedom" robot which can grab any object and do something useful with it.

Does this resonate with anyone else or am I alone here?

vitiral··on AI in software engineering at Google: Progress and the path ahead
Sam Altman doesn't work at Google though
vitiral··on AI in software engineering at Google: Progress and the path ahead
Where did you get 7 trillion?
vitiral··on AI in software engineering at Google: Progress and the path ahead
Being a bit pedantic. Globally but not locally deterministic
vitiral··on Cancel Adobe if you are a creative under NDA with your clients
I guess it's time to amend contracts so that Big Tech Bro has rights to everything, no matter what
vitiral··on Super Heavy has splashed down in The Gulf of Mexico
Why build the transcontinental railroad when there's hardly a market for it?

- dude on the internet in the early 1800s

vitiral··on An Overview of the Starlark Language
> how does threading work?

Basic answer: there is no threading, at least not for the user.

The build system runs a thread per BUILD file (in bazel). Since the BUILD files are written in starlark and starlark has no threads -- there is no problem.

vitiral··on An Overview of the Starlark Language
It's really interesting that the original author compares it to Lua. I've never heard that comparison, but I've been recently considering building a similar build system. Mimicking starlark files would be easy: all you would have to do is use Lua's load[1] method with a highly constraint environment and you would have the deterministic environment that starlark has (you would have to inject deterministic iteration functions and importing/etc obviously).

[1]: https://lua.org/manual/5.4/manual.html#pdf-load

vitiral··on Circle C++ with memory safety
Which segfaults are NOT the result of memory safety violations?
vitiral··on Attacking Android Binder
I'm aware that binder itself isn't written in Java of that's what you mean (?)
vitiral··on Attacking Android Binder
Large parts of the OS and services like binder DEFINE memory safety. They twiddle the bits to setup the MMU, as well as the functions and data structures for the allocator/etc. Binder, as I understand, is an interface that accepts internal pointers.

There is no automatic memory safety from a language like Rust here. It's not so simple.

Now, perhaps some part of the system could be defined in a memory safe language. That might be good. But not this part.

vitiral··on Attacking Android Binder
> The motivation for this design is that a client can send a transaction and then wait for a response with one ioctl syscall. In contrast, IPC with sockets requires two syscalls, send and recv.

What a great motivation. Oh wait, then you write your literal operating system and all services in Java of all languages.

I find Android's architecture so frustrating, all the wrong design decisions

vitiral··on Psychedelics are challenging the standard of randomized controlled trials
Why not when you feel the opposite about "faith healing"?
vitiral··on Psychedelics are challenging the standard of randomized controlled trials
sure. How effective is faith/placebo at curing those conditions I wonder?
vitiral··on Psychedelics are challenging the standard of randomized controlled trials
That was the point of the question. Wouldn't you say "placebo" has heavy intellectualizing overtones?
vitiral··on Psychedelics are challenging the standard of randomized controlled trials
The problem as I see it is that all medicine is fundamentally trying to find effective scaffolding on the human body, triggering it's own ability to heal. A surgeon can't repair a corpse. What causes the body to heal itself more effectively? I would think this is brutally difficult to study, since it's all subjective.
vitiral··on Psychedelics are challenging the standard of randomized controlled trials
If someone could explain how "the placebo effect" is not just "scientifically proven faith healing" I'd love to hear it.
vitiral··on I'm forking Ladybird and stepping down as SerenityOS BDFL
Fill your bowl to the brim and it will spill. Keep sharpening your knife and it will blunt. Chase after money and security and your heart will never unclench. Care about people’s approval and you will be their prisoner. Do your work, then step back. The only path to serenity.

Tao Te Ching

vitiral··on Auto-brewery syndrome in a 50-year-old woman
hating fungi is a bit like hating your own liver or stomach. They are an absolutely fundamental component to the web of life on earth, including your own.
vitiral··on Just Live
Tools are good servants but bad masters. When you place too much value on the tool you no longer own it, it owns you.

Be of one mind with the tool. Use it to complete your purpose. Then, the work complete, put the tool down and walk away. The only path to serenity.

vitiral··on Just Live
Words have meaning. Meaning is that which points to something besides itself. Zen is a finger pointing at the moon, do not mistake the finger for the moon.

What is the "meaning" of a mountain? What a silly question. The only reason the "meaning of life" seems coherent is because we wrap our very sense of existence in words.

Let go of words and definitions and just be. At rest in all that is.

← PreviousPage 3 of 21Next →