Better HN
topnewbestaskshowjobs
Log inSign up

DeepDuh

881 karma · joined May 7, 2012 (14y ago) · 572 submissions

Submissions

comment 7mo ago · link · parent

In fact auto-complete in VS code with copilot works surprisingly well. Let’s say there are patterns in how classes in a framework are constructed, and I already added changes to the schema, it will often emit the correct implementation code when going there. That is really speeding me up even if I know the code base very well.

comment 11y ago · link · parent

As good as it is? I find it pretty terrible, at least for me it singlehandedly makes me not want to use Android.

comment 11y ago · link · parent

A few years ago I looked up what's available to make a kid interested in programming when I found this. I ended up spending quite a few days doing my own little project... that I'm almost not ashamed to link here ;-).

http://scratch.mit.edu/projects/941811/

comment 13y ago · link · parent

Not that I don't agree that Switzerland loosing its finance industry would be a big blow for the country, but let's get some perspective: Banking is less than half the size of Switzerland's manufacturing industry in terms of income - in terms of workforce it's more like a third to a quarter. In international comparison, Switzerland's service industry isn't excessively large. I'd argue the country's economy would somehow survive it.

Source: http://en.wikipedia.org/wiki/Economy_of_Switzerland#Internat...

comment 13y ago · link · parent

Ok sorry, I was wrong about Sweden - I thought the nation defaulted in the 90ies, but it was in fact 'only' a big chunk of their financial industry[1]. It seems that they came very close though, and the way they resolved it doesn't appear to be by tight economic grip either - the state poured 4% of their GDP into the system. However - and that's an important point that apparently went forgotten in the last US crisis - they also took the chance to regulate the financial industry more tightly, in order to avoid repeating the same mistakes.

[1]http://www.nytimes.com/2008/09/28/opinion/28iht-edbildt.1.16...

comment 13y ago · link · parent

Why is insolvency not an option for a country? It was in Sweden, which is doing fine now, and in Argentina more recently. Oh look, there's a whole lot more of them[1]. It only isn't an option for a member state of the EU. I sure don't see how Germany's strategy of starving those already struggling economies to death is going to work out.

[1] http://en.wikipedia.org/wiki/Sovereign_default#List_of_sover...

comment 13y ago · link · parent

Well yes, grown-over-time permission systems are also at fault when it comes to the lack of security in third party extensions/apps. IMO unix is still the standard in terms of simplicity and power of permissions - if the system architect separates concerns correctly into different base entities ('files'), the permission system just falls into place. You know what other system did this pretty much perfectly? Lotus Notes. Yes, I'm serious - it's a document based DBMS with per-document permissions where everything is a document, including the application design, contacts, logs, calendar entries. Too bad its UI is still stuck in the early 90ies.

comment 13y ago · link · parent

I'd really like to see a usability study between Vim experts (10y+ usage) and Sublime Text 2 (1y+ usage) experts on a keyboard+good touchpad combo. We could even do it in theory by counting number of actions and assume the APM in vim to be 10% higher (which is quite optimistic).

comment 13y ago · link · parent

> Yes, I understand that it's a pain for new Chrome developers to have to understand the permission system among other things. I liked the easy ACLs of Chrome when I started.

That's a good thing IMO. Anyone who doesn't understand permissions and how to handle them, shouldn't be able to release anything in any app store.

comment 13y ago · link · parent

Thanks for the great info, very helpful!

comment 13y ago · link · parent

I'm very interested in this, in fact I'm planning on rolling an iOS based couchDB solution for a company sometime this summer. Could you comment on some key differences between pouchDB and touchDB? Did you also try to simply run ARM compiled couchDB on iOS? If yes, how was the performance there? I've read that initializing takes about 10 seconds - I'd be willing to swallow that if the subsequent interactions are smooth.

How about the initial replication of larger databases? Do you roll out an initial version directly in your app or do you have some file based download of a snapshot?

comment 13y ago · link · parent

