HNHacker News
TopNewBestAskShowJobs

retSava

2,567 karma · joined September 26, 2012

Co-founder, VP eng at Thingsquare

Feel free to hit me up at marcus@thingsquare.com if you want to talk!

Avid fan of all kinds of tear-downs and reverse engineering, even the non-reversible kinds and those that leave a few parts behind after reassembly. Also, "How it's made" :+1:

submissionscomments
retSava··on Notetime: Minimalistic notes where everything is timestamped
Nice.

I'm using a simple little combo of a shell script and alias to append a line of text to a text file in a known location. The script is just to prepend the line with a timestamp. Stupid and simple, but hey, it works for me.

My aliases:

  alias ttag='/cygdrive/c/Dropbox/tools/ttag/ttag.sh'
  alias ttagcat='\cat /cygdrive/c/Dropbox/tools/ttag/ttag-logfile.txt'
  alias ttago='open /cygdrive/c/Dropbox/tools/ttag/ttag-logfile.txt'
The shellscript:

  1   │ LOGFILE=/cygdrive/c/Dropbox/tools/ttag/ttag-logfile.txt
  2   │ TIMESTAMP_NICE=$(date +"%F %H.%M.%S - %s:")
  3   │ echo $TIMESTAMP_NICE "$@" >> $LOGFILE
retSava··on Are DOGE's Claims of Social Security Payments to 150-Year-Olds Way Off Base?
I haven't seen that particular stack and build setup to dispute or support that claim. Have you?

What I have seen in my part of the developer world, is very brittle stacks/setups where minor changes have butterfly effects on completely unrelated parts. Pushing straight to important branches, build depending on several pretty unrelated repos, unclear and messy dependencies, etc etc. I can totally understand such a claim.

retSava··on Restaurant Menu Tricks (2020)
It's easier to add salt, than to remove it, so I'm always in favor of this strategy. Less salt is one of those things that are good for you and only takes some getting used to. I can't eat any fast food burgers nowadays, they are just too salty.
retSava··on Show HN: App that asks ‘why?’ every time you unlock your phone
To help those that need a tool to stop them from themselves. Sometimes, the creature part of us gets a hold over oneself, for me especially when I'm tired. In those cases, however much I want to and know I should, it's just so hard to stop the impulse. And when that happens, apps and services such as Youtube/Tiktok/IG etc etc are honed in to take advantage and not let go. It's probably very closely related to addiction (substance/sex/gambling/etc) in how it works.

If you have not experienced this, and don't see the need per the above, I'm happy for you.

retSava··on Show HN: App that asks 'why?' every time you unlock your phone
Hahaha. Yeah. I started using a second browser...
retSava··on Show HN: App that asks ‘why?’ every time you unlock your phone
Great! Apps like these are sorely needed. My feedback would be, apart from what others are saying about sub vs one-time purchase, to look at what Leechblock firefox extension is doing.

The key point is to make it harder (but not impossible) for me to use the phone. A "Do you need this?" is a great start, but since I can easily sneak by, I will soon do that. Even if I click "1 minute" to get a reminder, that should not be a simple notification, but back to the large big screen covering things.

What LB does is genius. You can enable a barrier so that if you reeeeeeally need to, you can get around, but it's annoying and time consuming, and thus the quick loop of "pick up phone and get stuck" is broken. The barrier in LB can be to type a (long) passphrase, or my favorite: a 64-char random string which cannot be copy-pasted. You need to manually look at 2-3 chars at a time and replicate the whole thing. Very effective.

But again, also the snap back to reality thing. If I keep using it, throw up a big overlay with a good question "Is your attention well spent?" for example. Make me wait before I can continue.

retSava··on Show HN: App that asks 'why?' every time you unlock your phone
Yes! I use this for both Win and Ubuntu. Works great.
retSava··on Show HN: I created a lightweight JavaScript library to visualize JSON as a graph
I agree with this. Since it's rendered as an SVG, saving it as an SVG would be great. PNG as backup perhaps.

Looks great! Thanks OP for sharing!

