HNHacker News
TopNewBestAskShowJobs

kevhito

685 karma · joined January 13, 2015

submissionscomments
kevhito··on The 39th Root of 92
You may have a point when it comes to mm vs. inches, etc. But my post was about logarithms vs. cross-sectional area vs diameter vs. circumference. Does your point still hold?
kevhito··on Show HN: Gping.io – Like TinyURL for your car
I think they mean it only uses the "data" (MB) portion of your usage, not the "voice minutes" part. As long as they keep below a few MB per month, the cost for RingPlus will be very low. Example, they give you a trial with 100MB literally free, so perhaps they can make that last a few months or years with typical usage.
kevhito··on Show HN: Gping.io – Like TinyURL for your car
Checking the RingPlus site, the "free" plans seem to be $0/month for service + $X per unit of usage. One of their plans, for example, is $9 for (250 minutes voice + 250MB data + 250 sms + 250 mms). There is also an overage charge, but I don't know what that means. They are also ad supported, apparently, playing an audio ad before each outbound voice call you place.

This seems reasonable for some people. By contrast, for a tracfone, in addition to voice-minutes/data/etc. you also have "service days" that must paid for, even if you don't use the phone at all.

kevhito··on The 39th Root of 92
If you have never wired a house for electrical, then sure, the units seem arbitrary. But if you do, then the units seem very comfortable. 12ga for most typical 20a circuits, 14ga for light, 10ga or thicker for some heavy-duty circuits.

Hey boss, we seem to be all out of 3.31mm^2 romex, all I got left is 2.08mm^2. And why did you mention cross-sectional area? Why not radius? or diameter? Or better yet, circumference? I'll take awg12 and awg14 please.

kevhito··on Calculus at the heart of the STEM gender gap, study suggests
It makes sense to me, based on my own limited personal experience as a college prof (teaching CS). Particularly for our intro classes, it's fairly common for a male student to struggle all semester and scrape by with a D-, then without hesitation declare his intention to be a CS major. At the same time, a female will get a B or A- and walk away apparently thinking "I guess I'm just not good at this and CS just isn't for me."

This is all just my impression, of course, from a small sample size. Still, we've had very good results improving our male/female ratio just by have a short 1-minute chat with each student that gets above a B, praising their work and encouraging them to consider CS as a major.

kevhito··on Tiny Radar Chip Revolutionizing Gesture Recognition: Google ATAP’s Project Soli
Alternative if you present regularly:

1. Enable "extended destkop", rather than "mirror desktop".

2. Select an appropriate wallpaper, or just black.

kevhito··on New Faster Undersea Pipe for Google Cloud Platform
Speed of light within a fiber optic cable is about c/1.5, so closer to a factor of 3. Throw in various continents that need to avoided, I'd guess it would be closer to factor of 2 in practice.
kevhito··on ReStructuredText vs. Markdown for documentation
You mean like vim, emacs, nano, kate, notepad, notepad++, wordpad, or any other plain text editor?

Really - I don't get this impulse at all. From my perspective, the entire point of markdown (and RST I assume, though I haven't used it) is that you can easily read and write it using any plain text editor.

If you are going to need a specialized editor to write it, you might as well use html, docbook, docx, odt, troff, rtf, or any of the zillion other formats.

kevhito··on From Java code to Java heap (2012)
No, it's not a mistake. Each process has it's own virtual address space, but part of that space is typically used to map operating system code and data. The reserved part is anywhere from a quarter to a half on a 4GB 32-bit system (I have no idea on a 64bit). Those pages are marked kernel-only. The upper half to three-quarters will be different for each process.

One reason for this is so that you can easily trap to the kernel (for an interrupt, a system call, an exception, etc.) without changing the page tables at all -- you just change the cpu mode bit.

kevhito··on How to win the coding interview
Ahem:

    // this line left intentionally non-blank.
kevhito··on Standard deviation is ready for retirement: Nassim Taleb (2014)
I don't understand. The usual explanation I hear (and that I think of) when explaining what a STD of x is, fall somewhere along the lines of "most (about 2/3rds) of the data will be within +/- x of the average". Is this wrong?

If not, can you give me an example of the typical description people give for STD that actually describes MAD?

kevhito··on The creation of stainless steel
"Lab protocol stipulated that anyone who figured out how to save time could enjoy his savings as he wanted. Brearley got his day’s work done in a couple of hours, and spent the rest of the day reading and experimenting."

This seems relevant to our increasingly automated/automatable jobs.

kevhito··on How computer programming languages for kids have evolved and where they're going
Yes, perhaps I was being a bit unfair.

However, bad teachers will always be with us, and won't start teaching the magic of computers just because you give them a c64 or basic. They'll just make kids write endless employee pay calculator programs and other drudgery.

