HNHacker News
TopNewBestAskShowJobs

webjprgm

403 karma · joined January 27, 2011

submissionscomments
webjprgm··on Colorado’s Effort Against Teenage Pregnancies Is a Startling Success
I don't think 2-3 partners is really low. I find it hard to imagine most people being successful at seducing a very large number of people. Probably in most cases it is <= the number of boyfriends the girl has had.

I could also point out that my church would consider 2-3 partners something akin to "running wild". One partner, one time could be a lapse in judgement. Multiple partners or one partner multiple times indicates a pattern.

webjprgm··on Colorado’s Effort Against Teenage Pregnancies Is a Startling Success
It isn't just lack of money. Teenagers are not as emotionally mature, they have not finished figuring out what to accomplish with their lives (career or otherwise), and often they end up being single parents. There is tons of family research on why it is better to have two parents in a family.

Government giving people what they want? Please. Teenagers can't even vote, so they aren't voting themselves contraceptives. This is adults imposing yet another view on their children. It just so happens that this is a differing view than the traditional religious view of teaching abstinence. (Or of teaching that teenagers who get pregnant should then immediately get married and the dad get a job.)

webjprgm··on Colorado’s Effort Against Teenage Pregnancies Is a Startling Success
And I disagree with that statement too. So do various researchers on families and marriage. (I'm horrible at remembering sources, I'd have to hunt them down if you really want them.) And I'm sure there's differing conclusions among researchers since there always are. But my point is that there are legitimate oppositions to the idea that consensual sex is OK, both religion/moral and scientific.
webjprgm··on Colorado’s Effort Against Teenage Pregnancies Is a Startling Success
But the government or a school giving birth control is someone teaching the children something parents don't want taught. So you are trampling on the rights of the parents in that case. If the child were to independently decide having sex was fine then it would be about the child's freedom to choose.
webjprgm··on Symbolic Execution Over Native X86 [pdf]
If I understand correctly, modeling a program at the x86 instruction set level is cool but it would have a more complicated list of states than a high level language. More states means more computation to do the symbolic execution, therefore it is harder to optimize well enough to get useful results on large programs.

The intro implies that the main motivation for doing this on x86 instructions is uncertainty that a high-level language's abstraction is faithfully translated into x86 instructions. I recognize that this language->assembly conversion was accepted to be correct as a basic assumption when I did graduate work in validation techniques. I think there are some PL theorists that have more rigorous mathematical proofs for their compilers, but I'm not sure how many of those get all the way down to the x86 instruction set.

webjprgm··on Boffins reveal password-killer 0days for iOS and OS X
Downloading and running it once would set up the exploit but not complete it, IIRC. You need to go back to the target app and re-enter credentials then run the exploit app a second time. So a broken app that a user would run once and then delete is no good.

A standard Trojan game/utility would work fine even if only a small number of people run it.

webjprgm··on Amazon launches same day delivery for Prime customers
I'm no accountant, but I imagine they can classify various Prime customers into buckets based on what services they use and see that the average usage of any one bucket of customers matches up with the cost of Amazon Prime. If a customer were to use ALL the features then Amazon loses, but if that became the new average then they'd raise the price.

The cleverness of this idea is that each Amazon Prime customer perceives the overall value of the service as higher for the potential to use those extra features, even if s/he doesn't use them much if at all.

webjprgm··on AdBlock Plus wins in court
Do you also consider TIVO to be stealing?
webjprgm··on PayPal penalised for 'deceptive' practices
But that's a hassle.

First you have to figure out how to use the webpage / app to get the virtual credit card number. Once you know, you still have to log into a separate service and click a few buttons. With PayPal or Amazon Payments you just click your password manager's button to log you in right in the checkout process on the same webpage.

webjprgm··on Build Apps for Cars on the New Automatic Developer Platform
In my case I have one car and one account but my wife is usually driving in the morning and drops me off. So those trips get chopped in half and messes up the data. I basically use it only as a novelty at this point.