retSava··on Show HN: Krita RGBA Tech – Bringing Realistic Metal to Life in Open-Source Art
Thanks for sharing! These look amazing and I look forward to trying them out.
retSava··on Please do not write below the line
Looked at the main site and, oh my goodness, they are very, very intimidating and threatening to get one to buy a license.
retSava··on Why TCP needs 3 handshakes
Perhaps GP considers a NACK more semantically easier to understand on an intuitive level, instead of the implicit NACK with "I know you sent 8, but we're really at 4 so resume from that". But I do agree that it's more efficient for the remote host to just immediately establish "4 was the last point we are ok at".
retSava··on Smart TVs take snapshots of what you watch multiple times per second
I don't think that's the same. Amz Sidewalk is very slow, low bandwidth over sub-GHz. What GP is thinking about is probably along the lines of, if not getting Internet access by the owner, willy-nilly connecting to any open wifi network it finds, and uses that.

But "meshing" with other apparatus from the same manufacturers is a clever and evil idea - perhaps another TV from the same brand is in range and has Internet, then they can proxy that way.

All these probably break some regulations or laws.

retSava··on Why did reporters for years end their stories by writing "-30-"? (2007)
Clickbait. You are never given an answer, just some speculation. "Some believe" etc.
retSava··on Ask HN: Best static site generator for non-designer?
For my tiliaradix.com [0] I use Hugo [1] with the mini theme [2]. The domain is mine and points to a github pages repo, so I get HTTPS with it too.

I think the theme is pretty clean and lean and is kinda enough for me that also don't want to mess around with css and styling. And the blog is something basically no-one would find or read unless they are getting involved with me as freelancer (embedded wireless).

