Better HN
topnewbestaskshowjobs
Log inSign up

bitexploder

7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions

I did not keep blogging.
Submissions

comment 8y ago · link · parent

Why not both? If you can identify a "ideal/expected" choice in most situations but purposefully decide to do something that is more "convenient" it certainly merits some internal reflectio. I know for a lot of folks the decision isn't really a decision, so I used quotes. But, like the author, many ASD sufferers build scripts of what the world around them expects and executed those when their real time processing would fail them.

As someone with ADHD, though, the solving something and then dropping it thing is a real problem. Inability to complete a project or task can be hard. I can work a problem until I am satisfied I got to the core of it, got my dopamine hit from that satisfaction. Then I will leave the problem rough around the edges sometimes. Or just abandon it. I don't know how ADHD and ASD intersect though I imagine having both is quite possible?

comment 8y ago · link · parent

The answer, and it has dark implications, to me, is Trusted Computing. Never let the user have full control. Do this key exchange on a base OS or some other VM the user can never touch (e.g. Knox / TrustZone). Still, we can exploit our way to this trusted OS and MiTM there, but it takes much more skill. With Trusted Computing the base OS can more simply install a "spy" to keep track of a games memory / code to ensure it is only ever loaded and executed from memory that is essentially made read only after the program is loaded but before it executes. The trusted OS verifies the program code, the OS, etc, and if it all checks out, let's the code run. Of course it goes back to the halting problem, but if the programs memory is unexecutable and modern exploit mitigation is applied the game is now in a considerably sturdier mouse trap :)

comment 8y ago · link · parent

Ahh, well thanks :)

comment 8y ago · link · parent

Hah. Are you me? That is what I always call the cat and mouse of cheat / anti cheat. (An Ouroboros) :-D

comment 8y ago · link · parent

I see. The problem is the server needs to know all of the values it expects. And if the server knows the values a cheat can figure them out too. For example, a cheat could hook OS functions and report on values in certain memory regions (e.g . the games loaded .text as some cached values). Same with reading heap locations, hook the memory read functions. Computing a hash doesn't have to be emulated, though, right? A cheat can just compute it with whatever data /should/ be there for the game state. This also means the questions the server can ask of the client are ones it can somehow model. So, this is imposing potentially restrictive requirements on any server software if it needs a non trivial mapping of the client's memory. I have chased down a lot of really bizzare and non-deterministic packers and cheat software like this and ultimately you can only make things so difficult due to Rice's theorem. To truly detect cheating you would practically have to run all the computations my computer is running, at which point you might as well just stream the game to me instead of letting me install it and run it on my computer. These sort of "check for a known good state" things can almost always defeated by appropriate function hooking. Ultimately, my computer is a hostile environment for your game and I have complete control of it. The traps a client running can only be so elaborate. I do agree things like this will take some time and increase the skill required to take them apart, but you would be surprised at how much harder some CTF competition reversing problems are compared to a scheme like this, I think.

comment 8y ago · link · parent

I think you are missing my point. This concept in client computing security basically chains back to the halting problem. You can't /know/ what I am doing with my computer. You can build a very elaborate trap / obfuscation and it might be hard, really hard, to defeat it or circumvent it, but it is a certainty that I can. The block-chain has absolutely nothing to do with client code security because it has a network enforced mechanism. What the grandparent was suggesting was running some nugget of code in a little VM (or actually on my machine), computing a result, and then returning the result to the server to make a security decision. The problem is I control that machine performing that computation and your security decision as the server is based solely on the computation performed on my computer. A skilled reverse engineer will just hook your code in the right place, intercept that security check and have it return the right bytes back to your server, while still doing whatever client side cheats they wanted to do.

https://en.wikipedia.org/wiki/Rice%27s_theorem <--- this is all about program behavior and did the user actually run the code you sent them. Block chain is about "did I possess certain data" (such as a private key to sign a transaction) and not about "did I run certain code".

comment 8y ago · link · parent

If you restrict the machine code it makes it that much easier for me to write an emulator to execute your machine code and return the result. It might even be trivial. It is a never ending Ouroboros. You build a more clever mouse trap, I will design a more clever mouse. If I have all your code and am running it on my computer it will be a matter of time before I can back out whatever obfuscation or technique you are doing and undo it. You may have some hope in network delivery of graphics only. If I am not running the game client code, and just streaming the game from one of your servers, you have a chance at keeping your client safe.

comment 8y ago · link · parent

Slack is going the platform route. They have a huge amount to lose disabling API access. Add-ons and interconnectivity are what make Slack so popular. Without all the integration Slack becomes much less attractive.

comment 8y ago · link · parent

Please drop the hyperbole of your last three sentences. HNers are smart enough to read your words without a classic "but you won't listen anyway". It adds nothing. Now then. This question of purpose is the same now as it was for the ancient Greeks 2000+ years ago. Not a lot has changed about the human condition, even in the modern age of consumerism. I would implore you to look at how the ancient philosophers viewed their world. This rant could have been written by one of them.

