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

I can agree with that. SmartTV blasting Netflix. what is a few more bytes. So many more interesting targets.

comment 9y ago · link · parent

That would be my suspicion for a well funded nation state as well. The NSA dedicates a non-trivial amount of time to analyzing the chips they source and use in their infrastructure for backdoors. That is not a defensive only capability :)

comment 9y ago · link · parent

This view of the amazon Echo threat model is very narrow and credits a great deal of trust into Amazon and or how things "should" work. I won't go into the likelihood that what I am about to explain is an actual reality, but in practical terms a nation state actor like the NSA can backdoor the Echo.

Just because a simple test (disconnecting) the network shows you one behavior means and tells you absolutely nothing about how it could be backdoored. It could be as exotic as a payload deep in the NIC firmware that merely requires the right packet to cross through it completely altering the behavior so it can silently listen. Anyone that can accomplish this much can make the device behave normally until they want it not to. And even then, it will APPEAR normal. It could also be as simple as code Amazon knows about and is compelled by a NSL to never reveal.

So, paranoia or likelihood aside, using some cursory behavioral conclusion as an argument is weak at best. We can also talk about phones, laptops and so many other things and why the meme of the echo being /the/ spy device has gained mind share. Anyhow, for the truly paranoid even something like a modern mobile device is a bit of a non-starter.

comment 9y ago · link · parent

I think we agree in spirit. My argument is more about something like decision fatigue. There is simply a mental cost to even glancing at a distracting thing that you have struggled with. When you are first building a discipline you lack, even the smallest factors like that can overwhelm you, especially if your bucket of decision making power is all used up later in the day.

I have been on this agenda of simplifying my computing over the last couple of years and it has really made a difference. I don't need a special app for TODOs. I don't need yet another status bar agent pestering me to update itself. I don't need an IM client begging for my attention. We are builders and problem solvers, and we are paid to think really hard. Our computers and phones are devices that have a default mode that guides us toward content consumption and a bunch of "least bad" technologies.

comment 9y ago · link · parent

I am with you. I often want to enjoy the magic of something like React, but when your entire coding task is a man day or two it becomes really hard to justify learning React. That is my main gripe, many would just say that means "React is not for you" and technically that is obviously true. But in reality it is just the immature tooling around everything getting in the way. It is all in such a state of flux and experimentation that you can't always do things that should be simple simply. I think developers often do their own work disservice by not being a little more careful with dependencies, basically.

Someone spends a few days wrangling a pile of NPM packages, build frameworks, and minifiers into this magical state that lets them operate very productively, but it isn't scaleable productivity in that now you have forced the whole developer community to do this multi day learning battle. And now as your whole pile of JS evolves under you, you are committed to this stack and keeping up with the evolution of all the dependencies.

You end up with a lot of "least bad" solutions that aren't actually very good to the core problem. I see that as React's biggest problem with adoption. The core model is actually really great, but the usability is a steep learning curve.

comment 9y ago · link · parent

I am not so sure I agree. React is anything but easy when getting started. It takes work and an agreement to learn a certain amount of "modern" JS+Web tooling. If you come in with strong engineering and dev background, but not a lot of knowledge about modern web libs and frameworks it can be more than a small chore. I do agree, once you are into it, its design philosophy has a lot of appeal.

comment 9y ago · link · parent

It is sort of like Go vs Rust in terms of learning cost. Clearly, based on React's popularity the cost is worth it to many. Vue has really nice docs and is more approachable. Not a messiah but for many projects it is a great choice.

comment 9y ago · link · parent

I don't think it is easy to dabble in React starting at zero knowledge of all these frameworks. Vue is just accessible and familiar enough to be more approachable at first. When buiding an internal app I took a long hard look at React, but ended up with Vue. I had previously used Angular 1.x.

I know I see this said a lot but the comprehensibility of these frameworks and tooling is borderline impossible to deal with for dabblers. Docs break almost instantly (Angular 2.x). It is hard to manage the number of small ever changing tools, even when you understand the principles.