I do agree with your general sentiment about the transparency of "intent to entertain". But I really don't see it with scratch. There's a silly cat on the front page, and comic-book logos. But 5 minutes after first being introduced to that, kids are already looking at Griffpatch's latest multi-player cloud-based platformer, or the cool 3d render program, or the interactive fractal, or the simulated ice-cream shop factory, then 5 minutes later they are staring at code trying to figure out how they did it so they can make their own. Really. On the frontpage right now, the top-featured studio (i.e. a collective hacking club) is called "Lindenmayer Systems!" [1], showing their latest L-system fractal fern generator [2]. I really don't see a lot of "forcefully tailored" entertainment here. Just a site filled with projects made by kids and adults on a huge range of topics, from lipstick, fashion and silly greeting cards, to mathematical and engineering.

Incidentally, I'm assuming you know scratch was designed at MIT, and many aspects were deliberately designed to teach advanced concepts. And that it has, in fact, been used in college classrooms (Harvard [2], others I believe). Still, I contend that my kids with no formal CS education have a far better concept of an abstract data type because of scratch sprites, and this has carried over very naturally to other languages (Java objects, smalltalk message passing, etc.).

[1]: https://scratch.mit.edu/studios/1677151/ [2]: https://scratch.mit.edu/projects/1318150/#editor [3]: http://paradox1x.org/2011/11/introducing-programming-in-coll...

kevhito··on How computer programming languages for kids have evolved and where they're going
Have you programmed in scratch for any significant amount of time? I have, so have my kids, and as a CS prof (at a small non-engineering college) I encourage my students to do so too. Before age 10, almost entirely on their own, my kids discovered ideas like abstraction (writing custom blocks), recursion, data representation (e.g. encoding/decoding pairs, structs and lists into arbitrary-precision integers), asynchronous vs. synchronous functions, performance tuning, 3d perspective graphics, and race conditions. At bedtime it's not unusual for them to ask about, say, what happens if you do recursion without a base case, or wonder whether you could simulate the scratch language within scratch itself.

All of these things are fundamental CS concepts, and they seem to grasp these at a much deeper level than I did at that age, and better than most of my college students. Yes, they also do some python, html/css, a little java, a bit of javascript. And those all have their place, and they like making websites. But the scratch infrastructure is fantastic. Good learning curve. Just enough language power to do amazing things (threads, fork, async notifications, custom blocks, cloud variables for multiplayer online). Instant publishing. Great community. Fantastic programmers (hi Griffpatch!) putting out incredibly clever programs to admire.

So all this is to say that it is unfair to dismiss scratch as "a cat walks towards a barn".

kevhito··on The MOnSter 6502
Perhaps they are the circuit equivalent of a trap street [1]?

[1]: https://en.wikipedia.org/wiki/Trap_street

kevhito··on Ruby Bug: SecureRandom should try /dev/urandom first
No, there are not [1].

[1]: http://sockpuppet.org/blog/2014/02/25/safely-generate-random...

kevhito··on /dev/random – a new approach
Well, maybe? If the purpose re-keying is to recover from a transient compromise, then a single bit isn't really sufficient, is it? If the attacker has completely recovered the old seed, they can recover the entire rng stream up to the point where the reseeding happens. The attacker would notice the new output doesn't match, and at that point can't the attacker simply (brute force) try mixing in a 0 or 1 bit to see which one matches the new output of the rng? Even a few bits wouldn't protect against a brute force simulation of the reseeding. It seems like re-seeding a few bits at a time is in fact worse than storing up, say, 128 bits of new entropy then reseeding all 128 bits at the same time. With small incremental reseeding, the attacker can brute force each small reseeding if they can observe the rng outputs.

Or is there something I'm not seeing about how reseeding works?

kevhito··on SpaceX Launch Livestream: CRS-8 Dragon Hosted Webcast
I like the bus for scale on pg 10.
kevhito··on Million Dollar Curve
Sigh. This is incorrect. Pi does not give the "nothing up my sleveve" property, because if I have a desired bit sequence in mind, I can find it in Pi, then retroactively claim that because it comes from Pi it wasn't "up my sleeve". Specifically, the methodology of transforming the its of Pi into the desired key was "up my sleeve".

What the authors propose here is much better. The methodology and protocol for transforming the seed digits is agreed to ("committed") ahead of time, before the digits are known, and only later are the numbers generated.

kevhito··on Updated Firefox Security Indicators
Why would you do that? Did you also try to explain the beauty of diffie hellman key exchange and the details of TCP selective acknowledgement before helping your client get an EV cert?
kevhito··on 2015 “smashed” 2014’s global temperature record
The actual quote was: “A lot of times, you actually look at these numbers, when you break a record, you break it by a few hundredths of a degree,"

So it's not clear if only record-setting years have small variation, or whether year-to-year is also very small variation.

kevhito··on Virtual Memory with 256 Bytes of RAM
Well, I looked at it and bookmarked it for possible use in my upcoming semester when we cover virtual memory. I'll have to go through it in a bit more detail and don't have the time now.

