Better HN
topnewbestaskshowjobs
Log inSign up

mathgladiator

4,359 karma · joined Mar 1, 2010 (16y ago) · 1,704 submissions

hn [at] mathgladiator [dot] com

I'm an inventor type person. I'm also owner of https://www.adama-platform.com/

Submissions

comment 5y ago · link · parent

http://www.adama-lang.org/ is a programming language for board games. The language works, and I'm sorting out how I want to do UIs. Documentation and platform are half baked.

comment 5y ago · link · parent

I used to be on the java hate train, but honestly the JVM is magic for infra. I worked at AWS, and I groaned so hard when I started. Then, I came to appreciate it because of the tooling and the types of issues that actually cropped up.

This may also be stockholm syndrome.

comment 5y ago · link · parent

A core cultural challenge that we have to deal with is that people are very soft about testing, and they don't make their artifacts or platforms testable.

There is a bit of diminishing returns to what I believe, but it also depends on ones dependencies and what one considers 100%.

As an example, I designed a multi-TB file-format and synchronization engine. I made that engine a dependency free library such that all the math, contracts, threading, and scheduling could be 100% tested before integration. This forced the messy integration into the core application which then was E2E tested with hundreds of randomized tests.

The key concept at play was beating all the math into the ground such that it was damn near perfect because a single flaw would lose data.

comment 5y ago · link · parent

I'm not. One of my side projects for example is a programming language where I have 100% code coverage.

From a career perspective, I have seeded new infrastructure services with 100% code coverage. At core, I believe achieving great reliability requires a solid foundation.

I don't claim these services are perfect, but when a bug is discovered then I can usually use the logs to figure out what state the program is in and then test the bug with a unit test. Then, I can protect future engineers from that issue.

Now, don't get me wrong, there are LOADS of silly tests for languages like Java to make code coverage tools happy. Like "new ClassThatOnlyHasStaticMethodsInIt()", but the key is that you can alarm on code coverage less than 100% but once you let the paper cuts build up it is hard to manage.

I'm a big believer in "slow is smooth, and smooth is fast" when it comes to building services for others.

comment 5y ago · link · parent

I'm a strident adherent to having 100% code coverage, but this mostly works because my history in infrastructure and a desire to sleep well. The key idea that I have found that if you can't synthetically get your process into a specific state, then life is going to be hard.

The problem with a lot of people is that they view testing as a burden rather than a criticism of the code they are testing. If you can't test your code easily, then your code is awful. End of story.

comment 6y ago · link · parent

Probably progress every day.

comment 6y ago · link · parent

This is neat, I'm looking at the licensing for my project.

comment 6y ago · link · parent

It seems to me that a Fake is really a Mock, and Mocks became this unholy dynamic framework stuff. I'm not a fan of dynamic mocks where the test code has the mocked implementation because it is super brittle. Instead, a "fake" (i.e. a mock as I understood them) is an alternatively implementation of an interface.

There are a lot of really good "fakes" out there. Fake file system which lets you simulate disk failures. Fake time and randomness to introduce determinism. Every API over network can have a fake. These are all good things to fake out as you can simulate the appropriate failures which are almost impossible to do via integration, acceptance, or E2E tests.

comment 6y ago · link · parent

I've thought about this recently, and I think one that we have blurred is the difference between a leader and a boss.

As a human, you were meant to have a leader. Your first leader (hopefully) are your parents since you don't emerge with a complete understanding of things, and then you pick up a series of teachers/mentors through-out life.

The thing that fucks everyone up is power. Power will corrupt a teacher. Power corrupts managers. Power corrupts owners.

The question is how to mitigate the corruption of power. A boss is a corrupt leader in my opinion, and I agree that we shouldn't have one.

comment 6y ago · link · parent

Do you have sources for what experts are expecting?

comment 6y ago · link · parent

I think an optimal time within a project in between 3 to 5 years, and the reason is to get deeper understanding of problems rather than surface. My YoY compensation growth is between 20% and 30% compounded.

comment 6y ago · link · parent

Wouldn't we need more due to more overhead due to less economies of scale?

comment 6y ago · link · parent

I recently named a flamingo bird Ragnaros, and in doing so learned that a flock of flamingos is a flamboyance.

comment 6y ago · link · parent

if a request takes 100 ms, and a portion of them are murdered halfway through then either clients retry for reliability in exchange for extra latency, or reliability takes a hit.

The best policy is for a deployment to lower the health check on the service, wait a few minutes per box, then bounce the process.

This is assuming the service is 100% stateless.

