HNHacker News
TopNewBestAskShowJobs

bbrizzi

170 karma · joined May 30, 2011

@sapface
submissionscomments
bbrizzi··on The missing switch: High-performance monolithic graphene transistors created
I might not understand the article correctly but only the contacts seem to be made of graphene. The canal is still made of SiC with far lower conductivity than graphene so it seems to me that the speed improvements wouldn't be as tremendous as what the article claims. Don't expect 100 GHz CPUs landing any time soon.
bbrizzi··on PHP is much better than what you think
Well, the reasons I started learning PHP were:

1. It was the most popular web language when I started (in 2000), the alternative being ASP...

2. It's extremely easy to use and set up. Most starting programmers/developpers work on Windows. If you want to start developping on Ruby or Pythons you have two possibilities:

- Install linux, which (whatever you may think) is not easy for any newbie.

- Try to work out the Windows ports of your programming language of choice. In the case of ruby, you have to find windows installs for ruby, gems, bundler, rake, rails (or whatever app you want to use), git, probably cygwin, your webserver of choice, etc... Most of these elements are not made for the Windows ecosystem and the ports are usually pretty poorly documented.

If you use PHP, you just have to: 1. Install XAMPP. 2. Click on "launch server" 3. go to http://localhost/

This is why PHP is still popular.

bbrizzi··on Goodbye Facebook.
So just because you don't have the proper settings on your news feed, you're quitting facebook altogether.

I agree that facebook is a lot less personal than it used to be. Personally, I rarely update my facebook status or stare at the newsfeed. I use facebook to connect with "friends" whose phone number or e-mail address I don't have and to join or create events.Those two situations are perfectly well handled by facebook.

bbrizzi··on Sergey Brin Demos Google Glass At I/O
My only thought seeing this was "SF has an incredible 3G/4G coverage".
bbrizzi··on Dr. Dobb's 2012 Salary Survey
The first graph doesn't mention units (thousands of US dollars assumed).

No mention of the methodology used.

No analysis of the results.

The article is split into 10 different pages.

Tab closed.

bbrizzi··on Self-contained, Internet-less Wikipedia machine.
Isn't there an app for that?
bbrizzi··on SIM Cards Must Die
I'm afraid the author of this blog post doesn't know what a SIM card is.

First of all, it's a secure element: it allows authentication of the user's credentials with the cell phone. SIMs and smart cards in general provide security at the hardware level as well as the software level (using Triple DES encryption).

Also, they are essential in NFC: that standard is developed around the SIM card and the ISO 14443 standard.

