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 3y ago · link · parent

The only cross platform toolkit that pulls it off well is Java. IntelliJ feels good on every platform. Qt apps can also feel native if a little effort is put into it. Rust GUI frameworks are one of its weaker areas IMO.

comment 3y ago · link · parent

Define: eating right. It’s really hard. Sleeping and exercise are easier.

comment 3y ago · link · parent

I released a MiTM tool over a decade ago at BlackHat named Mallory. It is the common name for a malicious actor in between Alice and Bob in cryptography explanation.

comment 3y ago · link · parent

Yeah, yikes. Those are clear and dangerous symptoms. Literally worked himself to death. I find the conspiracies a little hard to swallow knowing how severe his symptoms were, and I love a good conspiracy. I would not entirely discount murder, but that was really not smart of him to keep working through such severe medical condition.

comment 3y ago · link · parent

There is a balance, but Montesorri is mostly an elementary level and below system. High schoolers and middle schoolers that still attend a Montesorri program have a much more structured curriculum. They still give kids more freedom with electives and research but follow a more college prep style curriculum. Interestingly kids in our Montesorri program have a way higher rate of finishing 2 and 4 years of college than avg. parents of Montesorri kids tend to be more focused on raising their kids well and educating them at home and at school compared to avg.

Our school is a charter school, publicly funded, but still fully Montesorri. It has a functional farm even.

comment 3y ago · link · parent

Similar experience. They aren’t given a massive finely sharpened chefs knife or anything. Just a small not too pointy knife that can manage small fruit. But it is still a sharp enough metal knife early on. They also set the environment up to keep it safe. One food station. Careful movement of knives. Near a sink, etc. never heard of more than a butterfly stitch or two across a lot of kids and parents :)

comment 3y ago · link · parent

A lot of early education is based on sensitive periods. Materials are introduced at ages and times when the child shows interest. It is guided learning.

Kids learn to do things like cut apples, with a regular knife. At age 3. I will never forget one parent’s reaction. She was horrified and asked us “won’t they cut themselves?” My partner: “yeah, usually.” You could see her mentally nope out. That is a great viewpoint into Montesorri’s philosophy: that small kids are way more capable in many regards than adults assume.

There is also almost no need for a traditional gifted program because as kids finish materials nee ones are available. Grades are very fluid in a Montesorri classroom and kids have the freedom to explore everything. I think it works well for most children. Better by a lot for most kids compared to the traditional systems of public school.

So you give them a specialized environment and let them loose and then follow their interests, “follow the child” as Montesorri said. Then you guide them. The materials are designed to make it easier for kids to do on their own, but they also get plenty of help.

It is a very uncomfortable notion for many parents, but my daughter is a great example. She is 10 and easily doing work several grades ahead in topics that she excels at. No need for a gifted program really, the materials and support system is there to let all kids work at their own pace.

comment 3y ago · link · parent

Never knew there was an end poem. I just build on servers with my kids. Played for about 13 years now. Author is delusional about his value vs minecraft’s value. It probably didn’t need the end and definitely didn’t need the end poem.

comment 3y ago · link · parent

I remember using that and libefence in the 90s to find memory leaks in my MUD. Purify was better. Easier to use and found more stuff. It is 2022, leaking memory still a problem.

comment 3y ago · link · parent

Check out Elixir/Phoenix LiveView tech. It is the only easy system that will push updates to clients easily I can think of. Their twitter clone demo is cool anyhow.

comment 3y ago · link · parent

The stdlib is really great. The things you can cross compile not worrying about glibc all day long is amazing.

comment 3y ago · link · parent

Not GP, but: Critical mass. Accepted in many domains as a valid first class solution. Memory safe. Has that depth of modules now that you can `go get` most things off the shelf. Easy to get a team up to speed, leading to wide adoption.

It is like the Python of statically compiled languages to me, but with way more safety rails and things you need as your code base grows.

There is just demand for it in general from what I see.

comment 3y ago · link · parent

Never mind you don’t give up any performance to use Rust anyway. They focused heavily on only incorporating features with zero cost abstractions.

comment 3y ago · link · parent

Yeah, tmux is not super fast. I really have liked wezterm, everything is just right for me. It does just enough of what tmux does that I use.

comment 3y ago · link · parent

wezterm has lots of bells and whistles, but is fast and you can ignore the other features.

comment 3y ago · link · parent

That is fair, but the threat model is pretty open too, right? In a few hours in a room we could come up with a pretty credible one I bet.

* hardware

   * deep backdoors in radio chips

   * physical supply chain TM goes here

   * etc etc
* software

    * we can audit and monitor this easier

    * etc
There is a lot to read between the lines, but it is guess work based on supply chain advisories and high level behaviors of govt entities on both sides and our community is good at missing the forest for the trees on this speculative thinking. I think also there is the possibility of minimal actual wrong doing. It could just be entirely political. Ahh well, I guess I have seen enough of this over the years that I accept there is stuff we will never learn about.

comment 3y ago · link · parent

Would this help shape policy in some way or are you just curious as a technologist? I don’t really need to know, as a long time infosec practitioner I have a fertile imagination for the shenanigans they could be up to.

comment 4y ago · link · parent

I like all of this thinking. I don't deal a lot with ABI and integrating Rust into things, just another programmer that has been writing a Go (and Python) over the last few years and gradually becoming disaffected with its constraints and design, though Go is still a great language to get things done with and much safer than say Python or other dynamic languages. I will say this, though, as an older programmer, even when scratching an itch, it is often worth Doing It The Right Way. It feels freeing to rush ahead, know you are making technical debt, but get a thing to seemingly work.

