HNHacker News
TopNewBestAskShowJobs

andrewchambers

2,465 karma · joined July 15, 2014

submissionscomments
andrewchambers··on BorgBackup: Deduplicating archiver with compression and encryption
I am the author of bupstash - https://github.com/andrewchambers/bupstash which has many advantages over borg in my biased opinion (like air gapped decryption keys and better performance). Feel free to check it out.
andrewchambers··on Mindustry – Open-Source Game
I think its more fair if you say your intentions from the start so nobody feels ripped off.
andrewchambers··on Australian activist can't use encrypted apps, must let police access phone
Well they did block free movement in the country for a few months, not really sure how legal that was tbh.
andrewchambers··on Google fires engineer who called its AI sentient
Ok, I am saying a super computer the size of the moon that simulates a human an everything it interacts with.
andrewchambers··on Google fires engineer who called its AI sentient
The post said they simulated the universe (or you could assume just the parts close to earth), it would be simulating everything a human would interact with. I don't see the point this reply was trying to make.
andrewchambers··on A doctor who treated Bach and Handel with disastrous results
They don't disagree on the facts, its just one description is an extremely uncharitable and insulting to the skills of our ancestors. There were talented and skilled healers who did the best they could with the knowledge of the time.
andrewchambers··on Controversy continues over whether hot water freezes faster than cold
Hot water would need to first reach the temperature of the cold water (and overtake it) before freezing... Your explanation doesn't make sense.
andrewchambers··on Cool desktops don’t change
It just says visual studio is statistically more likely to die out - as most software does.
andrewchambers··on Rust Is Hard, Or: The Misery of Mainstream Programming
I suppose ignorance is bliss after all - I mainly hope you are exaggerating when you say 'fumbling through'.
andrewchambers··on Rust Is Hard, Or: The Misery of Mainstream Programming
Do not use async rust when you are learning. It is ok once you are proficient in rust.
andrewchambers··on Rust Is Hard, Or: The Misery of Mainstream Programming
This sounds like a terrible way to exist.
andrewchambers··on Let's build a distributed Postgres proof of concept
You can already do this by using rqlite to redirect writes.
andrewchambers··on Hare language LWN thread: “how do I know if my keys will be stored securely?”
This is not really accurate, it stores keys as securely as it is able to. Also the heap is not inherently insecure - it depends on other factors such as network isolation, user permissions, containers and other kernel protections.

Many things like https and ssh servers store secrets on the heap when they are in use.

andrewchambers··on Bugs that the Rust compiler catches for you
You are unfairly comparing ancient C with modern rust - Try comparing modern C with modern rust to avoid making a straw man argument. Like I said, I don't even disagree, I still think you are just doing everyone a disservice with this line of reasoning.

He said if he had used rust - I am saying if he had used C when rust was available 1. The bug would have been fixed. 2. He could have used valgrind. Modern C also has something called ubsan, and another thing called frama-C.

These tools may be inferior to what rust has, but ignoring they exist or comparing 10+ year old C with modern rust is a bad faith argument.

andrewchambers··on Bugs that the Rust compiler catches for you
Or he could do the normal thing and run valgrind to instantly see exactly where the problem is. I don't even disagree with the premise, but these are straw man arguments.
andrewchambers··on Bugs that the Rust compiler catches for you
This is not a good anecdote - You hit a 10 year old bug because your sysadmin was too lazy to update gcc and then formed a bad impression of the software?

Guess what, if you install a 10 year old version rust none of your code would not compile at all. Your logic is so flawed its hard to believe you are being serious. If anything it's impressive that a 10 year old C compiler worked most of the time when most other languages are not stable on these timescales.

andrewchambers··on What's next for language design? (2017)
A simple solution might be to just look for name aliases that match a type and report that to the user. I don't see why you can't name the shape of a structural type without having to use nominal types.
andrewchambers··on What every IT person needs to know about OpenBSD Part 3: That packet filter
SSH certificates can sign a key with an expiration, thats a bit different to a password.
andrewchambers··on How to learn compilers: LLVM Edition
More great things:

- https://c9x.me/compile/

- https://github.com/vnmakarov/mir

andrewchambers··on Minias – A mini x86-64 assembler for fun and learning
I updated the readme to better explain what I meant.
andrewchambers··on Minias – A mini x86-64 assembler for fun and learning
It can assembly all the assembly generated by cproc - which can compile the tools it depends on including cproc itself. I will update the readme.
andrewchambers··on Minias – A mini x86-64 assembler for fun and learning
Author here, that's exactly what I meant. It can also assemble the cproc C compiler when it compiles itself - thus creating a loop. I updated the readme.
andrewchambers··on Minias – A mini x86-64 assembler for fun and learning
First there is perhaps some slight refactoring that could be done. Though it does sound nice to reduce the dependency tree.

One thing is I like the declarative nature of the peg, so I considered trying to make a tiny peg parser generator to go with it (Also worth noting that peg/leg itself is very small).

All that being said, a hand written parser could probably dramatically increase performance and not be that much more code - so I am still unsure - but probably.

andrewchambers··on We Need Software Updates Forever
> Examples, image editors need to load new formats

Alternatively, they could be designed to support plugins.

andrewchambers··on Cproc C Compiler
The benefit is mainly that it is interesting and easy to learn/experiment because it has a very small and tidy implementation..

Just an example, building cproc from source takes a few seconds - building gcc from source takes like 15 minutes at least.

andrewchambers··on Cproc C Compiler
I honestly don't mind going without C const (compared to C++ where it is more useful).
andrewchambers··on Cproc C Compiler
There is one, see pp.c.
andrewchambers··on Malicious PyPI packages stealing credit cards and injecting code
Really once the secure channel between two processes running on each host is setup, there is no difference between the two methods. A pull backup can be tricked just as easily by presenting a false filesystem or backdooring the 'pull process' running on the compromised machine.

You want append only backups with secure timestamps and do forensics to find the last good snapshot. It is easier to set that up with pull backups, but not so hard with the right tools for push backups.

andrewchambers··on Memory Management in Lobster
Full heap scans still happen, just not as often, then you get the alternative 'cringe' of having huge amounts of old data sitting idle for nondeterministic periods of time.
andrewchambers··on Roll your own minilanguages with mini-interpreters (1989)
Well, a (more) compact bytecode representation is one of the design decisions made for web assembly... That is one reason why it is a stack machine.
← PreviousPage 4 of 34Next →