Better HN
topnewbestaskshowjobs
Log inSign up

zeroDivisible

153 karma · joined Nov 2, 2011 (15y ago) · 75 submissions

Submissions

comment 13y ago · link · parent

I think it all depends how you define winning here. Based on popularity alone - yeah, MySQL is still the king. Based on capabilities - I think it's fair to say that pgSQL is more capable and it's just that not everybody needs that one.

And even though I love PostgreSQL (and was working with all major databases), I still think that the real winner is sqlite :)

comment 13y ago · link · parent

I think it should ask the user, explicitly giving him information about what's wrong with both approaches.

comment 13y ago · link · parent

Putting all the TouchID sucks / TouchID is great questions aside, can somebody help me understand how Apple (supposedly) is calculating a hash of a fingerprint and storing that hash in the phone, not the real fingerprint?

As I understand correctly, the purpose of a hashing function is to create totally different output even on a very minor change in the input data, which wouldn't work that great with fingerprints... or are they just using a clever hashing function which tries to somehow normalise the data before hashing them?

comment 13y ago · link · parent

Or it might be developed by the same guys who were doing demo scene then.

Either way, I'd like to wait and see that one in action - really like the idea.

comment 13y ago · link · parent

That's just my opinion, but even if JSON-parsing performance would be few percent worse than XML-parsing one, I would still try to use it whenever it would make logical sense.

(web services - JSON; configuration files - JSON for simpler files, XML for more complicated ones AND only if JSON couldn't handle it).

Also, I might be missing something but it appears that this benchmark doesn't take into consideration libraries used server-side to serialize and deserialize JSON / XML? I'd say that depending on those, there can be some big differences.

Not mentioning the fact that bigger impact on the feel how "snappy" application is lies in the overall application design, than in choosing whether we are using JSON / XML / YAML / anything else to transmit the data.

comment 13y ago · link · parent

I must say that this is one of the most interesting apps which I had found in last few weeks. You should get yourself a beer as this is a neat feat to accomplish:)

Also, some people were saying that webapp wasn't working for them on some chrome versions. As for me - I've got the 28.0.1500.95 - the culprit was Disconnect extension, which when disabled, allowed the whole application to behave as expected.

comment 13y ago · link · parent

I might be wrong, but it might be a bit hard to write something general enough to be useful - as most of the items can be easily translated into other languages, it would still be mostly implementation-specific / language design specific.

comment 13y ago · link · parent

This is opinion only, so please don't take this as me being negative: I really like the idea, but there's one thing which need to happen for this to be upstream.

Most decent IDE's (Idea and few others) are clever enough to understand the SQL between quotation marks and if connected to database will give you instant errors if something is incorrect - misspelled names, missing commas, etc. Sometimes this can be a big time saver.

comment 13y ago · link · parent

I was following most of those revelations when they were happening, but I didn't knew how the story progressed, nor what implications it had for Brown.

Michael Hastings died in a car crash, Barrett Brown is facing 105 years in a prison, Snowden needs to hide from the authorities...as some of those (death of Michael Hastings) might be just unlucky coincidences, the list goes on. As much as we had made tremendous progress in every single area of life and science, I'm a bit concerned that the name "Dark Ages" is more relevant to present times than it is to the Middle Ages.

comment 13y ago · link · parent

One of fellow geeks had chosen to risk everything which he had - whether it was recklessness or courage is a different thing - and publish classified information, shedding some light on the topic of people being monitored by the government.

As much as you might be irritated by the amount of information related to him which is being published here, personally, I'm curious how the story will unfold. I presume that there are others who are curious and others who are irritated as well.

In most of the cases you are right - hn is not the place for gossip about famous people. The thing here is that we are not discussing what did Kardashian ate for dinner and why it's bad for her cellulite, but following a story of somebody who is not giving a shit and trying to if not defend, then at least shed some light on our privacy, as it's being taken from us.

Please don't get me wrong, but I'd strongly advise using some filtering tools (there are dozens) for hn in this specific case.

comment 13y ago · link · parent

Thank you, that was insightful.

comment 13y ago · link · parent

I was first introduced to Vagrant at my current company - where my manager had prepared a VM + set of Chef recipes for setting up and managing VM hosting our app.

I had spent few days later setting up few VM's for my personal projects - I must say that having easily deployable VM's, each one serving specific purposes, all on my laptop, using just one base box (CentOS in my case) is a really a time saver - especially when dealing with projects utilising multiple technologies. But what is most important is the fact, that all those technologies are not polluting the main machine and creating misc combinations of them is as easy as branching / cloning my Chef + Librarian + Knife repo.

comment 13y ago · link · parent

I was working professionally with Oracle and MSSQL databases (with way bigger focus on the latter). I did some freelance projects with MySQL databases, heck, I managed to hack some small things on Pervasive once or twice.

PostgreSQL was always an outsider which I had ignored, but in my recent position PostgreSQL is the main database engine for our whole stack. It took my about a month to get used to the differences in the syntax and PostgreSQL related stuff and I'm amazed about the features and quality of it, especially when you remember that this is a free and open source database engine.

On the other hand, if PostgreSQL devs would start a Kickstarter project for PGSQL specific version of Microsoft SQL Server Management Studio, my both hands (and feet) would pay. I had tried Database Visualiser (paid version), PGAdmin and few others, but none of those as is even close to the capabilities of Management Studio.

Does anybody maybe know any alternative or have any tips to share?

comment 13y ago · link · parent

I totally understand your points in here - I have experience with both SQL Server and PostgresSQL. (+ Oracle, but that's not relevant in this case).

I wouldn't call myself advanced in both, more like an average user from DBA point of view + some more advanced BI things. One of the last tasks which I was doing on SQL Server was creation of a set of SSIS / SSRS packages to replace odd SQL queries scattered around dozens of utilities. I had chosen SSIS for the ETL tool as I had heard lots of positive things about this one and I must say it was really pleasant to use ... to a point when it became tedious trying to deal with wrong export formats of columns. Not mentioning the fact that when I was writing code for Script Tasks, sometimes the code was mysteriously disappearing, that signing of packages setting up agent tasks and all the boilerplate for that one to work was a task on it's own. I was blaming my lack of knowledge at that point about the whole stack - you don't usually master tool that big in a week.

Yes, PostgresSQL is harder to pick up, it's harder for your average and not IT-centric company to implement as a BI tool. Microsoft is providing a ready-made full-fledged and powerful Behemot which can solve most of your problems with a snap of a finger. Unless there's some magic happening and lack of capabilities to have total insight into the tools is driving you furious. Postgres has it's quirks - at least for me it was harder to pick up than other database engines, but I'm quite happy with all the additional features which it provides and additional understanding of the whole system which I'm gaining as I'm learning.

comment 15y ago · link · parent

Isn't the IDE similar to IntelliJ Idea or PyCharm?
123