I think if you took someone with good knowledge of C and good knowledge of Javascript (NOT web), just the base languages it would be easier getting into systems programming!

comment 9y ago · link · parent

I have spent some long weekends in the woods trying to be very still. Not meditatong really, just being bored and thinking. I think it helps me be okay being stuck for a while. Cal Newport discusses this in his book. Getting comfortable with boredom and short Internet embargos (among other things)

When I am hacking on Go or Python I will often launch pydoc or godoc and not visit the Internet at large for hours. Some times I end up implemeting something un-idiomatic or sub optimal. I think it is alright. You get a feel for when something should go to a Parking Lot that you can clear out in a bit. It may seem counterintuitive but it does not mess up Flow. Just whack a comment or placeholder and move on. I often find my brain was working on it in the background anyhow.

It is a sort of freedom. A rare sort these days.

comment 9y ago · link · parent

I am lazy and I like for it to be 100% out of my mind. No seeing it on cmd+tab, etc. No temptation to stop by Slack as I change apps.

spotlight and a fast machine make it a few keystrokes to come back.

comment 9y ago · link · parent

Slack is one of those sneaky things that can subvert culture or quasi-define it if a stronger force does not exert itself. We make it a policy that emergencies happen via telephone. We want people to be able to ignore Slack for a while and not be worried about something important popping up.

It can be hard when that is not an option because then someone has to let Slack occupy some amount of their brain space, just in case.

comment 9y ago · link · parent

It is Cmd+Q for me. Tongue in cheek here, but you have the power. You have permission from me, bitexploder to close Slack and work for focused periods of 1-2 hours. Seriously though, it may be a little uncomfortable. If it seems to cause friction with colleagues just explain it. Ensure you block out time to be responsive, respond, and help others out. Slack should be a "help if I can" avenue not demand of your attention. I call it digest mode. Open once every hour or two when I am thinking hard. Email the same. Some mornings I let everyone know I am heads down and will come up for air and help out with things in the afternoon.

Our addiction to instant and easy answers can be very problematic. It is the only way. Some of the time when I feel the urge for distractions or chat or email I just sit with one or two apps open (Editor and music) and I sit there until the boredom wins and the task becomes more appealing. Once that hurdle is overcome things are great.

comment 9y ago · link · parent

This is a great example of the advantages only a tiny number of technical companies have. It is great technology and great that Google can do this, but who has the resources to competently implement a hypervisor and customize it to their infrastructure?

comment 9y ago · link · parent

I am with you, and I think everyone generally agrees with the principle in infosec, but I just wanted to add on that from this whole "attacker" math perspective often you just want to make your app a little less fun to play with than the next guys. The bored security researcher will just move on to a less hardened target. When you design for real security and mitigate low and medium risk issues with obfuscation when it makes sense it can lower the total cost of your information security program because you control the exposure and information out there.

As long as you know why and when to obfuscate vs. implement real security measures it is a valuable tool. If I can make something that much more expensive for an attacker I haven't bought any iron clad security but I have moved a system from "likely to be hacked by a bored security researcher" to "likely to be hacked only by a highly motivated or well funded attacker".

When doing time boxed black box assessment work and I have no choice but to expend effort figuring out things (stripped symbols, obfuscated names, purposefully unfriendly backend things, etc.) it means I have less time to play with the important stuff. This exactly simulates and helps inform the "real attacker" picture.

So, it can be mediocre technically (no actual security increase in a technical sense), but perfect when it was really low cost to implement. When you spot those low cost obfuscation opportunities they are often worth doing :)

And on the content of the article, I was right there saying, "Okay, just because you now have your own pile of code doesn't mean it is any more secure!" In an absolute sense true. But if you can save a bundle of money not having to rush out to emergency patch some feature, distracting from important work, because QEMU got a new widely disclosed vuln... you are winning :)

comment 9y ago · link · parent

Kind of hard for them know if you have that or not. As a visiting non-citizen you have no real recourse, though.