comment 8y ago · link · parent

Well, it is obviously not one person, but Ed Zotti is the 'editor in chief' and has been for a long time. He is definitely the "heart" of Cecil Adams as I know him. Sure others are involved, but, Ed has admitted he writes most of Cecil's words.

comment 8y ago · link · parent

https://en.m.wikipedia.org/wiki/Ed_Zotti

This makes it pretty clear ;)

comment 8y ago · link · parent

My understanding, barring real genetic outliers, is that the human body just can't go as fast in a fat adapted state. I would say "any runner". Meaning anyone with a few months of real training under their belt is going to run sub marathon efforts slower. The article you linked pointed that out. This isn't just for elites, but everyone. Most recreational/non-professional runners run sub marathon races. This implies some important things about how you train and eat. 1.) When doing max effort running, to push your body to it's limit you need some carbs. 2.) To run your fastest race you need some carbs. You can still train and do well without them, of course. I think for most runners it's fine and the difference doesn't amount to much in practical sense.

comment 8y ago · link · parent

Most traffic is HTTP/S. I would bet a decent amount of dollars the NSA can transparently MiTM any common CA certs. Look at what a mess the trusted roots are.

comment 8y ago · link · parent

https://completehumanperformance.com is a good resource. I have used them in the past for ultra and nutrition coaching. They have very good people. Check through their articles and podcasts. They publish a ton of good stuff (aimed at selling you their services, of course!), but what they publish is (generally) great all on its own.

comment 8y ago · link · parent

This is covered pretty thoroughly and with a much higher level of detail in Lore of Running (Noakes). Down to the biochemical level of what is actually going on as you adapt to a low / no-carb state. You have to be precise with what you mean by "long-duration" cardio. Up to Marathon level you simply won't be able to go as fast as a runner that has muscle glycogen. You won't find any examples of elite marathon runners performing at their peak on a no-carb diet. Somewhere right at, or shortly after, marathon distance for most runners you have used up your glycogen stores anyway, so a great portion of your ultra is going to be executed without a lot of carbs / easy glycogen anyway. I don't think anyone will dispute some runners can operate with no carbs, etc. So, it just makes sense to train your body to burn fats / body fat efficiently because that is where a big portion of your fuel comes from in an ultra.

I can't remember the exact time period, but it only takes a few weeks to fully adapt to low/no carb diet where your body gets good at making energy from fat. The actual chemical process is really cool.

You definitely lose your ability to do high performance shorter events at the peak of your body's capability (5K/10K, etc.). It is simply a less efficient process of creating the primary fuel your cells use to do their thing.

comment 8y ago · link · parent

Yeah there is interesting "math" you can do. But, for most people, your liver stores about 1200-1500 calories of glycogen. You have some in all of your muscles, etc. Marathon is right at the distance you can run and stay under "the wall". In fact, that is a key part of pacing. Finding your race pace to basically operate on glycogen for all but the last bit of it (1-2 miles) where you can just push/suffer through on will power. If you go out too hard, you burn glycogen too fast, hit the wall at 6 miles out... that is the suck. 6 miles can be an actual eternity when you hit the wall.

comment 8y ago · link · parent

That's right. You basically won't be able to do a cardio effort to your body's capabilities. Anyone that has ever run an ultra marathon is essentially operating in ketosis like state. You just burn more energy than your body can absorb so it is a combination of stored fat and incoming carbs/fat/protein that keep you moving.

edit: Your body also slows down its nutrient absorption rate during any exercise as it diverts blood to your extremities and core body functions. So digestion is more of a challenge.

comment 8y ago · link · parent

There are a few important things to consider with your first lifting efforts. Learn the big lifts. Deadlift, Squat, Overhead Press, (Benchpress, if you have an environment to do it). To min/max your workout, all you have to do is work the biggest muscles. That gains you the most benefit for the least amount of time. I would also point out there is a bit of a misconception about "noob gains". When starting out, and or, especially losing weight it definitely helps prevent the loss of muscle mass. But, and this is a big but, a huge amount of your initial gains in the amount of weight you can move around are not from gained muscle mass. They are from central nervous system (CNS) adaptation. Your muscles simply don't know how to fire at maximum intensity. Much of your first 6-12 months gains in terms of weight moved around are just CNS adaptation. Your body recruits more muscle fiber for activities. Folks can move a startlingly larger amount of weight without gaining virtually any amount of muscle. Once you have reached a local maximum for this sort of adaptation you start gaining more muscle mass. Of course, if you lift weights and eat at a surplus you do build some muscle mass, but not nearly as much as after a decent period of lifting. Finally, if you are eating in a calorie deficit you will not be adding muscle mass without a very carefully controlled diet that most fitness and diet novices don't have the knowledge and discipline to pull off. To actually live at a calorie deficit (lose body fat), preserve and or gain muscle mass, you have to move your calories around constantly (deficit weeks, surplus days with focused intense lifting, etc.). It is incredibly hard for someone just embarking on a fitness journey to adhere to a diet that includes surplus weeks in my experience. It just leads to a general lack of adherence and a slide back to old habits.

