News for hackers. Stuff that matters.

requinot59

Re:Fabrice Bellard [pdf] on Tuesday May 17, 2011 @01:43PM (#2557112)
> Encouraging international visibility, which requires English language skills, is not contrary to that.

No, it's not, and international visibility is obviously a good thing! But there is a problem if a PhD is published only in english, because then there might be French citizens who will not be able to read a work they paid for (remember, the public education system is funded by the taxpayers-citizens). Since most people yelling about the "language restriction" problem actually imply that they should be able to publish in english only, I did recall that this would be unconstitutional in France. Additionally publishing in english has never been forbidden or discouraged!

> I do sometimes feel sympathy for those that I talk to who realize this and (rightfully) blame the system for their lowered chances at international success.

This system is the application of the law. The French law is the consensus of all the French citizens on the way they want to live all together. If you, individually, don't like the law, you can militate for a change (possible since France is a democracy), or leave the country, if you really can't live with this general consensus. Dura lex sed lex.

In this specific case, you can also just go to a private school which will let you write in english or whatever. Sure, you'll have to pay there; sorry, you can't have the free public education with no duties in return in France.

Ideologically speaking, the French education system is very egalitarian and very meritocratic. Lots of people don't agree with it (the majority still does). That's why the private schools were allowed (after a violent public debate). But it's a chosen, working and interesting system. Yes, you can "rightfully blame the system", in the sense that you have the right to disagree, but otherwise it's not any more "rightful" to blame it than to blame any other working system (e.g: the US one). It's just a different conception of education and its place in the society.

Re:Fabrice Bellard [pdf] on Tuesday May 17, 2011 @11:05AM (#2556558)
> basically everything is done in French, and much of it is required to be in French.

« La langue de la République est le français. » ("The language of the Republic is French"), first sentence of the second article of the French Republic Constitution (see http://www.legifrance.gouv.fr/affichTexte.do?cidTexte=LEGITE...).

Since universities are public, so republican, schools, it makes sense to make them apply and respect the constitution.

The idea is that any French citizen is able to have access, read and understand any published university thesis (PhD), since they paid for them (via taxes). In the same vein, students of the École Polytechnique are required to work 5 years for the State after their studies, since the State paid such a good formation to them.

French can always go to private school (or emigrate) if they don't agree with that.

Re:Show HN: What Do You Think Of My Resume? on Thursday February 17, 2011 @09:53PM (#2234021)
Thanks for sharing a link only Facebook users can access. In the pure hacker spirit: open, transparent access for anyone.
Re:Host Your Static Website on Amazon S3 on Thursday February 17, 2011 @09:33PM (#2233975)
> Sometimes I just want to create some static pages, but I was forced to use either CMS or things like wordpress.

Wtf?! To create static pages, I open Emacs and type there. No need of a CMS or Wordpress to create an HTML page!

Then to host it:

  scp page.html [email protected]:~/public_html/
and you're good to go.

Hosting a website on S3 is nice, but it's not simpler than what is already possible if you own a server. If you don't already own one, I'm not sure setting up an AWS account + client code is easier than creating a new VPS account. I surely would prefer to set up a Linux VPS, which is an environment I'm confortable with.

Regarding the costs, I rent one private (not virtual) server for 20 euros/month, and host several (static and dynamic) sites on it, so it's actually cheaper than going the AWS road. Uptime last time I logged: 560 days (aka reliable enough for me).

It might be better to use proper rlimits, and not let a mad process gone wild triggers the OOM. Swap just delays the problem.
You're probably never going to hit the swap for a good reason. You might hit it if you do a mistake (resizing an image by 5000% and not 500%), in which case you will suffer if you let your gigabytes of swap get filled), or if you have specific needs (video editing, and still...).

Keeping a swap partition in a 2011 computer is 1. a waste of disk space, 2. an unecessary matter of worries (2-1. may leak some infos, even if your other partitions are encrypted, if your computer is stolen, 2-2. a source of potential bugs).

> "twice the RAM is the recommended size of your swap file"

Don't listen the parrots that repeat something that ceases to be true at least 10 years ago. Swap used to be a useful hack, it is not anymore.

> as if I'm going to wait for even 200MB of swap to fill up before flipping out and killing the offending process

Well said ;-)

> I often just turn swap off entirely.

And you're smart to do so. Swap is useless for 99% of end-user systems. ChromeOS doesn't use any swap partition, for instance.

As for hibernation, it's not available if you use a crypted swap, which is wise to use (at least on a laptop).

As a result, I, too, disabled swap completely.

Re:Tell HN: There is a Scammer Amongst Us on Monday January 31, 2011 @08:38PM (#2164048)
Exactly. Take a tour of the SF and Mountain View coffee-shops which offer free wifi with a laptop to sniff traffic. Isn't there a not-negligeable chance you might recolt some HN cookies from "interesting" accounts? Once you get them, it's just a matter of imagination before causing some harm.

HN is not the small and unfamous news site it was 2 years ago anymore.

Re:Tell HN: There is a Scammer Amongst Us on Monday January 31, 2011 @08:31PM (#2164027)
> Declining quality of comments? Creeping influence of politics?

It's a fallacious argument in my book. Like comparing apples and oranges.

Say I run a bakery. What I care the most about is the quality of my bread. So much, I spend all my time working on that and only that. So much, I didn't ever bother to have a lock at the door. But it's not even a big deal if someone comes in and poisons one of the bread, as long as the overall quality is increasing!

> SSL is a giant waste of time for Hacker News

Yes, if by "giant" you mean that it takes like 2 hours to set-up, and a small payload for each negociation. But concerning the payload, Arc is not especially fast, so there is room for improvements there to compensate, if needed.

> modulo the fact that people might be crazy enough to use a shared password here.

Not the point, the point is HTTP sniffing.

And anyway, people could use a shared password, making it easier for them (don't overestimate human memory), if HN used (HTTPS and) a "real" password encryption scheme (bcrypt or the like). Why put the burden on the user when you can put it on the computer?

Re:Tell HN: There is a Scammer Amongst Us on Monday January 31, 2011 @08:13PM (#2163975)
Like what, in the HN context?
Re:Tell HN: There is a Scammer Amongst Us on Monday January 31, 2011 @08:06PM (#2163953)
That doesn't protect from cookie/password steal (for instance if you use a public Wifi hotspot).

I do care about identity usurpation.

Re:Tell HN: There is a Scammer Amongst Us on Monday January 31, 2011 @06:28PM (#2163660)
As a side note, news.ycombinator.com should really have HTTPS access.

Passwords and cookies in clear HTTP are no good. Anyone here (should) knows it. Firesheep proves it. GMail and Zuckerberg suffered it.

Just buy or get a free SSL certificate, and let nginx or stunnel handles SSL and proxies HTTP to/from Arc. Total cost, being pessimistic: 150$ for the certificate verification, and 2 hours to set-up the certs & nginx.

I know, it's awesome, it's a custom Arc webserver and all, and good practices are for PHBs only, but still. For a "hacker" website, news.ycombinator.com is a shame regarding to privacy/security (see also: passwords stored as shasums (without even a salt), funny things like <img src="http://news.ycombinator.com/logout>, outdated versions of software used [http://news.ycombinator.com/item?id=516122], etc.)

Re:Node.js Interview: 4 Questions with Creator Ryan Dahl on Monday January 31, 2011 @06:10PM (#2163588)
And I do take yours. The fact than Node is actually using Javascript, which is more similar to Lua than to Haskell, makes your impression very sensible ;-)
Re:Node.js Interview: 4 Questions with Creator Ryan Dahl on Monday January 31, 2011 @05:55PM (#2163540)
> He especially liked Lua

Well, not as much as Haskell : "Haskell is pretty ideal but I’m not smart enough to hack the GHC. Lua is less ideal but a lovely language [...]" (at the beginning of the 2nd answer.)

> He regrets using the CommonJS module system

Yes, and this is pretty interesting. Also, he regrets using WAF as the build system ("it introduces more WTFs than necessary".)

I have a great respect for Ryan Dahl. He is not orthodox. He is not a blind parrot.

Re:Google Chrome and (weird) DNS requests on Wednesday January 26, 2011 @06:13PM (#2145711)
No. They give them a competitive advantage over other OSes by offering a faster Internet experience on ChromeOS. They stick with classic DNS resolving on Chrome the browser, no matter the plateform.

The complexity and bloat is having Chrome, Firefox, Opera copying DNS cache features and not gathering their knowledge together in this area.

Re:Periodic Table of Google APIs on Wednesday January 26, 2011 @06:10PM (#2145700)
Seriously, is the specific and quite "strange" disposition of the periodic table really adapted here? Why not a simple table-based layout, with no useless holes?

Here on FF 3.6 on a 1280x1024 display, some of the labels are truncated...

Re:Periodic Table of Google APIs on Wednesday January 26, 2011 @06:06PM (#2145685)
It's not a joke (does it make you laugh?), it's just bait.
Re:Google Chrome and (weird) DNS requests on Wednesday January 26, 2011 @06:00PM (#2145661)
I was speaking about the fact that Chrome also re-fetch some of the (most used) DNS entries in the background when they are about to expire (like they do for the DNS "8.8.8.8" servers).

I agree that prefetching however can't be done by a DNS cache program.

> If knowledge is power, then sharing your knowledge empowers others.

Yeah and in my nieztschean perspective I don't especially want others to be empowered.

Either you have to work hard to beat them, either your competitors are weak enough. Ideally: both.

Re:Tell HN: Just got delivery of TAOCP 4A on Wednesday January 26, 2011 @05:28PM (#2145497)
Thanks for the info foxy lady.
Re:Google Chrome and (weird) DNS requests on Wednesday January 26, 2011 @05:24PM (#2145484)
Chrome should stick to its true nature, do one thing well, and leave the DNS stuff (refetch after..., the weird anti-nasty system explained in the post) to a DNS cache daemon. Google could include one in Chrome OS, and don't turn Chrome (the browser) into a big pile of bloat.
Re:Periodic Table of Google APIs on Wednesday January 26, 2011 @05:21PM (#2145470)
Whenever I see "Periodic table of", I remember of this blog post by Rob Pike: http://commandcenter.blogspot.com/2010/08/know-your-science....

"Another sort of abuse is comedy periodic tables: periodic tables of the vegetables, period table of the desserts, periodic table of the presidents, and on and on. There are zillions of them. I believe the vegetables one was the first widely distributed example.

What's wrong with them? Again, they miss the point about the one true periodic table, Mendeleev's periodic table of the elements. In fact, to put things with no structure into a periodic table not only misses the point of the periodic table, it misses the profound idea that some things have periods."

Re:Tell HN: Just got delivery of TAOCP 4A on Tuesday January 25, 2011 @10:45PM (#2142038)
what's the follow-up of Knuth's words? Please!!!
Re:Tarsnap critical security bug on Tuesday January 18, 2011 @11:21PM (#2118590)
Yes, thanks Colin, Tarsnap really is gold on today's "cloud era".
Re:Ask HN/PG: Why are comments being paginated? on Tuesday January 18, 2011 @11:14PM (#2118576)
http://www.arclanguage.org -> install -> arc3.0.tar/news.arc.
Re:Ask HN/PG: Why are comments being paginated? on Tuesday January 18, 2011 @11:12PM (#2118569)
yes/no: it uses simple assignations to (new Image()).src.
Re:Ask HN/PG: Why are comments being paginated? on Tuesday January 18, 2011 @10:26PM (#2118443)
Using Ajax for "load on scroll" may be a solution. Or go the reddit way, don't paginate but don't load full sub-threads.
Re:Tarsnap critical security bug on Tuesday January 18, 2011 @05:41PM (#2117728)
> it's disingenuous and petty to try to punish him

Where does he try to "punish" him?!

Plus it's a real legal concern, sure in practice cperciva will not sue him, but still...

Older »