comment 9y ago · link · parent

I am with you. There is a clarity of purpose and thought in their writing and work that causes me to trust them. Also a key reason I started playing with Go.

comment 9y ago · link · parent

Ahh you are right. My apologies :)

comment 9y ago · link · parent

My bad! I havent used it in a while :)

comment 9y ago · link · parent

This is a really cool project. I love the spirit of this. I would also mention nvALT has a similar philosophy in terms of file format and supports Markdown and fast searching of notes. Sadly it is closed source and Mac only so it does not have the same overall philosophy (despite the note output being very portable).

I feel this will work for a lot of people, especially less technical users. I have settled on Org and or Markdown, to Dropbox if required sync. Emacs and or any other text editor will just works. That said just taking notes in a consistent place and in a consistent format gets you 80% of the way there. Grep and find still work. I almost always end up back there :)

Org is its own little world, but I know that I can always edit an Org file on any computer with my preferred editor.

I like this trend of back to basics in computing (even if it is running in a web browser on my desktop), its goals are nice.

edit:nvalt is open source. Mac only and as others pointed out not updated too regular but I know people who love it.

comment 9y ago · link · parent

What you stated is pretty normal seeming to me, so no, not "everyone". But I think web developers still need to know what a cookie is and how to use it, even if you dont use them often. They can provide a better user experience remembering some aspects of a user or their session long after it has expired. Many sites have semi-authenticated states where you may not want to hold user data, but still remember some details about their session.

comment 9y ago · link · parent

A username is different from a password. There can often be legitimate or at least semi-legitimate reasons to do this.

I dunno everyone has to learn how to use cookies if they are building web apps.

Password is obviously just bad.

comment 9y ago · link · parent

Isn't that kinda the point? Parenting is a huge guessing game with no guarantees. It is hard to draw the regarding how much to respect authority.

comment 9y ago · link · parent

You basically can. Almost every modem supports an AT command interface with SMS commands. It can be easy, non-trivial, and sometimes hard to get at your modem directly -- depends on the specifics. Calls are trickier, needing voice i/o, etc.

comment 9y ago · link · parent

It is also worth mentioning it is all public domain.

He has gone to great lengths to ensure the algorithms are all side channel resistant. The breadth of his concern and the care behind the decision making is really impressive and most users of his software only really understand the tip/visible portions of it all.

I will forebear the idiosyncrasies, gladly, to get all the benefits compared to the current stew of crypto primitives I see getting misused almost constantly.

comment 9y ago · link · parent

Do not be so hasty to judge. For me I still have plenty of energy and ability to enjoy things. I just get distracted more easily and am less likely to achieve my goals for the day, but it in no way magically transforms common chores. If someone really has ADHD Adderall works differently than in most people. Also Adderall at therapeutic doses is very easy to halt for me. Also many adult users leave 2-3 day gaps to give their brain time to replenish dopamine stores, etc.

comment 9y ago · link · parent

Have you tried stimulants before? Adderall/Ritalin? For me, even at low doses the effect is pretty profound. If you genuinely have ADHD, no other solution has such profound effect (based on the research). Individual results vary, it is no miracle for all, but as a group, ADHD sufferers benefit greatly. It is low risk all around. If you manage it well the risk of addiction is very low. I think if you have not tried this path try it first. It just works for most ADHD sufferers.

comment 9y ago · link · parent

This is built using Emscripten. They compiled native Graphviz to JS and there is a thin shim that renders the .dot files to the browser. Dot command gives output that makes this relatively easy.

comment 9y ago · link · parent

Gorm. Give it a try. Light on magic. Can write by hand easily still. If you arent writing really complex queries and are just shuffling records around Gorm makes life a joy. It is no SQL alchemy but for most SQL users ORM/SRM makes life better. Anyway I think most systems using SQL in business logic end up implementing a relational mapper, just not as well as battle tested mappers. But some use cases do justify avoiding such tools.
1
7778798081