It feels strange to me that so far only one commenter here (ok, he's at the top now) has identified where the main mistake seems to be:

A SYNCHED COPY IS NOT A BACKUP.

This includes:

- git

- svn

- Dropbox

- RAID (of any kind)

If you don't believe this, please reconcile everything you've learned about backups. More specifically, if you treat any VCS or dropbox as your only backup system, STOP RIGHT NOW and at least get something that's intended to be a backup, such as SpiderOak in backup mode.

comment 13y ago · link · parent

Honestly, as a European, that sums up pretty much the preconceptions we have about Americans: throat jumpy. If it accurately reflects American culture is another story, but I gotta say American media is not really helping the case - as isn't Mr. Musk here.

That being said, I - and most of my acquaintances - still love American culture - the kind of 'just do it'(TM) attitude, shown as well by Elon here - the stunts he's pulling with three high risk industrial companies at the same time is pretty much unthinkable in 'the old world'. And I'm not sure, but maybe his aggressive stance, the ability to sort of indoctrinate himself with his vision, might actually be needed to push through these grand projects. It's not unlike what we've known from Steve Jobs, really. Most people would agree that he was quite an ass - but by god he was an influential one.

comment 13y ago · link · parent

I've just watched that clip for the first time: http://www.topgear.com/uk/videos/electric-shocker?VideoBrows...

Defamation? Really? I think Clarkson was actually pretty fair, considering his usual style. What they showed at least seems believable to me.

comment 13y ago · link · parent

Did you also update your XP to the latest service packs and patches? My updated XP in a VM currently runs at 780MB after one morning of very light usage. It has only one application open at 100MB.

Also, yes, virtualization wasn't always needed, but without it anything slightly CPU intensive will be awfully slow. I can see it working for CLI-only linux/bsd systems, but not much else. Do you ever compile something bigger on your guest systems as an example?

comment 13y ago · link · parent

If it keeps its promises this will be huge. To be honest it's almost too good to be true (and to have such an open license). Looking forward very much to using this in future projects.

comment 13y ago · link · parent

While I share your sentiment I'm honestly kind of impressed that you run 5-6 linux VMs on a Pentium 4/AMD64 generation system. Really? Those things didn't virtualization support on the CPU yet, did they? Also, Ram probably maxes out at around 4GB which is quite low for an updated winXP with so many instances. Does that really run smoothly? I recommend you get an i5, 16GB, 500GB SSD and then come back and tell me the upgrade wasn't worth it ;-).

comment 13y ago · link · parent

I seriously wonder what programmer / manager looks at this and thinks 'Yeah that's awesome, let's keep this!'.

comment 13y ago · link · parent

I think you would like everything from Bonobo. Warning: addictive - I often keep his new albums on repeat for many weeks.

comment 13y ago · link · parent

I had the same issue, they fixed it without 2 days without discussion though. A motherboard replacement was required there, billed out for about $800 (of course for me it was free).

After all I'm still glad having a macbook. Friend of mine bought a $2.5k lenovo that bricked itself after a month, after having serious thermal management problems (the GPU would suddenly clock down). It took them more than six weeks to get him a replacement.

comment 13y ago · link · parent

By inactive I meant that it's not swallowing anything currently, but I guess if it has attracted a gas cloud this is simply not true. Must be quite a sight. Imagine there's a civilization on one of the central stars (if that's even possible considering the bursts of radiation they must get there) - I wonder what the night sky would look like.

comment 13y ago · link · parent

> Hacker News' name policy..

Did I miss something? I can't find any username policy in HN's guidelines.

comment 13y ago · link · parent

I've never seen that image of our galaxy's central region, it's fascinating! Is "Sgr A" the black hole, Sagittarius A*? If yes, why would it be bright? I thought it's inactive.

comment 13y ago · link · parent

here's one more usecase which is probably very common: When you use python as glue to call other programs which can run asynchronously. As an example I've used python once to implement a parallelized genetic algorithm where the evaluation function was a matlab program. It was quite a breeze to spawn hundreds of such threads over ssh using one PC as the controller - if only I hadn't shocked the local sysadmins ;-).

comment 13y ago · link · parent

Imagine it's your job to fiddle around remotely with fuel pump electronics (or whatever may create that water hammer) within a time window of maybe 20 minutes or else you've just sunk a 100M investment somewhere in the ocean. Must be lots of fun o.O

comment 13y ago · link · parent

Interesting. Did they release informations on how they solved that? Also, don't they have some built in redundancy for the thrusters?

comment 13y ago · link · parent

I didn't follow everything in detail this time. What was with that problem they were talking about?

comment 13y ago · link · parent

What I gather from the article it's not the stored energy that's of some concern, but the 250 bar nominal pressure in the tanks - a rupture might lead to metal splinters flying around. However, they claim that the car's underfloor is enough shielding. I'd say let some independent safety tests figure that one out.

So far I think this is a very promising concept - I was always weary about electrical hybrids because of the use of rare earth metals and the environmental impact in some regions because of that. Putting some nitrogen tanks and mechanical/electronic bits in a car to achieve the same effect for city driving seems like a big winner - mass produced I'd think you could make those cars only minimally more expensive than normal gas powered ones. Electrical Hybrid car prices, meanwhile, don't seem to scale down much.

comment 13y ago · link · parent

Yes, the comment quality on HN seems to be quite bad when it comes to Heroku threads. Why do so many CS professionals appear to be attaching themselves emotionally to software tools? That's pretty much what I have to conclude if you can't admit that this PaaS provider has screwed up and deserves more scrutiny when deciding for the platform of your next project/migration.

Isn't one of the great things about the Software startup scene that we can decide freely on what tools to use? Except for very niche markets we always have alternatives, even if it means a bit more work on our sides.

comment 13y ago · link · parent

I'd say E-Mail signatures. Officials should get a big fat warning sign for E-Mails that contain either no signature or a signature issued by an untrusted party. The private keys to sign mails would also have to be encrypted in a way that infected systems could still not send signed E-Mails. I'm thinking a hardened USB stick with some kind of biometric scanner as the only place to store the key. You'd send a blob of data to that appliance, it waits for your authentication and then it sends the signed version back to the E-Mail client.
12345
20