Better HN
topnewbestaskshowjobs
Log inSign up

bytecodes

42 karma · joined Aug 16, 2016 (10y ago) · 15 submissions

Submissions

comment 2y ago · link · parent

1. Pretty neat to switch encoding in the middle of the URL. It does look like it works and it does look like a better encoding. This is cool.

2. I'd have called this base-1000. It's using 3-digit numbers encoded into 10 bits. Base64 doesn't encode into 64 bits, it uses 64 characters encoded into 6 bits. And this encoding uses 000 to 999, encoded into 10 bits. But that messes up the title when you compare apples to apples, 1000 > 64 is just obvious and true.

comment 7y ago · link · parent

Check out Shor's algorithm for finding factors of a number.

And yes, a low number of qubits can factor small numbers. https://arxiv.org/abs/1411.6758

comment 8y ago · link · parent

I use it, and it's really clear you're sharing your location, speed, and heartrate data with Strava and other users. There is a Facebook-like newsfeed that shows where your friends have been working out. You can see who else runs your routes and how fast they are. Sharing this data is really the purpose of the app.

If you purposely disengaged from this social part of the app and were trying to use it as a simple stopwatch and mileage logger then uploading data may seem weird. But that's not the clearly intended purpose of the app.

comment 8y ago · link · parent

The parent post actually mentions this happening on the 5S, a phone which did not get a software update choosing stability over performance. The 6 can slow down and run with a 20% battery while the 5S runs fast and must shut down due to the voltage drop.

comment 8y ago · link · parent

Well, there is a button that turns the phone off. The angry users could use that and experience the same thing.

comment 9y ago · link · parent

Clutch, mentioned in the article as the company behind the subscription, is interesting in their own right. http://www.clutchatlanta.com/ It's a car subscription where you can trade your car out for another type. Insurance is included, so it's a flexible alternative to buying.

A bit pricy, though. So really only an alternative to buying new.

comment 9y ago · link · parent

If you haven't seen the 2006 Gainesville, FL DVD, I think you should. Obviously can't pull a limo into an arena, but I experienced a similar moment and couldn't figure out how right before an introduction they snuck a microphone with scarfs onto the stage without me seeing it.

comment 9y ago · link · parent

Kafka does this as part of its design. A topic has a declared number of partitions (which can't really be changed on the fly, you choose a theoretical high number and hope it's enough), and an agreed upon hash algorithm chooses between those partitions (probably in Java, so hashCode is readily available for primitives as well as objects). Each partition is really like its own topic, so you lose in-order messaging for anything not included in your partition key.

comment 9y ago · link · parent

I think it's all of those.

comment 9y ago · link · parent

I used a System76 Gazelle for work and getting a master's degree in CS. Wonderful machine for those purposes. Ubuntu on a laptop, with actual supported drivers, made working in python, java, and scala quick and easy (apt is still better than brew) and it was portable. I've been tempted to buy another since Apple seems stuck at 16GB. However, the webcam did stop working after 1 year.

comment 9y ago · link · parent

If you've found the next Uber, that's exactly when it matters.

comment 9y ago · link · parent

GA Tech's CS program did not require the GRE, partly for the reason you state. There is still the usual admissions process with old GPAs and reference letters. Instead of GRE scores and very tough standards, students are conditionally accepted until passing 2 foundational courses within the first year. Hopefully the new program does the same, but it doesn't look like they've officially stated that yet.

comment 9y ago · link · parent

It's another department jumping into the online delivery space. Looks like they're reusing a lot of the same policies that worked for the CS program. They are partnering with edX as Udacity's focus as a company has gone from university partnerships to their nanodegree model.

comment 10y ago · link · parent

Which gives you what? Unless you release the raw file it could be a hash of anything.