[0][https://tiliaradix.com/] [1][https://gohugo.io/] [2][https://github.com/nodejh/hugo-theme-mini]

retSava··on US FDA approves nasal spray alternative to EpiPen for allergic reactions
Aaaahh! Thank you both!
retSava··on US FDA approves nasal spray alternative to EpiPen for allergic reactions
The needless part is the one I think of first. Our daughter is 10, and as soon as we bring up "here's an injector" to school personnel or friends parents when she's staying over, there's a frightened look in their eyes.

This will allow us to be much more relaxed, since the risk of anyone panicking when administering is lower, the risk of doing it wrong is significantly lower, and the stigmata is also lower compared to a needle.

I've been eagerly awaiting this.

retSava··on Moving to a RTOS on the RP2040
If I understood it correctly, it was that the compiler suite shipped with newlib, which have or can have printf supporting re-entrant use (several threads can call printf in async manner), or not supporting that case (typically sync usage, blocking across I/O). The re-entrant ones use malloc/free for, iiuc, a per-thread buffer.

In many cases when you have smaller systems, you actually don't want your OS to do dynamic memory allocation, since it opens up for all kinds of bugs related to eg double-free, or use-after-free, or running out of heap, or too defragmented heap.

It's also easier to calculate memory usage (and thus be fairly certain it will be enough) if you allocate as much of the memory as possible as static memory. Hence why some coding standards such as MISRA-C disallows use of dynamic memory allocation.

Exactly what caused the lock-up here isn't delved deeper into, but it might be that there was not enough heap, or not a working malloc-implementation linked into the compiled binary (could be a stub), or could be that a non-re-entrant printf was linked in while they tried printf from several threads.

retSava··on Air Quality Monitors Compared: AirGradient vs. Purple Air
That's been my experience with the BME688 too. Bosch likes to pitch this as being able to detect many various things, then leaves it up to the customer to experiment with heater profiles and machine learning to reach said goal.

The results I've seen for methane is discouraging, to say the least. Now moving to a NDIR sensor. A completely different thing, I know. Guess I was under a spell, it sounded too good to be true - a BOM cost reduction of 20x, and it was. I can go on and on about this one and the driverlib for it, but I've spent enough energy already.

retSava··on Who killed the network switch? A Hubris Bug Story
Anyone knows what they mean by "For instance, we have an internal board that serves as a useful I2C debugging probe and has 8 kiB of RAM and 32 kiB of flash.".

What could that interesting thing be? An inline-I2C sniffer perhaps? Or an interface board to inject i2c commands? Or something else?

retSava··on Show HN: Extend Zigbee sensor range with LoRaWAN
Not necessarily. Often rf modules are pre-certified mostly to show that the hardware implementation and radio modulation and all that works as intended. Eg no spurious emissions, transmits at the freq you ask for etc.

What gp asks for is that regulation requires either polite transmissions aka listen before talk aka clear channel assessment, ie before we send, listen for a while and back off if channel is busy. If LBT isn't used, there's a maximum allowed transmission duty cycle stated.

Zigbee typically uses LBT, Lora doesn't. Hence, a clear zigbee channel may result in a very chatty lora channel.

And another problem is the difference in bandwidth, where zb uses 250kbit/s at 2.4 GHz and a transmission may take on the order of a millisecond, Lora even on minimum spread takes hundreds of ms, on max spread a single transmission can take several seconds.

This limits the scalability of lora networks in dense physical deployments. Lora primary use case is the once-a-day-ish sensor transmission.

retSava··on Could inflammation be the cause of myriad chronic conditions? (2019)
Similar thing here, reduced kidney function. How does it affect you, if it does, if you are not keeping up with this diet?

You mention you worked out a lot when younger, so did I and drank a lot of protein shakes, which I've read can be taxing for the kidneys. You too?

retSava··on EU opens proceedings against X over efforts to combat information manipulation
Well SVT is a joke. Examples too many to count, but my two favorites are probably first, when they reported on a police notice on a rape, and republished the description of the perp, with all from the police notice (height, hair, eyes, clothes, etc) but not the skin color. No explanation given on why they felt it necessary to leave that out, and actually harmful since valuable witness reports may not surface.

The second favorite is a "boo-hoo"-interview with a person that risked deportation, hence why he lived in a shed in a forest since two year back to avoid being arrested. He was given ample opportunity to solicit empathy for how hard it was and how insecure he felt. He also said that he was running from a prison sentence in Syria for smuggling guns and had been declined asylum on several applications and hence was living illegally in Sweden. No questions from the reporter on that. They're a joke, simple as that.

retSava··on Does employer have to tell if they're spying on you through your work computer?
Yeah I do, it's just a bit on the nose to see that it's someone actually in-this-moment looking through my emails. Not an algo doing a keyword scan, not a save-for-what-ifs. A person, looking through my emails. What makes this even more funny, is that these guys are the ones going "we're a family" and all that.
retSava··on Does employer have to tell if they're spying on you through your work computer?
Funny to see this today. I'm doing consulting for a customer, and have an account on their Outlook/Teams setup, while still being associated with another unrelated company. My own computer and equipment. Yesterday I received a bounce email from Outlook - my forwarded email could not be delivered since the recipient didn't exist. Thing is, I didn't forward anything, and there is a c-level guy in this small company that is close to that user but just a keyboard slip away.

So I have to assume that for some reason that forwarded email was supposedly interesting and there's either a filter to forward, or they manually log in and forward what's interesting. Either way, getting it in my face is pretty off-putting.

Thinking of forwarding that email and add "hey, your surveillance is misconfigured, but here it is anyway".

retSava··on Unlimited Kagi searches for $10 per month
I've been getting dialog boxes for default applications a lot lately. Ie, I've associated, say, .png with an image viewer (which is not MS), but lately when opening a .png I'd get the "what application do you want to open with?"-box, with a "Windows suggested"-app as the number two choice. That's disrespecting the choice I've made. Then, this goes for basically all non-MS default apps I've associated with.
retSava··on Add extra stuff to a “standard” encoding? Sure, why not
Doesn't have a Brainf*k implementation, disqualified.

/s

retSava··on Swedish criminal gangs using fake Spotify streams to launder money
Population increase yes, from immigration. The problems coming from the segregation stem from immigration (almost per definition), not "population increase" which sounds like Sweden experienced a huge baby boom.

Sugar coating the problem or painting a different picture than what it is, is part of the problem. For example, of course there are challenges and costs with immigration, and it doesn't help anyone pretending there aren't. Of course immigration from low-education countries will have on general lower education. Pretending otherwise will ensure they won't get the help they need to become a part of the society. Of course patriarchical society immigrants will generally have a patriarchical mindset. It doesn't help that turning a blind eye to that just because you (not you specifically) is afraid being called a racist for calling that out.

Thanks for coming to my TED talk.

retSava··on A Texas semiconductor boom on the horizon?
It's also exactly the kind of humor I love. Intentional misuse of idioms, homonyms, intentional dangling modifiers, and the like. It's ok if people think I'm stupid, I can always prove them right!
retSava··on The molecule DIM reduces biofilms causing dental plaque: study
You could call my child, or me, water + additives, yet she is priceless :).
retSava··on Google Maps Testing New Apple Maps-Inspired Map Style
Snarky, but I expect that to be a kind-of circle with a small radius, around their offices and the favorite places their employees in SF visit.

Never heard of this happening, and not something I'd expect google to do. I'd expect them to send emails at most, with a link to some page that is broken for anyone not using Chrome, then no support available.

← PreviousPage 2 of 21Next →