I could set it up on her phone but then we have the two phones problem. Obviously she isn't the driver all the time so I can't just delete it from my phone either.

Ideal would be to connect two phones to one account and if one phone disconnects then resume the trip on the other phone. If the data is in their cloud anyway this should be possible.

webjprgm··on California man sues Uber claiming it stole ride-sharing idea
It also points out that execution is more important than the idea. Halpern could have also built an Uber-like service, since it sounds like he had a prototype of one already, and beat them fairly in the market. But since he failed now he is whining about it.
webjprgm··on The Plot Against Trains
Government is just as unstable. Doesn't the OP say that trains were better funded in the past than now, and other posters have said the same about Federal interstates? The political climate changes so funding for projects change.
webjprgm··on The Earl Grey programming language
I suppose. Kinda like => for "maps to" in some math / theory classes.
webjprgm··on Microsoft Surface Hub
Similar for scratch paper. Whiteboard is just a collaborative version, but in both cases you are working out incomplete ideas to arrive at a sketch of a plan. It is only necessary to capture the final plan.

<rant> On that note, here's a rant about iPad used for scratch paper:

I sometimes try to use an iPad for scratch paper but it doesn't really work out the way I want. Requirements: - Scratch paper doesn't need to persist very long, just while I'm still in the middle of working it out. - The final result needs to last until I'm done taking the actions it describes. - It needs to be easy to find the scratch papers for projects I'm currently working on. They need to still be editable in that case too.

What I get instead is: - "Notes" organization with multiple pages in a notebook and folders, but the interface to organize and navigate between these isn't very good. I often don't bother to organize because of that. It also makes it hard to remember which notebook has the thing I want. - Pencil and paper is still better than finger or passive stylus due to palm detection, line width, accuracy, and the need to zoom and scroll due to those problems. An active stylus can help but I don't currently own one. - Too many choices of software, so I stick with the one I have now instead of buying them all to try them all. None of them sound like what I want from their descriptions. - On active styluses, same problem. Too expensive to buy them all and try them. Reviews focus on the wrong things. It is either talking about writing words for a note, in which case the reviews usually say it doesn't matter what features the stylus has, or it is about art. I want to draw simple sketches of flowcharts, UI, etc. which is kinda like drawing art but not so picky about certain features. - Partly due to organization issues, I tend to not delete old scratch notes from the iPad. Even something email-like with an "Archive" button or moving to a "Read Mail" folder would help. - Most of the software that I've tried does not easily sync with a PC/Mac. It might have an export to PDF / PNG option but that is a one-way export. - I do not want a subscription cloud service for my scratch paper notes. I don't want a subscription cloud service at all, thank you very much.

</rant>

webjprgm··on The Earl Grey programming language
I'm not a fan of using -> like CoffeeScript does. It doesn't seem to mean function-body / algorithm-to-do-the-thing to me. That operator makes sense for pointers or for function return value type expressions.
webjprgm··on The Earl Grey programming language
This is also what I thought. I was disappointed to see no TNG references on the page.
webjprgm··on The Earl Grey programming language
Does a VM of a PC count as a JIT compiler? Can we compile VirtualBox to JS using one of those C->JS compilers? I'm sure we can come up with some stack of turtles here ...
webjprgm··on The Earl Grey programming language
I like seeing the trends of what features show up frequently in new languages. These features manage to work their way into more popular languages, either as changes to existing ones like Java or C++11 or new languages like Swift and Go.
webjprgm··on The Earl Grey programming language
With what crystal ball? If you pick based on history, since you kinda have to, then you pick a more mature (older) language. If you're not careful with that you pick languages just before they go obsolete.

(Like a company I know which picked VB 6 and still hasn't fully migrated away from it. The same company picked Microsoft's AJAX demo as a basis for a JS framework and is still developing that even though MS long since abandoned it. Would it be better to use jQuery, Angular, Ember, React, Riot, etc? Well, those are too new and untested. Very conservative leadership.)