comment 6y ago · link · parent

I'd argue the biggest reason for a graceful restart would be reliability and latency.

comment 6y ago · link · parent

I feel JK Rowling was echoing a common sentiment in many women: “Men are afraid that women will laugh at them. Women are afraid that men will kill them.” - Margaret Atwood

comment 6y ago · link · parent

I learned a lot of useful (and useless) stuff in college, but I do think we should encourage a gap between undergraduate and graduate studies.

comment 6y ago · link · parent

I think there is another angle to it. After a major result, is the purpose to continue finding major results or broadcast, proselytize, and teach.

One of the crazy things that I have found as a senior engineer, I focus much more on growing people in the space I created. Afterall, if the space I create can't be occupied by people, then I failed.

For Einstein, how much of his time was dedicated towards the education of ideas versus trying to solve new problems. I don't know, but it is worth considering what the purpose of tenure. Is the idea of tenure to encourage people to find new results, or to continue teaching their ideas?

comment 6y ago · link · parent

This is a big part of life: "wealthy-enough"

I feel like we do academics wrong. We should encourage a large gap between undergrad and graduate school for two reasons. First, develop empathy for the realities of shipping software (or whatever the field is). Second, build some wealth to not chase wrong grants.

I take Arnold Schwarzenegger as an inspiration on this front. He did hard work and had some good fortune due to great timing (real-estate in California) to build up wealth before becoming an actor, and this manifested in the freedom to go all in on Acting.

The thing that I take as inspiring is that instead of chasing the money via that path or just chilling out, he went hard on a passion.

comment 6y ago · link · parent

> people can be productive in lots of different environments

I think this is why sharing stories is important so wandering people can find ideas for them achieving better results.

comment 6y ago · link · parent

> "academia is a lousy place to do novel research"

This hit me. I was focused on getting a Masters in Math, and I had a 4.0 GPA and 40 hours of credit with just a test or thesis preventing me from a credential. Instead, I dropped out to focus on building products with friends.

Best decision ever.

At least for me since I'm 38 and on the verge of retiring.

> academic institutions systemically promote exactly the sort of short-term optimization

The whole publish or perish ideology is teaching people the wrong f'n skills on imaginary problems, so I gave on reading on academic papers years ago because the amount of noise to signal was intolerable.

Like Colin, I do independent research but in a different space. I'm currently writing a programming language for board games ( http://www.adama-lang.org/ ) which I believe could turn into something crazy as I'm inventing a low-cost way of doing "serverless stateful micro services" or "a key to state machine service".

I don't know how I could even get a grant for such work, but it interests me. And, I've reached a nice point in my life where success is measured by whether a task brings me joy rather than external signals.

In a sense, when I decide to retire, I'll have the ultimate freedom of the idealized tenure that I built myself.

comment 6y ago · link · parent

which could be ideal if the government is trying to build a larger case. It is strategically murky to give banks the power to deny.

comment 6y ago · link · parent

All I feel these days is despair. It's hard enough to get people to just wear masks, or not throw parties with active covid infection. I think and feel that we are doomed. I wonder if the polymaths have just given up.

comment 6y ago · link · parent

I recently just hand rolled my initial antlr grammar to a hand coded recursive descent version. Beyond better error handling, there is preserving comments to auto format and indexing types on tokens for auto complete.

comment 6y ago · link · parent

What do you mean by incremental?

I recently hand-wrote my own parser so I could achieve some these results. Having used parser generators in the past, I realize now that hand writing a parser is SO much more flexible.

comment 6y ago · link · parent

Given this is hacker news, hacking something up seems very appropriate. I don't know the author, but it is clear that he is prolific and talented.

This project is very much in the seeking ground phase, so having a bunch of hacks is very appropriate. If it turns out useful, then people will fix things. If it turns out not to be useful, then oh well.

The danger of course if there are show stopping bugs which prohibit the transition from interesting project to useful project.

comment 6y ago · link · parent

This is what I'm doing at the moment. I'm just translating to Java right now so I can have a robust platform to target; it's working well for me, but it would be nice if I could go directly to bytecode. However, that work doesn't add value until latency matters.

comment 6y ago · link · parent

This looks like a complete mess.

Are there examples in today's market where a business can depend on a new programming language? I'm curious because I'm writing a programming language, and I'd love to turn it into a business.

edit: add "new" to programming language

comment 6y ago · link · parent

What has he done beyond reveal humanity for what it is?

comment 6y ago · link · parent

or, worse, if the senior IC doesn't show up, then no one takes it seriously.
1
262728
57