Hacker Newsnew | past | comments | ask | show | jobs | submit | agateau's commentslogin

Another one: depending on the language, 0 is either singular or plural. In French it's singular and it's always fun to see the denial in the eyes of my French colleagues when I tell them that 0 is plural in English.


> I have a very long regular expression (email validation of course) that doesn't fit on one line but no solutions I have found properly break the lines on page overflow.

Have you considered manually splitting the regular expression into multiple lines in the source document, using something like the `VERBOSE` mode from Python re module [1]?

[1]: https://docs.python.org/3/howto/regex.html#using-re-verbose


Looks handy!


I loved my HP 48G when I was in school (even if it was much slower than the Ti 81 it replaced when it came to graphing). I regret throwing it away because of the nostalgia, but I don't feel a need for using it these days.

As such I am genuinely curious about what rewards you get from using an engineering calculator in your work. That's an honest question: I would really like to have an excuse to get my hands on a 48G again!


I broke the screen of my HP48GX when it fell in the crack of the passenger seat of my truck about 20 years ago and I am still pissed about it.


Try Droid48 on your phone. It works for me after I cracked a number key of my HP48GX.


Oh, I’ve tried using emulators, but without the actual physical keyboard it’s just not the same.


Sounds like an character from the Asterix comic book :)


Shameless plug: I wrote a tiny script to install Firefox from their tar.gz, without requiring root access: https://github.com/agateau/tmfi.


I would find it easier to read with more sensible, non-abreviated variable names.


A little known fact about executables on Windows is that while it's not possible to remove a running executable, it's possible to rename it.

I use this in Clyde [1]: on Windows, when clyde needs to upgrade itself (which means uninstalling vN and installing vN+1) it renames itself from `clyde.exe` to `_clyde.exe`. I leave the old `_clyde.exe` around, but a nicer implementation could remove on the next start.

[1]: https://github.com/agateau/clyde


They should draw the complete d-pad and highlight the button to press instead.


I used to take the subway in Paris. Now I ride a bike, carefully. I don't ignore traffic lights. And even riding this way I am always surprised that I'm faster than the subway. No connections, no wait, arriving directly at the exact destination helps.

Not to mention no need to stand in an overcrowded metal box.


> I used to take the subway in Paris.

yeah, the subway in Paris is not great, but that's mainly because a lot of people use it.

one particular reason people feel they are fast using bikes is because a few people use them.

it's always underestimated by bike users how terrible bike jams are.

https://www.theglobeandmail.com/resizer/2nIUJ2wOHIuaxiM6vvCL...

https://www.fastcompany.com/3052767/this-is-what-rush-hour-l...

If you are the only one crossing a street with your bike, good, if you are in a lane with hundreds other people, not great.

Paris has that problem with the subway, doesn't mean that the subway is slow, it is simply crowded.

Bikes also seem faster because they break every rule in traffic, stopping at the traffic light is mostly about biker's own safety, but skipping traffic lanes it's not permitted by any traffic regulation and yet every biker does it (every two wheeler actually).

This is what the average traffic light stop looks like where there are a lot of bikes or motorbikes.

https://thumbs.dreamstime.com/b/crowd-motorbikes-stand-red-t...

https://cdn.road.cc/sites/default/files/styles/schema_org/pu...

Even in the presence of bike lanes, everyone tries to be in front, of course they are faster, they are literally cheating.

I would be the fastest in every line, if i could skip it and pass in front of everyone else.

Truth is other people would not like it, but we tolerate it for bikes (and motorbikes) for reasons I still don't fully comprehend.

Paris has one real feature: it's a greatly enjoyable city to walk and a terrible city for bikes (or cars)

So if you are in Paris, walk!

Nobody can steal your feet!

- As bicycling boomed in the French capital during the Covid pandemic, so has the number of stolen bikes.

- “This is the worst place for bikes, The mafia networks are organized to steal them. With everyone currently riding bikes in Paris, it’s become a simple and easy way for thieves to make a lot of money.”


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: