HNHacker News
TopNewBestAskShowJobs

ricket

152 karma · joined March 5, 2013

submissionscomments
ricket··on Reverse engineering Ticketmaster's rotating barcodes
I googled "us government anti trust wins" and found a few articles that point out some recent ones, e.g. Adobe and Figma in December 2023, and an Apple lawsuit in March 2024.
ricket··on Ask HN: Small scripts, hacks and automations you're proud of?
btw there is a bash feature that you can use for this

touch a_tset_file.txt mv a_t{se,es}t_file.txt

it works for changing file extensions:

touch foo.txt mv foo.{txt,json}

or for adding or removing characters, just leave the other side of the comma empty

touch foo.txt mv foo{,bar}.txt mv foo{bar,}.txt

ricket··on JuliaMono – a monospaced font for scientific and technical computing
It looks fairly clean but the lowercase "r" character stuck out at me as I read the webpage. Mainly in the smaller paragraph size, not so much the titles. Something about it just looks "off" to me, sticks out like a sore thumb as I'm reading.
ricket··on A tiny static full-text search engine using Rust and WebAssembly (2019)
Also the search index has not been updated in 8 months so it doesn't include the several recent articles. Which can be confusing, since those articles are right next to the search box when you're at the homepage. I opened a github issue for him.
ricket··on Microsoft Pix
The Pix example looks like a cinemagraph. They can be really neat and beautiful. There is a popular subreddit, /r/cinemagraphs, and other various google results. Maybe those are examples of what you could accomplish with Pix - but surely you would still need some manual touchup to make it loop perfectly as it should.
ricket··on How I Simplified My Phone (2015)
> To my surprise it came not just unlocked but rooted.

This rings alarm bells for me. What are the chances that it comes with a pre-installed Android rootkit? How would you know?

ricket··on HTML5 Deck of Cards
I had the same thought. You could practice magic tricks if you could flip over the deck and then shuffle and fan it! "Pick a card, any card!"
ricket··on Skylake’s graphics architecture: Intel is still gunning for dedicated GPUs
I don't know why a non-gamer would bother with an AMD/NVIDIA graphics card. Even a developer. If the most graphically intensive thing you do is watch YouTube videos or Netflix, use the Intel integrated video. It's plenty good for those things. I totally agree with you there.

But on the flip side, as a gamer, I couldn't imagine giving up my discrete graphics cards on my gaming desktop. How many years back and how low resolution and graphics settings do you have to go before you find a game which is playable on an integrated chip? I guess it depends a lot on your definition of "playable", and your game selection; if GOG is where you regularly buy games then the integrated chip is probably more than adequate. Or if you're using a single 800x600 monitor, you're probably ready to run the latest games on your integrated chip. But otherwise, I can't seriously recommend anyone play games on an integrated video chip.

Sidenote: I would choose the touchpad as my #1 source of hardware frustration. Anecdotally, I haven't had much issue with graphics cards, other than one replaced under warranty.