Anyway CoffeeScript and JavaScript work well together and you might want your code to be in CoffeeScript but you have to use a library, say Ember (also a real project at a different company) which means certain improvements, bug fixes, etc. to Ember are done in JS. There's two. I'm sure you could easily end up with multiple libraries written in multiple compile-to-JS languages.

Long-term code maintainability is a bit of a hard problem. You probably need to be constantly refactoring, rewriting, and re-inventing so you don't have too much old code in play anyway. Maybe. What do I know?

webjprgm··on A 1-1 network pipe that auto discovers other peers using mDNS
I used some OS X APIs like this to have test machines and a test controller machine find each other. That was a while ago so I don't remember the details, but maybe it was built on the same APIs.
webjprgm··on [dead]
Both LibreOffice and OpenOffice tend to crash on me. I stopped using them, but my wife still does and they still occasionally crash/hang on her. So in terms of stability I cannot recommend them.

They also just look uglier. I have not looked at this new LO version yet.

webjprgm··on JUniversal: A new, Java-based approach to cross-platform mobile apps
IIRC, React Native still runs a JavaScript thread to execute the logic. JUniversal and similar code translators will convert to Obj-C (iOS) or C# (Windows Phone) to run at native speed / memory / CPU consumption.
webjprgm··on Show HN: Iota – a text editor written in Rust
Back when I was learning to program with Java 1.0 (using the AWT, no Swing) I made a text editor that supported syntax highlighting. My first big mistake was to open my text editor's source code with my fledgling text editor and attempt to make a minor tweak, only to discover that saving had a bug and wiped out my entire program.

No I did not have any source control at the time. I just started over.

webjprgm··on Julian Assange on Living in a Surveillance Society
Was Orwell's point one of ethics? Or just powerful government versus weak, with the idea that a powerful government will be tyranical rather than benevolent.

Is it not a common theme that a more powerful government offers greater stability with fewer freedoms while a weak government offers more freedom but also more chaos?

webjprgm··on Julian Assange on Living in a Surveillance Society
Google/Facebook don't have to sell your info to advertisers because the are advertisers. Either way it is used for commercial advantage.
webjprgm··on Julian Assange on Living in a Surveillance Society
Are we saying the power to cause harm is what makes surveillance bad?

Google has the authority to blacklist webpages so that they drop off Google search results and destroy the income of those websites.

webjprgm··on I taught my black kids their elite upbringing would protect them
I think the point is that if the speaker is not one who may have experienced the discrimination then the speaker is not able to say that it does not exist.

Do you agree or disagree with this idea?

(Pithy comments may be fun, but a flame war is not productive.)

webjprgm··on I taught my black kids their elite upbringing would protect them
Very interesting. As a white male, the closest experience I have is living for a couple years in Venezuela and Chile. Chile not so much, but in Venezuela I was frequently harassed with anti-American phrases. But I wasn't a child so it didn't affect me the same, I knew that back in my own country I would be respected and fit in perfectly and that I would head back soon enough, and I was never accused of a crime (other than being accused of being in the CIA by passers-by).

Is this experience even close?

I might point out that I also felt discriminated against when trying to get scholarships, since such a huge percent of the help goes to non-whites or those in lower income classes. As a middle class white boy wanting to go into Computer Science I got almost nothing. In theory this counter-discrimination is supposed to make up for the racial discrimination to try to level out the economic privileges. I'd really like to get rid of both.

I note that since I wish discrimination did not exist I tend to pretend that it does not. Perhaps this is part of the problem. But I have never called anyone a racial slur and I try to counter any racial biases I find in my own thinking. So I don't feel like I'm part of the problem.

webjprgm··on A Clone of Chips Challenge in Haskell
I might also point out that OO and FP are not strictly at odds. You can use object libraries in FP languages to encapsulate the state and logic but avoid the mutation of the state.

So if the two issues are orthogonal then you're both right. :-)

webjprgm··on Homebrew CPU (2004)
Awesome! (I've long had a secret wish to get stranded on a deserted alien planet and have to build my own computer.)
← PreviousPage 3 of 11Next →