If you or anyone else ever has to maintain it that technical debt almost always comes calling and it can often be unpleasant. For personal projects, oh well, you move on, maybe you can throw it out. For even small professional projects you are now in the "Find Out" phase of technical debt. So I am just in this mindset of writing meaningful things and saving experiments for truly throw away code, which still has its place. I am gonna go ahead with Rust as my next 5+ year language, a role Go and Python filled. I think my litmus for Python vs. Rust is if it will take me more than a day (estimate) to write, I am going to suck it up and use Rust.

comment 4y ago · link · parent

I have been learning Rust so it is top of mind for me. Rust started with some really tough constraints:

1.) How can we eliminate undefined behavior?

2.) without sacrificing any performance

From there, they built a powerful programming language that has always honored zero cost abstractions and elimination of undefined behavior. This is like a 15 year development and the result is a little hard to understand at first but one of the most innovative things in the realm of systems programming [that people are actually using at scale]. I know Rust borrows a lot and is built on the shoulders of giants and is not a singular invention, but it is slowly winning hearts and minds in places where languages like Ocaml and Haskell never could. You really could not do something like this by saying "Hey, how could we eliminate UB in C++?" Starting anew was the solution :)

comment 4y ago · link · parent

Something I long assumed about Rust before really getting started is that it is /slower/ to develop with. And at first that is definitely true because it introduces some pretty big, powerful, and constraining things. When you learn to work with these things and have taken your lumps discussing your code with `rustc` it is a lot of fun.

1.) Moves / borrowing / memory model 2.) Adopting a more functional style [to support 1.)]

My observation is that a lot of people /really/ want Rust to be imperative and treat it very imperatively they fight the borrow checker way more than if they adopt the idiomatic norms of Rust. There are some edge case data structures that can be a little painful and require some specialized knowledge, but once you are into Rust I don't even think it is unpleasant for side projects and general purpose hacking, but to get there it demands a higher level of mastery than most languages, but when you get there it can feel extremely productive.

comment 4y ago · link · parent

That assumes a whole lot about their goals. If everyone sticks with C++ we would never have nice things like Zig/Nim/Rust that are advancing the conversation about how we should be doing systems programming tasks with code. C++ is quite influences by a lot of this. Like, let emm hack and learn. Also I think Nim is a very productive language to be hacking in and much easier to get going with than C++.

comment 4y ago · link · parent

Yes to both. It is great :)

comment 4y ago · link · parent

Go has one of the best compiled language IDE experiences out there. GoLand makes it feel easier than Python code :)

comment 4y ago · link · parent

The other side of that is the back end of what Rust folks are doing. There is a vocal segment that are doing a lot of surface level things. But there are also people quietly building the language and toolchain up to be something that you can do true low level embedded work with while maintaining (most of) the guarantees of Rust. That is what I was alluding to. I don't think "rewrite it in Rust" is always smart or even productive.

edit: It is also worth exploring why and how a systems programming language has generated this much excitement in folks that are "rewriting it in Rust". These people are also in their way making it that much easier for everyone else to transition to Rust, proving these projects work just fine in Rust. I do agree it is a meme, but it is a good one for us all. As an infosec practitioner nothing could make me happier than seeing people excited about a language that eradicates one of the worst and most pernicious classes of C/C++ bugs.

comment 4y ago · link · parent

Also, and this sort of blows my mind, but Rust is almost 10 years old. It is a pretty darn stable language, especially for greenfield projects like a new HTTP library. The better Rust gets at interop the more it will begin to eat the systems programming world IMO, and we all benefit, even if it is quietly doing it without much fanfare.

comment 4y ago · link · parent

Test is definitely a factor in working out and feeling good for all men, but especially young men. Plenty of women enjoy BJJ for many of the same reasons men do though. BJJ is relatively safe. You will end up with injuries, but it is worth it for me as a desk jockey. :)

comment 4y ago · link · parent

I do BJJ and once you get into it, it is extremely fun and rewarding. Strenuous physically. Mentally, extremely deep, popular with tech folks because although you have to be in shape skill development dominates. Strength will always be an asset. So will cardio, but skill dominates. Plus close human contact releases oxytocin and other hormones. And the physical activity does the equivalent of a runners high. And the mental activity gives you intrinsic learning rewards. I suppose you can burn out on it, it can be very frustrating at times, but once you get past the first humps it is golden.

comment 4y ago · link · parent

It was easily one of my favorite podcasts of the last few years and Lex usually drives me a little crazy.

comment 4y ago · link · parent

Carmack even discusses this on the Lex Fridman podcast. Carmack basically had high school level math around that era and was a voracious reader of every scrap of game programming lore he could find. And outside of it. He is a very intellectually honest guy and it is refreshing to hear him talk about how he worked in those days. I came up similar to Carmack and he is my programming hero, so, I have a lot of admiration for how he managed to do things.

comment 4y ago · link · parent

I mean, it's just metal. As long as you make sure it is empty this is perfectly safe. Once a propane tank has reached the end of it's life as a propane tank it is completely reasonable to re-purpose them. You just have to be safe. Welders do this all the time. The scent they put in is actually somewhat flammable too. You take the valve out, leave it inverted, clean clean it out with soapy water, etc. It is a non-trivial process, but propane tanks are good steel.
1
242526
81