Recent technology also allows the development of Java programs WITHIN the SIM card (it's called a JavaCard: http://en.wikipedia.org/wiki/Java_Card ) and allows to use a single SIM for multiple applications. For instance, you could use your phone's SIM as a mobile wallet, a metro pass, etc...

Of course, as many others have noted in this thread, removing the SIM card would just add the vendor lock-in inside the phone.

Where I live (France), most phones can be legally (or illegally) unlocked to accept different SIM cards.

bbrizzi··on Yahoo Crosses The Line
If you consider that an e-mail is a type of instant message, it makes even less sense.
bbrizzi··on Google Play
That makes more sense, thanks!

Here's the version I get if anyone's curious:

http://i.imgur.com/HIb4d.png

(Notice the 1 $ = 1 € conversion...)

bbrizzi··on Google Play
Had to read quite a few comments to understand what was happening. Accessing the site from France, I only see Android apps and games.

What is on the US site exactly? Movies and music? Would anyone mind posting a screenshot?

bbrizzi··on Iran Shuts Down Major Websites and Https Protocol
Pure speculation here, but would it be possible to use some kind of exotic Content-encoding HTTP header to avoid the DPI checks?

Of course it would also have to be implemented on the server-side but that's another problem.

bbrizzi··on Wikipedia's list of lists of lists
I'm still waiting for the list of lists that do not contain themselves.
bbrizzi··on Waking up at 5am to code
Exactly. I just spent 20 minutes reading the Wikipedia article on Kanban but I don't see what sticky notes have to do with JIT manufacturing...
bbrizzi··on What It’s Really Like to Work at Google
That's especially true as the SATs are not very challenging... Anyone with a decent math knowledge can get a 800 on that part. There's no way to discriminate the very good students from the truly exceptional ones.

Also your high school level isn't very representative of your overall intelligence.

bbrizzi··on Poll: Do you think HN should go dark in protest of SOPA?
I love how there's an unwritten rule to never talk about HN on Reddit. I never even saw it mentioned, and myself try to avoid mentioning it while I see talks about Reddit and proof that a lot of HNers are former redditors almost daily on this site.
bbrizzi··on ThePirateBay.Org Is Immune from SOPA
The mere fact that SOPA uses DNS to identify particular web sites and their "origin" shows how little these lawmakers know about internet and its technologies.
bbrizzi··on I Think You're Fat (2007)
Also Kant wrote about it quite a bit: http://en.wikipedia.org/wiki/Immanuel_Kant#Moral_philosophy
bbrizzi··on Just another weird PHP function
It seems pretty weird to design it that way, using a global config. At least name it some other way to avoid name collisions. Maybe add it as an optional second parameter and define it as static.

Also, the mysqli extension should be preferred over mysql so it should come before in the code.

Finally, if your connection fails, $dbconn will be set to false, which is == to null in PHP. You should have two checks on this variable: $dbcon === NULL and $dbconn === false.

bbrizzi··on Ask HN: Did you learn a language this year?
This year:

- I wrote my first C++ app using Qt

- I tried getting into Django and RoR, coming from a PHP background. Unfortunately, I haven't yet had a chance to code anything worthwhile in either Python or Ruby.

My goals in 2012:

- Create a non-trivial Ruby or Python app. Still haven't chosen between the two. Ruby currently seems more popular but Python is used quite a bit in my company and for engineering applications in general.

- Program an HTML5/JS game, eventually using GameJS.

- Maybe learn Java for Android.

bbrizzi··on Learn Knockout.js in 30 minutes
The demo is pretty cool but I have a few questions:

- Since all the templating is done on the client-side, isn't it bad for referencing? Note that this isn't specific to Knockout but to all javascript templating libraries in general.

- data-bind seems to be an HTML5-only attribute. I guess this means Knockout documents require an HTML5 doctype. Can't this cause problems with older browsers, at least for validation? (The knockout website mentions compatibility with IE6+).

Otherwise, it seems really fun and easy to use and feels pretty snappy. It probably won't replace server-side templating for me yet though.

bbrizzi··on Mint.com turns 404 ad page into date ad for developer
Niiiice. I just spent 5 minutes turning it along all 4 of its axis to find an angle from which it looks like a cube.
bbrizzi··on Harvard 1869 entrance exam
Actually one of the ways to prove that requires the fact that R completes Q. The concept of completeness was introduced by Cauchy in the 19th century and it might not have been completely popularised in 1869.
bbrizzi··on Learning Modern 3D Graphics Programming
Is learning OpenGL from wthe ground up really the best way to go? The trend nowadays in programming seems to be to dive directly into the deep end. Wouldn't it be faster to just download a game engine like Unreal Engine 3 and go through its tutorial, learning about OpenGL along the way?

I'm using the example of Unreal Engine, first because it's extremely popular but also because their online "developpers' network" seems pretty well done: http://udn.epicgames.com/Three/TechnicalHome.html

bbrizzi··on Job Opening: "Frequent travel may be required"
I find this low too but the job title is "Astronaut Candidate". This probably does not guarantee that you'll actually go to space. If you manage to go through all the training and get on a real space mission, the salary will probably be higher.
bbrizzi··on Ask HN: Is brogrammer a sexist term?
Ah, I didn't know it was a "thing". Looking it up comforts the idea that the post is silly and childish.

I was indeed playing devil's advocate: it's not because the ad is clumsily worded that its author's intent was to exclude females.

bbrizzi··on Ask HN: Is brogrammer a sexist term?
I agree that the post's title is not very tactful or professional but I don't think it's sexist.

The term "bro" refers to values like fraternity and solidarity. Even the word fraternity comes from the latin frater which means brother but "fraternity" is not a male-only concept.

I myself consider some girls to be my "bros" even though I wouldn't use that term, but I agree in the values it conveys.

Additionally, if a girl applied for that job in particular I don't think she would be turned down because of her sex (at least I hope so).

bbrizzi··on The $36 soda: Overdrafting in America
That's how most (if not all) banks work in France. They charge you overdraft fees as a loan at the maximum legal rate (which is about 20% annually, or 1.5% monthly according to Wolfram).

That way, if you have a 2 € overdraft for one month, you'd only pay 3 cents of fees. However, if you have 1000 € of overdraft during one year, you'd pay a total premium of 200 €. Seems to make much more sense than a flat fee.

bbrizzi··on Dissolve My Nobel Prize, Fast!

    Back in Denmark, de Hevesy did a remarkable thing.
    He reversed the chemistry, precipitated out the gold
    and then, around January, 1950, sent the raw metal 
    back to the Swedish Academy in Stockholm.
He "reversed the chemistry"? Really? That sounds very scientific.

Edit: Further research shows that the first reaction is a simple redox[1], which can (probably) be inverted using a galvanic cell[2].

[1] http://en.wikipedia.org/wiki/Aqua_regia#Dissolving_gold [2] http://en.wikipedia.org/wiki/Galvanic_cell

bbrizzi··on A Python Optimization Anecdote
If you want to be picky, I'ld go with:

    if ((x >= 'a' && x <= 'z') ||
        (x >= 'A' && x <= 'Z') ||
        (x >= '0' && x <= '9'))
As in a regular text file you're more likely to hit an alphanumerical character than a number. If the first OR statement is true, any good compiler will skip the next two clauses.
bbrizzi··on Signs that you are a bad programmer
Signs you're a bad writer:

- Your blog post only consisting of lists

- Using only -ing verb forms in your lists

- Not having an introduction in your article

- Not having a conclusion either

- Having only short 2-line paragraphs

- Lack of any style

← PreviousPage 2 of 3Next →