But if you want feedback, my only comment after playing with it for 15 minutes is that I wish the animation could be controlled. Or at least paused. The "run animation" doesn't seem to do anything for me.

Otherwise, I really like the idea and the visualization. I like the 256 byte idea too.

kevhito··on Show HN: I'm a professor who has developed an interactive Powerpoint alternative
I'm not sure what scale you mean. The demo I saw involved 100+ students in a crowded low-income rural Indian classroom with one teacher. The qrcodes were printed on regular paper on an inkjet printer. The image recognition software ran entirely on a cheap desktop with a webcam. The whole thing was designed for that type of environment.

I doubt it will be used much -- teachers who care seemed to be in even shorter supply than the minimal tech needed to run this -- but the guys at MSR that created it had put an surprising amount of work into making the image recognition fast and efficient. They had a smartphone-only version too, but it had some limitations, if I recall, because the processing power just wasn't quite there yet.

kevhito··on Show HN: I'm a professor who has developed an interactive Powerpoint alternative
Sorry about the missing reference. I was thinking of (a) classroom clickers, (b) poll everywhere, which as you point out is limited to polls, and (c) UW CP's student feature, which allows more interactivity but requires students to install the UW CP client on a laptop or tablet.

Big picture, I'm sure you are right that there is a lot of unexplored/unexploited classroom tech that could leverage smartphones and sms for better collaborative and interactive work.

Incidentally, if you are looking for powerpoint export, the best way I found was to basically to export each slide as an image, including every animation step. Pathetic, slow, but mostly reliable.

kevhito··on Show HN: I'm a professor who has developed an interactive Powerpoint alternative
Visiting MSR/Bangalore I was shown a neat demo using very simple QRcode-like paper and image recognition. Basically, each student had a paper they could hold up. On the front was a simple QR-code (facing the prof and camera). On the back on the edges were 4 possible answers, something like A/1/YES, B/2/NO, C/3/MAYBE, D/4/DONT-KNOW. The student would rotate the paper so their chosen answer was on top, then hold it up. A camera in the front of the room would detect in realtime and display the results. They even had an augmented reality smartphone app that would cover/highlight the students and their responses.

Oh, and the QR codes were per student, so answers could be tracked.

kevhito··on Show HN: I'm a professor who has developed an interactive Powerpoint alternative
I have taught for years using UW's Classroom Presenter software, hacked up to be more responsive and usable with a tablet and pen. So I'm fully on board with the concept.

But frankly, the execution seems lacking. The qrcode/sms polling is fine, if you care about that sort of thing, but there are many similar and better solutions [1] out there. You can already mirror and do remote displays easily even with stock powerpoint/ooffice/keynote.

The one feature this and UW CP really bring is the annotation. In UW CP, especially my hacked version, the annotation tools are very good quality. You can use an active pen (e.g. wacomm digitizer on a Lenovo laptop/tablet) for accurate writing and drawing, and it has very low latency response, pressure sensitive line width, etc. In software you can zoom slides, delete/move annotations, change colors and pen types via a tablet-friendly palette. You can save your annotations and import them back into ppt as "ink" objects, and vice versa.

I don't see any of that in the poster's demo. The drawing is clunky, unresponsive, and looks bad. Can you imagine trying to write a note on a slide with that system?

Having worked on the guts of UW CP, I know that one of the hardest things was export/import from powerpoint. It is very hard to get right, especially with build animations. Font size 24 doesn't export correctly in many cases. Margins and objects shift and move slightly. Exporting can be very slow -- many seconds per slide, depending on complexity. Parsing the actual pptx files and replicating the actual look without using powerpoint APIs is essentially impossible.

kevhito··on Statement by Professor Xi on the Dismissal of the Federal Indictment
Exactly. In every science department I have been in, being chair is not seen as a privilege, but as a burden. Attitudes mostly range from "hell no, I'll quit if you try to make me chair" to "okay, I'll do it, but only if you can't find anyone else, and for a single 3-year term, and you better not ask me again for the next 12 years".

In my current department, we were lucky to have someone who liked doing it, so they were given the job repeatedly. When they went on leave and it was time to find a replacement, we had to beg someone to step up to the job.

Faculty who want to be chair eventually shift to administration. The remaining faculty want to do research and/or teach, not be chair.

kevhito··on Fist-sized 11M-to-1 gearbox
Based on this photo [1], I'm guessing they use a system much like a cog railway. There would be a continuous ring of teeth along the tracks and a small motor on the platform with a few inch gear to engage the cog. Or vice versa. The cog ring would probably be made up of several smaller segments.
kevhito··on Disproportionately Common Names by Profession
Gads, the even got the title wrong. Should be "Disproportionately common professions by Name". Or, actually, all we can tell from the little on that page is that the title contradicts the subtitle. So maybe the subtle that should be reversed. Who knows? Data is fun!
← PreviousPage 5 of 5