Better HN
topnewbestaskshowjobs
Log inSign up

jmlane

8 karma · joined Apr 21, 2011 (15y ago) · 11 submissions

Software developer, philosopher, gamer, nerd.

[ my public key: https://keybase.io/jmlane; my proof: https://keybase.io/jmlane/sigs/zw9wTKUAagKN1I1Tt3wkZJGyFhnZbslF4Ba245h2oq0 ]

Submissions

comment 11y ago · link · parent

This looks really promising but I have some concerns about Surge being able to support the current unlimited free usage for any amount of time.

comment 14y ago · link · parent

I'd really enjoy reading about how to setup a PyPI mirror like the one you use in your development/deployment workflow. It seems like a really good idea, considering I've had problems with PyPI at really inconvenient times in the past.

3.

EFF's activism team is doing an AMA on Reddit(reddit.com ↗)

3 points · by jmlane · 14y ago · discuss

comment 14y ago · link · parent

Out of curiosity, in a situation where you are doing negligible condition testing, is try–except still considered "more performant" than if–else flow control? For some reason (and I'm going to do so reading to get clarity on this point), I have had the silly notion that throwing and handling exceptions can be costly.

comment 15y ago · link · parent

I agree with your short list of goals for students new to programming. Language should not matter for learning the basics of programming and Computer Science concepts. That being said, certain languages do make exploratory programming much easier than others:

The biggest issue I've faced with my courses where Java is used to teach the material is having to deal with Java IDEs and boilerplate code required to test tiny bits of code and the resulting behaviour. Interpreted languages or those with REPLs tend to not have this problem from what I've observed.

Note: I know about BeanShell, but I've had poor results with it. Maybe my environment is at fault, but it seems to miss functionality as basic as command history, which makes editing commands very tedious.

comment 15y ago · link · parent

Indeed.

As someone taking a data structures course in post-secondary school where the facilitation language is Java, I've struggled more with the Java development environment than I have with actually understanding the data structures and the implementations. Even the Java specific implementations are simple once you can get your package and classes playing nice and compiled to bytecode.

This is not a slam on Java, just an observation from personal experience that some interpreted languages like Ruby and Python tend to make it easier to do casual programming exercises or tasks than those needing any compiling prior to execution, such as C, C++, and Java.

comment 15y ago · link · parent

Why is having a Falun Gong affiliated site on HN frontpage a bad thing? I don't condone jjp9999's behaviour, just curious what Falun Gong has to do with anything?

comment 15y ago · link · parent

I may eventually investigate a way to get it printed and bound in a classy hardcover with a dust jacket, similar to the photo of the book from _Why's guide site. This is one of few programming/tech books that I feel deserve such treatment.

comment 15y ago · link · parent

Exactly. The existence of most computer viruses are proof enough of this statement.

comment 15y ago · link · parent

Not really a great analogy: unless you are employees or shareholders, it's not really your "house". If you are a dedicated customer, you may be more invested in the welfare of the company than most customers, who mostly just care about their personal interests (products or services they've paid for and any personal information that company keeps on record).

I tried to cook-up a comic store analogy where the loyal customer is most concerned about their orders and personal contact info being stolen than the merchandise of their favourite shop, but that analogy ignored the fact that what LulzSec did to Bethesda is essentially the following: making copies of the shop's inventory manifest, latest promotional program, and names of customers in a Rolodex, and then publishing all that info online (or in a local comic hobbist newsletter). Other than the loss of potential business and the trust of their customers, are the owners and employees likely to suffer as a result of this break-in? I tend to think that lost business will be minor, especially if customer privacy and interests are not noticeably compromised by the break-in.

Not trying to start a morality debate (unless that's welcome here?). I just wanted to point out why I tend to see "black hat security audits" as generally to the victims' benefit, when individuals aren't likely to suffer as a direct result. In the reality of my above analogy, the comic shop is likely going to invest in better security after this kind of break in, which is a positive outcome for the business and the customers. Only the very paranoid or "security minded" customers will choose to take their business elsewhere after the break-in, which likely amounts to very little lost business to the shop.

comment 15y ago · link · parent

Did they leak any private end-user information? As much as I can tolerate mischievous crackers violating corporate security and releasing intellectual property, I am loathe to give any praise to groups that victimize consumers/users by violating their right to privacy. It seems thoughtless and uncaring.