Better HN
topnewbestaskshowjobs
Log inSign up

aroberge

1,655 karma · joined Nov 20, 2010 (16y ago) · 382 submissions

contact: aroberge at gmail dot com
Submissions

comment 1mo ago · link · parent

I, and I suspect many other people here, prefer to live in countries where there are no neighbourhood associations that can dictate the look of your house, what colour of paint you must use, etc.

comment 3mo ago · link · parent

> Understanding never was the goal, results were.

Understanding is the goal, both at an individual level and at a societal level. If no one can understand it, no one can teach it and it can't be used to progress.

comment 1y ago · link · parent

> Python is quickly turning into a crowded keyword junkyard

* Javascript (ECMAScript) has 63 keywords. * Rust has 50 keywords. * Java has 51 keywords + 17 contextually reserved words, for a total of 68. * Python has now 36 keywords + 4 'soft' keywords, for a total of 40. * Go has 25 keywords.

comment 1y ago · link · parent

> The workers were breaking the laws, ...

How sure are we of that? Did we really get this information from trustworthy sources?

comment 1y ago · link · parent

I accept your suffering if you choose so. If I knew you personally, I would even do all I could to help and comfort you. However, I cannot condone you imposing suffering on others in the name of YOUR religion.

comment 2y ago · link · parent

It is not that someone else shares YOUR birthday: it is that two people (among those 23) will have the same birthday.

comment 2y ago · link · parent

He did mention he lives in France ...

comment 2y ago · link · parent

If I remember correctly, unlike the standard Python interpreter, ptpython does not support the replacement of sys.excepthook by a custom one. I know that I look at seeing if I could have it support friendly-traceback but couldn't.

comment 2y ago · link · parent

If they are not located in the US, why would they?

comment 3y ago · link · parent

In my experience (in a different field), it is common for researchers to acknowledge the source of their funding. In particular, researchers are keen to acknowledge funding from government grants, as this is perceived to be helpful in applying for future research grants.

I glanced through the paper and I could not find any mention indicating who funded that study.

I'm also very sceptical of single studies that support the status quo for very large industries -- even more so when there is no indication of who funded the study.

comment 3y ago · link · parent

This is simply not true.

comment 3y ago · link · parent

Tooling is a single screwdriver. There is no "unused bits" clutter, and no need to pay someone to replace a part.

comment 3y ago · link · parent

> How bad could it be?

It could suggest that someone vulnerable commit suicide and have that user do it.

comment 4y ago · link · parent

> yet didn't the truckers get robbed by the government?

No.

In the end, a few accounts were proactively and temporarily frozen by banks acting on their own, which they could (possibly would) have done due to fintrac [1] requirements.

[1] https://www.fintrac-canafe.gc.ca/intro-eng

comment 4y ago · link · parent

No.

"Dark" matter refers to something that does not interact at all with photons - not that it scatters too little light.

comment 4y ago · link · parent

electron volts is a unit of energy. Using E = mc^2, one expresses masses in the equivalent energy quantity. It turns out that electron-volts is a convenient scale for the (energy equivalent) mass for elementary particles -- much better than trying to express the mass in kilograms.

comment 4y ago · link · parent

Up until a month ago, when I searched Youtube using the "latest" filter, I could reliably get the latest videos uploaded that were relevant to the search terms. Now, it shows a couple of recently uploaded videos followed by many which are for weeks ago, while I know that many more had been uploaded in the recent days.

comment 4y ago · link · parent

44% down since November is a bit more than fluctuation I would think. Still, I agree that today's drop should not be described as a crash.

19.

Bitcoin price crash: Crypto plunges by 9% as billions wiped off market(independent.co.uk ↗)

25 points · by aroberge · 4y ago · 13 comments

comment 4y ago · link · parent

You could also perhaps look at https://friendly-traceback.github.io/docs/index.html

comment 4y ago · link · parent

A modern version using Python is https://reeborg.ca/reeborg.html

comment 4y ago · link · parent

One way might be to do like what IDLE does (I think) which is to essentially print the traceback to a string and extract the information.

An alternative is to use https://friendly-traceback.github.io/docs/index.html which gets even more information than Python 3.10 does and is compatible with IPython/Jupyter.

comment 5y ago · link · parent

Perhaps a better approach is to click on "favorite" at the top. I personally find it easier than trying to go through my comments history.

comment 5y ago · link · parent

You can already get this information for Python 3.6+ with https://friendly-traceback.github.io/docs/index.html

comment 5y ago · link · parent

I really like the look of it! If it were possible to easily turn it into something that could be shared privately and live for collaboration with other people, it would be perfect.

comment 5y ago · link · parent

Imagine a spherical cyclist ;-) Mass scales like the cube of its radius. Surface area (air resistance) scales like the square of the radius. As the radius (mass) increases, the air resistance becomes relatively less important.

comment 5y ago · link · parent

https://www.amazon.ca/CPython-Internals-Guide-Python-Interpr...

comment 5y ago · link · parent

If all this were true, there would be no reason for the U.S. to want to double tariffs on Canadian lumber: https://markets.businessinsider.com/news/stocks/lumber-price...

This is purely protectionism, and keeps lumber prices artificially high. (Mind you, the reverse is true in the dairy industry with the trade barriers that Canada imposes.)

comment 5y ago · link · parent

I write programs as a hobby. For most of my career, I have been teaching Math and Physics courses. The whole point of teaching is to get someone to learn something and use it as they see fit, with no constraint imposed upon them. I view the code I write the same way: if anyone finds something useful in it, I want them to be free to use it without constraint.

I write with other humans in mind, not companies.

I occasionally like to read other people's code to learn. However, in order to avoid any problems, this means that I stay away (much to my regret) from reading any GPL licensed code, no matter how interesting the project might look to me.

I admit to have been occasionally disappointed in the past when large parts of some of my work were plagiarized with no attribution (including by one commercial venture) ... but I prefer for my work to be free of barriers so that anyone interested can either learn from it or (more likely) get in touch with me with suggestions as to how to improve upon it.

30.

China's Newest Computer Science Student Is a Computer(sixthtone.com ↗)

17 points · by aroberge · 5y ago · 4 comments

12345
13