Better HN
topnewbestaskshowjobs
Log inSign up

code_duck

8,901 karma · joined Sep 5, 2009 (17y ago) · 4,581 submissions

Cipher Flamingo?

Instruction Set Egret

Opcode Pelican

Function Sparrow

Heron of Homoiconicity

Script Pigeon

Topcolor gallery:

  #729883
  #cc1010
  #70907d
  #668b33
  #399044
  #256f56
  #42bec6
  #Be8489
  #92c4a0
  #117f7f
Submissions

comment 15y ago · link · parent

The quote "We built our key duplication software system to show people that their keys are not inherently secret" is interesting. Do the public and the authorities have a different attitude when you do this with physical security vs. electronic? Sometimes people have been threatened or even arrested for demonstrating vulnerabilities, as we know.

comment 15y ago · link · parent

The way I've stored things in flat files is to make use of the file system's lookup capabilities. I wouldn't suggest storing data that may be requested or written to by more than one client at once with a method such as this, either. I wouldn't try to use it like a C array or anything. One file per user or more makes sense. I've also used stuff like this for system admin scripts.

Something like

   user_id=int(request.GET['id'])
   data_type=int(request.GET['id'])
   json_file="{0}-{1}-chart_data.json".format(user_id,data_type)
   #get the file, decode, etc.
It's a quick and dirty caching method that has good persistence, of course, is relatively performant under low loads and easy to understand.

Thanks, I'll check out the MySQL thing, but I'm not actually intending to build my own database.

comment 15y ago · link · parent

If you can use SQLlite, you probably didn't need a real database. So the use cases overlap a bit with flat-files and JSON.

comment 15y ago · link · parent

Etsy.com unveiled a new gallery list system, the Treasury last year and published a couple of articles about their use of Mongo. Apparently they had some problems and rewrote the backend recently... haven't heard what yet. Hopefully they'll publish their experiences in their dev blog after the dust settles.

comment 15y ago · link · parent

Despite a desire to use Postgres, we use MySQL in production. MySQL is what I knew and thus still what I know. Given that most future work involves an ORM, probably moving to postgres as soon as I learn more about configuring the server.

Currently using memcached (not memcachedb) for caching, thinking of trying out Redis.

comment 15y ago · link · parent

I'd like to use CoffeeScript. Since it's just dabbling, I haven't actually managed to install it. I got caught up on the whole 'watch out NPM is capable of hacking you be wary!' part of the node/coffee install process.

Positive about it, though. I'll be using it in the future but not quite the 'next opportunity'.

comment 15y ago · link · parent

As you've been developing in CoffeeScript up until that point, explicit compilation doesn't really change code and isn't likely to introduce new bugs.

comment 15y ago · link · parent

I've found Scala to be more intimidating to approach than the average non-functional language because the people who tend to use and write about it are of a relatively high level of expertise.

I'm rather sold on it, though. I've been warily learning it in dribs and drabs for about a year, and one of these days will actually write something that accomplishes a task.

comment 15y ago · link · parent

Great, what I'm saying is they should steer their customers towards the solution and not bother refuting inanity.

comment 15y ago · link · parent

I don't use JavaScript for anything for which I could have chosen PHP. Given that PHP runs in exactly 0 browsers, what do you mean? Few people are choosing server-side JavaScript over PHP, though it may happen occasionally.

comment 15y ago · link · parent

My evaluation is that their priority is preservation of evidence, and they consider a few random websites being down for a couple of days to be relatively unimportant.

comment 15y ago · link · parent

The customers don't care about the particular method, they just know what they want to accomplish and try to suggest how they think it may work. It's beside the point and somewhat obtuse to go into detail explaining why a particular way doesn't work.

A much better way to respond to this request would be 'Yes! Here's a one time/time limited password generator that will do what you want'.

comment 15y ago · link · parent

It seems to be some sort of utter nonsense imagined by someone who has no idea how any of this works. Well written article, but I don't see why it's worth taking the time to address this.

comment 15y ago · link · parent

My suggestion for that would be to change it, either before or after.

This entire idea of 'sharing a masked password' is completely ridiculous.

comment 15y ago · link · parent

I've never heard of this, either. It sounds like something that some notion dreamed up by someone who doesn't know anything about how computers or software. I'm not sure why the article needs to go to such length to prove this bizarre idea insecure; offering a method to do what they want that makes sense is probably the best approach.

comment 15y ago · link · parent

I see this site as an illustration of a lean web startup style applied successfully. I don't get the feeling that pg et al. are planning to spiff it up with a fancy UI any time soon. I agree there are some usability issues that could be improved.

comment 15y ago · link · parent

I was trying to determine: what portion of that, if any, is refundable should an application be turned down?

comment 15y ago · link · parent

.mail would be excellent, really. All we need is $185,000, a stomach for paperwork and an established company looking to expand into the registry business.

comment 15y ago · link · parent

What I've gathered is that they require licensees to run a registry for the given TLD. If you are not operating a registry or are administering it poorly, they may revoke your license.

comment 15y ago · link · parent

Typically, LTS releases are used on a server, and 8.04 was the LTS release until last year's 10.04. When I went to install Django last year on a server that was still 8.04, the current version was 0.96. Definitely easier to just install from a tar.gz straight from the developers.

comment 15y ago · link · parent

Though they don't have their own console, they're a rather large software publisher and developer at this point. Sega has a more than a few of their own popular game franchises, and also still does the arcade hardware/game business.

comment 15y ago · link · parent

Sega was responsible enough to not store passwords in plaintext. The email I received stated:

    We have identified that a subset of SEGA Pass members emails addresses, 
    dates of birth and encrypted passwords were obtained. To stress, 
    none of the passwords obtained were stored in plain text.
Of course, they could still have been hashed inadequately, such as with plain md5.

comment 15y ago · link · parent

Yes, my thoughts as well at that point. Last time I checked, Ubuntu was offering Django 0.96 - installing through the package manager is bad advice when it comes to installing Django.

Installing from tar.gz isn't at all complex or difficult, either. The article would have been much more helpful if the author knew more about Python and Django.

comment 15y ago · link · parent

Strange, I just happened upon this for the first time 3 days ago seemingly at random.

comment 15y ago · link · parent

I interpreted the last sentence as yet another meme mention, meant to indicate that the author was part of the same subculture as lulzsec - the 4chan/Anonymous culture. I don't think it was intended to mean the message isn't being offered sincerely.

comment 15y ago · link · parent

>What will these things run? Twitter apps, tip calculators, weather widgets, and Angry Birds Rio [...]

Why focus on apps? What they will run is a web browser. Being able to connect to the HTML/Web platform is more important than the OS.

Of course a single hardware device does not solve all of the issues in education. While a browser is not educational software in itself, any internet connected device with a browser has great potential to do the things you list. If nothing else, they can connect to Wikipedia in 100 languages.

comment 15y ago · link · parent

I thought it might be presumptuous to assume that South America wanted anything to do with us... if I, personally, was South America I wouldn't, at this point.

comment 15y ago · link · parent

I'm certainly happy with how pricing has gone there: start out half the price of slicehost, then add RAM and disk space every 6 months!

It's a competitive industry, though. I could see how price of a given allocation of computer resources tends to go down, like we're used to seeing with hardware.

comment 15y ago · link · parent

Oh, I see. Guiding you to lish and through fixing iptables sounds like great service.

comment 15y ago · link · parent

> USA, UK, Europe and the Western world will just be a distant memory when China and India start becoming major players.

As individual entities, perhaps. As a bloc? NATO member countries total population is about 800 million, if I'm not mistaken. The Western world is hardly going to disappear.

1
106107108
153