Also, 1000 calories (per day) is definitely at the edge, but not crazy (7k / week, about 2lbs per week). I would say that is at the limit of what is medically advisable, but not crazy. Especially if you are above 250 lbs, that is not a crazy percentage of your weight. If you have enough body fat to lose, aim for something like a 1% reduction in body fat (assuming you are around 200 lbs, start at a lower percentage if you are heavier, no more than 2lbs / week no matter what). Then every few weeks you have to crank the dial down. Fat burns some calories to maintain itself and your body adapts and tries a little harder to hang onto energy stores. Dialing down the calorie deficit over a 18-12 month period in a very controlled fashion almost assures you will never "stall out" over the long run. Final random tidbit to share, use weight trend, not actual weight, to measure progress. Without an extremely consistent diet the amount of water your body caries can vary by several pounds, but trending the weight over a 1-2 week period almost assures you will measure actual progress and not how much water your body is holding a given day.

edit: clarity on deficit amounts.

comment 8y ago · link · parent

Breakfast isn't that important. Nutrient timing is mostly made up junk science. Eating some carbs after cardio is important. But, generally, it just doesn't matter too much. IF, I do still like to eat before or after a workout and then fast. Or just do regular old 24h fasts. It's 100% mentality once you get used to it.

comment 8y ago · link · parent

In the modern age of surveillance some protocols could be actively worse. Sad times, but IRC has no real place in the world of someone hoping to preserve their privacy.

comment 8y ago · link · parent

John Romero for anyone looking him up.

comment 8y ago · link · parent

It is what our bodies are meant to do. I view that dependency as a sogn. No exercise leads to a gradual sucking decline where you are diminished. Excercise challenges the bodies systems. My theory: I have all the time after I am dead to stop working out :)

comment 8y ago · link · parent

Play the microcorruption CTF. Things should make a lot more sense when you drop away the complexity of bigger archs.

comment 8y ago · link · parent

Sure. The keybindings for the line editor are emacs like, but only surface level. I can often fix up a line quickly, whereas I notice the vi folks just use %edit. Jupyter, I only use when making plots and such.

The one other super handy shortcut is CTRL-R for shell like reverse search. That is pretty sweet.

comment 8y ago · link · parent

Don't overlook all of the % commands, such as %edit. If you are familiar with emacs keybindings, it has a very good built in editor as well. You can also load snippets from saved files, and save your history to a file. Or individual lines to files using range type expressions. In short it is very easy to get code in and out of IPython.

Another great trick. Anywhere you want to debug or play in your scripts run `import IPython` and the run `IPython.embed()` and your program at that point with all its locals drops into an IPython session, which is nice.

comment 8y ago · link · parent

Anyone that wants to use emacs seriously has to learn a about the kill ring. Something like Helm kill ring is great. It lets you go way back in time and re-pasted killed things.

comment 8y ago · link · parent

No. I would guess the biggest factor is our number one killer, heart disease. Healthy lifespan.... People live a long time with heart disease, but they are never healthy again. Same with many terminal cancers, etc.

comment 8y ago · link · parent

The garbled voice mail translation I still see would beg to differ. Maybe on clean audio sources they have? But they still translate some absolute nonsense that I can easily understand in one listen.

comment 8y ago · link · parent

That was my point. The ancient stoics would advise you to administer control over what you can. If you did the best you can to influence the situation to a positive result, and it still failed, there is nothing you can do. All that is left is how you react to the situation. Modern psychology would call this CBT (cognitive behavioral therapy). Basically, your reaction and how you deal with things internally is all that is left after you have done what you can. Life has so many elements beyond our control. Focus on what you can change and do not let the unchangeable pull you down. I appreciate your frustration at my advice. If I didn't practice it myself and know how hard it can be to follow, I would never blithely hand it out as some sort of cure all to what ails your mind. It is hard. The mindset takes work. It isn't a magical switch to flip. This is /not/ positive thinking. Stoics did not practice positive thinking in the way pop culture does. In fact they embraced reflecting on negative aspects of life. People will get angry at you for things beyond your control. Your friends or loved ones may die tomorrow. You might get fired. The goal is not to make bad experiences as positive. It is to acknowledge the bad things happened and return to a neutral or centered mental state so you can go on living life. It is kind of a Zen philosophy on that never aiming for "positive" outcomes all the time that we experience fulfillment and joy. There is a lot more to CBT and Stoicism, but this is the high level of it. Hope this explains it some more.

https://www.goodreads.com/book/show/5617966-a-guide-to-the-g...

http://classics.mit.edu/Epictetus/epicench.html

https://www.goodtherapy.org/learn-about-therapy/types/cognit...

comment 8y ago · link · parent

You do the best you can? You are always the master of your dealing with your reality.

Communicate. Express your perspective. Manage your reaction. Master what you have domain over, your reactions to the world. Do not be a slave to disappointment.

1
606162
81