ricket··on Show HN: Dropkick – a simple CMS with an HTML or Bootstrap template
Typo: the pricing section says "Workpress"
ricket··on Simple software rasterizer in a single C++11 header file
I'm not a C++11 developer, I've done a little C++ in the past. What is the pride in putting all the code in the header file? Shouldn't the declarations be there, and the definitions be pulled out into a .cpp file? Is it somehow smaller, faster, more convenient to have it all in a header file?
ricket··on The Bitcoin Piñata
So the server always sends the same plaintext (the private key of the bitcoin wallet), encrypted presumably by the same cipher but each time with a different symmetric key of course (negotiated by the handshake). It seems (naively, I'm sure) like this is a weakness, like you could collect a bunch of the encrypted samples, and then use the fact that they are all from the same plaintext in order to figure out what the plaintext is. How many samples would it take before you could deduce the key?
ricket··on Maryland clocks thousands of E-ZPass drivers speeding
A toll near me (NC) has cameras and an electronic sensor over the highway; it reads your pass if you have one, or takes a picture of your license plate if you don't so that they can mail you a bill later. (there are no humans, nothing to stop for)

When they first put it in, I noticed there are 3 or 4 of those in-road "buttons" (weight pads?) right in a row under the toll platform. They could be used to trigger the timing of the reader and camera, or I figured they could be used to determine speed quite easily.

So for a while after it was first put in, I would carefully hit my brakes and ensure my speed through the toll was right at the speed limit, then go back up to normal speed. But after a while I got lazy and stopped doing that, since nobody else appeared to be doing the same. "Everyone" was speeding through it.

I never received anything in the mail, and nowadays I rarely go through the toll. But now this article makes me think I could have been right, maybe they are recording speeds (or capable of doing so) and just doing nothing about it.

ricket··on Israeli Startup Can Charge Your Phone in 1 Minute
Sorry. I googled to check before posting too, but didn't consider specifically the A123. It still looks like it is an uncommon choice for main battery pack but I can see how it's at least feasible (I probably wouldn't go for the tradeoff personally).
ricket··on Israeli Startup Can Charge Your Phone in 1 Minute
It's 100% believable, technology-wise. It's a 2600 mAh LiPo (or LiFePO4 or other similar lithium battery), and the charger charges it at about 4C == 10A. The tradeoff is that such high charge rate tends to damage the battery quicker (resulting in sagging voltages/lower capacity).

I don't believe their claims that it will last 3 years of regular use, that it will have 1500 charge cycles, or that it has "novel battery chemistry". I'd give it up to a year, and even then you'd probably be experiencing much lower capacity by the end of the year, but that's my rough guess. I'm also a bit surprised that it's deemed safe for consumers and will be certified.

ricket··on Israeli Startup Can Charge Your Phone in 1 Minute
It's not as entertaining than say a dynamite explosion, but here's an example: https://www.youtube.com/watch?v=ixIOEPnsgbI

Gassing (or smoke, not sure which) starts around 15 sec. Plenty of results for 'LiPo explosion', 'overcharge lipo', etc.

A LiPo fire is a chemical reaction, it cannot be extinguished by traditional fire extinguishers (i.e. smothering does not extinguish, it's creating its own fuel) -- you have to wait for the battery to burn out and then extinguish the remains on fire. Treat your batteries (and electronics with batteries in them) well, folks.

ricket··on Israeli Startup Can Charge Your Phone in 1 Minute
5C is still like 10-15min for a full charge -- and definitely does have side effects, it causes damage to the battery and will result in sagging voltages and lower capacity in just tens of charges. 5C is too high of a charge rate.

I feel like you've mixed up LiFePO4 and LiPo. LiFe has low charge rates, lower energy density, lower voltage, and higher cost compared to LiPo. For R/C aircraft, it's typically used only for the receiver and servos of the really large helis/planes, because its lower voltage is tolerated by the servos whereas a LiPo needs a regulator to step down to 5-6V for driving servos. I can't speak for expensive hand tools, but "everyone" in the R/C community uses LiPo.

ricket··on Google Inbox
I think you have to really consciously process your email though, in order for your system to work. I have gotten really bad at email lately and it's because of this: I leave my emails in my inbox like you. Except I archive something that I'm really, truly done with (never wanna see it again, not even for reference; archive = trash). But now my inbox is a mix of things I haven't yet read, I've read but haven't acted on, things I've read and keep in my inbox for reference, and things that I'm done with but I'm ignoring them so hard that they never actually get archived like they should. "Mark as unread" is used at a whim, usually when I read something on my phone and think "I should read this on my computer" so I flag it unread to make sure it stands out. Nothing is starred, except I have colored stars and mark a bill with a green star before I archive it (this is a remnant of a system I tried in the past but didn't fully stick).

As a result, I end up missing or not doing things, and re-reading emails I've already done, and my inbox is just a big chronologically-ordered mess.

This is my personal email anyway. My work email I'm a little more careful with, but it also piles up over time and rarely something will slip through the cracks. Outlook's flag/reminder system is decent at least, so it's manageable, but it still at times feels disorganized and just not quite how I want it to be.

ricket··on [dead]
I re-evaluated my DNS provider choice a couple days ago (good timing, apparently, as I was using Google before then). Switched back to OpenDNS because their servers responded faster than Google's, and they no longer do the ad/search page redirection thing, as of June 6 2014.

http://www.opendns.com/no-more-ads/

I used GRC's DNS benchmark tool to discover this. Also the particular OpenDNS servers which responded faster were different from the two that they tell you to use, so the fast response is probably helped by low load (fewer people using these undocumented servers). Going from memory because I'm at work, I think they ended in 202.222 and 222.202 and 202.123, whereas the officially listed ones end in 222.222 and 220.220.

ricket··on Show HN: One Adaptive API for Dropbox, Google Drive, OneDrive
Not sure if he meant P2P as peer-to-peer or point-to-point. The latter seems to make more sense. But P2P is most commonly used to mean "peer to peer". (also pay-to-play in the games space)
ricket··on Pulse: open, trustworthy, decentralised sync and cloud service
)
ricket··on The Magic CmdLine and how I got it back
My mom has Alzheimer's disease. I either sympathize with your situation, or if you were using it as an expression, I find the misuse a bit offensive. Particularly in this context for me, it brings up a painful memory of one of the first signs of Alzheimer's in my mom, when she called me because she had entirely forgotten her computer password.

As a sidenote to anyone reading this, I really appreciate that the Hacker News community occasionally posts and upvotes Alzheimer's articles. I read every one that I see.

Anyway, I beg that you might not use "Alzheimer's" as an expression for forgetfulness, just as you might avoid calling someone "ADD" when they multitask to a fault.

ricket··on Playboy Interview: Steve Jobs (1985)
10 years. Interview is dated 1985, Windows 95 is obviously 1995.
ricket··on How a password changed my life
I have used this technique to help me memorize company goals and also to connect codenames with their version numbers. I hated when someone would mention "Julio" and I'd have to ask "uh that's version 4.2 right?", or vice versa. "Julio4.2" is a decent start to a password if you add another word or two to it.
ricket··on Merge Pull Request Considered Harmful
"And as a hypothetical story-telling construct I created in my mind, Jane agrees 100%!"

That's a very strange way to end an article. Could have just stopped before adding that last line.

ricket··on V8 Optimization Killers
Can you elaborate? "pretty sure" sounds like a hunch rather than actual data.
ricket··on Webkit.js
Erm, look at the URL of the original page...
ricket··on The Birth and Death of JavaScript [video]
pronunciation*

(it's one of few weird words that change spelling when you add a suffix, such as fridge/refrigerator)

ricket··on A talking multimeter
How... does this even work? How does a blind person construct an electrical circuit? How can they see the colors to determine a resistor, or read the capacitance on the side of a capacitor, or feel the little tiny circle that indicates which pin of an IC is pin 1? Or even just which wire is red and black?

I suppose this multimeter is the answer to which wire is red and black (is the voltage positive or negative). But I wonder about those other things.

I'm honestly just curious. And I feel bad for blind folks in one more way now.

ricket··on Thanks to Hacker News for helping us debug our site
I see the same, pretty sure it's broken for everyone, see the JS console: http://i.imgur.com/eQZlNKO.png

Gotta love that professional log message, "This shit ran". In addition to several errors. The onclick function doesn't work at all, except in browsers where window.event is a thing. Guess what browser does that? Internet Explorer.

ricket··on You might not need jQuery
Boy, these snippets are really cool! Some of them are a bit longer in vanilla JS, though, so I think I'll wrap them in a utility of helper functions.

Oh wait -- that's what jQuery is!

Page 1 of 2Next →