Better HN
topnewbestaskshowjobs
Log inSign up

Luyt

3,269 karma · joined Jul 21, 2009 (17y ago) · 1,166 submissions

Software developer, Netherlands. motoom@xs4all.nl Python, C++, C, and others.
Submissions

comment 4y ago · link · parent

I use that one too. An alternative might be https://aiosmtpd.readthedocs.io/en/latest/cli.html

comment 5y ago · link · parent

It would be great if the BANNED() macro could suggest the correct function to use.

comment 5y ago · link · parent

I wish I never threw out my amber Hercules monitor...

comment 6y ago · link · parent

Tuples are immutable, but that doesn't mean they can't contain references to mutable objects.

When you want to use a tuple as a key in a dictionary, Python checks if all members of the tuple are immutable. If one or more of them aren't, you'll get an 'unhashable type' error.

comment 6y ago · link · parent

A while ago, I was also sceptical about the walrus operator, although I use assignments in expressions all the time in C++. But when I was perusing a library written Python the other day, I found five spots in which the walrus operator would make sense - eliminating one line of source code without readability suffering from it.

comment 6y ago · link · parent

When you write in a language which uses curly braces for statement grouping, do you indent your code? ...? I thought so.

comment 6y ago · link · parent

Of course you can. The first element of that tuple is a list, which is mutable, and can be sorted in-place.

comment 7y ago · link · parent

There is a 64-bit Kali Linux image for the Raspberry Pi.

https://www.offensive-security.com/kali-linux-arm-images/

comment 7y ago · link · parent

Normal-sized HDMI connectors would be great, too.

comment 7y ago · link · parent

Those small SMD resistors come on a reel, and they're typically much cheaper than 2 cent: more like 0.1 cent. Still, that's $1000 for one million units.

comment 7y ago · link · parent

Have you tried Cython already? That's almost Python and much faster.

comment 8y ago · link · parent

Remember QBASIC.EXE, too?

comment 10y ago · link · parent

He makes 30 microscopic pictures of a beetle, pastes them together, prints it on huge panels (for a museum exhibition). But you can also view them on the website, including at high zoom levels.

14.

The Insect Portraits of Levon Biss(microsculpture.net ↗)

15 points · by Luyt · 10y ago · 6 comments

comment 10y ago · link · parent

Chemtrails, really? I read this: "After sailing for three weeks with no signs of human activity, no power lines, no chemtrails, no evidence that we exist on the planet at all except for a mournful wooden cabin at Cape Adare, it’s jarring to see this open-air museum of prefabricated regret."

I'm sure the author means contrails ?

https://skeptoid.com/episodes/4027 "Chemtrails, real or not?"

comment 10y ago · link · parent

Especially when wrapped with Borland's VCL (in contrast to MFC).

comment 10y ago · link · parent

You got downvoted for your sarcasm, but you have a point. Some people think that Ruby classes are instantiated using the create method.

comment 10y ago · link · parent

Yeah... Qt and Rails are in the list too. And is Symfony a language, too?

comment 10y ago · link · parent

Forbes.com detects your adblocker and will deny you access to their content. Except if you instruct your browser to use a UserAgent string like GoogleBot does: then suddenly, you are can read the articles.

comment 10y ago · link · parent

The rays are ionizing and will smash apart the DNA molecules in living cells.

comment 10y ago · link · parent

Indeed. They mention the composition of the atmosphere, but the low pressure is conveniently forgotten about. The Mars atmosphere is like a vacuum: 0.00628 atm. Earth atmosphere normal pressure is 1 atm. Essentially, being on the surface of Mars is being in space. And what about the radiation? Mars has no magnetic field like Earth has. So the Solar Wind has free play on the surface.

comment 10y ago · link · parent

What happens when the connection between the server and a client is broken? Will Feathers automatically (and invisibly) restore it?

comment 10y ago · link · parent

Despite reading that webpage I still have difficulty understanding what the actual product of zeek.ai is. Has it something to do with converting Twitter followers to customers?

comment 10y ago · link · parent

A Windows 10 license is about $50. What is the other $50?

comment 10y ago · link · parent

It must have taken a fortune and many hours of searching to collect all those items which (almost) look exactly like the originals from 1973.

comment 10y ago · link · parent

I like the subdued colors in Towne's paintings. It reminds me of how I play videogames: with the saturation of the screen turned down to 50%, to make the colors less vibrant.

comment 10y ago · link · parent

The reason: "The first thing that makes running Just Landed difficult in the long-term is a serious lack of innovation in the flight data industry. An app like Just Landed relies on access to high quality flight data to function correctly. However, since the airline industry is extremely fragmented, and uses antiquated IT systems and many incompatible data formats, it is not practical for a small independent developer like us to negotiate data-sharing contracts with each individual airline, and then unscramble their jumbled data feeds into a usable format at a reasonable cost."

and a secondary one: the app ecosystem isn't worth it anymore:

"With well over 2 million apps by now (officially 1.5M as of July 2015), the iTunes App Store is an incredibly crowded place where it’s almost impossible to get noticed. Despite the persistent myth of the app developer millionaire, it’s extremely hard to make a profit — let alone a living — as an iOS app developer. The Google Play Store is a similar story, except with the added bonus of rampant piracy and a zillion devices to support. There really isn’t gold in them hills, at least not anymore, and independent app development will soon be in sharp decline, if it isn’t already.

Essentially, there’s a massive oversupply of apps, and the app markets are now saturated and suffering from neglect and short-term thinking by the companies who operate them. As competition has intensified, developers have resorted to giving their apps away, often at the urging of the app stores themselves. Consequently, the willingness of users to pay for apps, even unique apps like Just Landed, has declined sharply, while expectations of what an app should deliver have never been higher. Developers have been forced to get absurdly creative with their business models and marketing strategies just to make any income at all, rather than making the best product for their users. Just Landed, being a paid app with high running costs, has been on the wrong side of these trends, and what worked in 2012 no longer works in 2016."

comment 10y ago · link · parent

I see jQuery mainly as a library to eliminate browser differences.
12345
39