Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 6y ago · link · parent

I did my first timed 5K over the holidays for free through a local parkrun:

https://www.parkrun.us/

Apparently they're sponsored, but I have no idea who sponsored this one.

comment 6y ago · link · parent

> Mike Vrabel taking penalties to burn the clock might seen unfair

Certainly not unfair to do it against Bill Belichick, who did almost the exact same thing earlier in the season--first time I'd ever seen a delay of game or false start penalty declined.

comment 6y ago · link · parent

Emacs has a minor mode (prettify-symbols-mode, I think) that makes substitutions like these. I tried it for a couple of months, but decided that it wasn't for me.

comment 6y ago · link · parent

Getting Tensorflow set up on the Jetson Nano was harder than I expected. Do you, by any chance, have Docker working with GPU support?

comment 6y ago · link · parent

I'd say the materialized view is the main thing:

> Thus, we add the following materialized view ... At the end we should have 1440 times fewer rows in the aggregate than the source table.

The cost of populating that view is amortized over the 17.5 hours it took to load the data.

comment 6y ago · link · parent

Strangely absent from the blog post, or the article on which it is based, is the price of the vehicle. It mentions "numerous Tesla Model 3s", but I suspect that this thing costs more than a Model X.

The other factor, of course, is infrastructure. What is the availability of Mercedes-compatible chargers, compared to Tesla?

Edit: I stand corrected on the price. I don't know about Germany, but pathartl's quoted US price, while quite a bit more than a Model 3, would be less than a Model X.

comment 6y ago · link · parent

I think I have the Linux version of this game in my attic.

Steam and GOG had big sales through the end of December that had me looking at some old games like this. I thought about getting some Microprose games to spare me the trouble of copying them from 5.25" and 3.5" floppies (if they're even readable anymore), but I figured it was just as well to leave the graphics and gameplay to my rose-colored memory.

It did get me thinking about what it takes to bring classic games to a modern audience. Grim Fandango and Age of Empires have gotten updates, primarily to the assets. The negative reviews tend to focus on old-fashioned gameplay, or bugs that still haven't been fixed after umpteen years.

A project like this reminds me of the ScummVM engines, which basically provide a new platform for old assets. It's harder to get excited about this, because it's just one game.

comment 6y ago · link · parent

From the Exhaustiveness and Usefulness section:

"inspect can be declared [[strict]] for implementation-defined exhaustiveness and usefulness checking."

"having a __: case makes any inspect statement exhaustive."

"any case that comes after a __: case would be useless"

comment 6y ago · link · parent

According to freedomonthemove.org, there are 22,236 advertisements. If I search (registration required) for transcribed ads, I get 6,920 results. Transcriptions are not visible in the default view. Select the icon on the right to see images and transcriptions side by side.

comment 6y ago · link · parent

This is the HN post that got the most traction since this was reported in July 2018:

https://news.ycombinator.com/item?id=18831370

comment 6y ago · link · parent

Not sure how far he got, but Ryan Gordon's (aka icculus) fork may be more portable:

https://github.com/rcgordon/Serious-Engine

comment 7y ago · link · parent

One thing I notice about the C program is that it uses the double-precision exp(), fabs(), and sqrt(), rather than the "q"-suffixed variants from quadmath.h, a feature that appears to be specific to GCC. However, changing the program had no effect for me with GCC 9.2.

I can't get the C++ program to compile.

Edit: the post has been rewritten since I saw it.

comment 7y ago · link · parent

The description of SmartSummon about halfway through the talk is interesting. One of the views looks like SLAM using a particle filter, but Andrej seems to say that it's done entirely within a neural net.

comment 7y ago · link · parent

Their own page says, "our recommendation algorithms ... learning characteristics that make content successful ... optimize the production of original movies and TV shows ... optimize video and audio encoding, adaptive bitrate selection, and our in-house Content Delivery Network ... and advertising".

https://research.netflix.com/research-area/machine-learning

Here's another article on the subject:

https://becominghuman.ai/how-netflix-uses-ai-and-machine-lea...

comment 7y ago · link · parent

I've read several articles and discussions about the topic, but I'm still a little fuzzy on where biometrics fit in the context of authentication: username, password, just another factor? What is the role of the fingerprint in the case of this key?

comment 7y ago · link · parent

I've seen this TUI term come up a few times on Hacker News. The term I've heard at two companies that had extensive terminal interfaces with menus and screens is CHUI (rhymes with "chewy").

It's funny, though: the CHUIs that remain in the product for system administration are much more primitive now than they used to be. Instead of curses-style graphics with a UI, it's pure text.

comment 7y ago · link · parent

Take a look at this article from the IEEE Computer magazine:

https://www.computer.org/csdl/magazine/co/2012/02/mco2012020...

It links to a video interview with Brendan Eich:

https://youtu.be/IPxQ9kEaF8c

comment 7y ago · link · parent

On the contrary, I'd say that competition has been good for all involved. For such a maligned language that was born in a little over a week, JavaScript is better and faster than it has any right to be.

The amount of resources that have gone into improving JavaScript is amazing. I just wonder what some other languages would look like now with that kind of attention.

comment 7y ago · link · parent

It strikes me that the example is a bit contrived: why is howmany decremented unconditionally? The first loop populates out with howmany numbers. The second loop may set none (other than the ignored value that you point out). I suppose you can use the same trick:

  howmany -= (val bitand 1);
But that might complicate the benchmark.

Coincidentally, this was the subject of the first Stack Overflow question Bjarne addressed in an interview the other day:

https://stackoverflow.com/questions/11227809/why-is-processi...

comment 7y ago · link · parent

From a QA perspective, I feel like you buried the lede on this Loom tool. Benchmarks are nice, but confidence is an elusive thing when it comes to non-trivial concurrency.

I'll be spending some time on the CDSChecker and dynamic partial-order reduction papers.

comment 7y ago · link · parent

Somewhat related: if I tracked down a copy of Snow Leopard Server and ran it in a VM, would I be able to run old PowerPC apps using Rosetta?

comment 7y ago · link · parent

Just curious, do you feel the same way when Apple "Sherlocks" developers in the iTunes and Mac app stores?

comment 7y ago · link · parent

This documentation seems to describe 2.0:

https://www.tensorflow.org/install/gpu

It says CUDA 10.0 and cuDNN >= 7.4.1.

comment 7y ago · link · parent

This is a very convenient library for getting started. It even has a mode that made it possible for me to parse numbers into a decimal class.

I would point out that its convenience in large part depends on extensive use of cast operators, which can lead to some tricky corner cases. It is also the only component in one of my projects that confuses xlclang++ on AIX.

comment 7y ago · link · parent

I've been wary of Gatekeeper and SIP as moving Macs towards an iOS-style walled garden, but this is a perfect case of SIP protecting the user from bad software.

comment 7y ago · link · parent

I think it really depends on when you read it. Code Complete was in the first handful of books I read about the practice of programming, apart from language-specific books, and I loved it. Years later I bought the second edition, having given away my first copy, but the magic was gone.

I didn't get much out of The Pragmatic Programmer myself. Maybe if I'd read it ten years earlier, it would have been my Code Complete.

comment 7y ago · link · parent

The very first line of the readme had me searching through this thread to figure out what exactly this repo contains. Is it the standard library, or just the STL?

Very cool release, but confusing naming. I'm sure it's longstanding practice at Microsoft, but maybe instead of saying "also known as the STL," it would be more clear to say, "which we also call the STL."

Anyway, I'm looking forward to poking around this code.

comment 7y ago · link · parent

There's an article in a recent issue of IEEE Spectrum about a plug-in hybrid ferry:

https://spectrum.ieee.org/transportation/marine/happiness-is...

It can cruise purely electric, although with just 100 kWh of battery capacity, the net result is a 30% reduction in diesel consumption.

comment 7y ago · link · parent

There are trade offs other than just cost. Want a long, thin, flexible cable to charge your laptop? Then you prioritize power delivery at the expense of data speed. If you insist on 40 Gbps capability, something else has to give.

comment 7y ago · link · parent

I just ran into a similar booby trap the other day: whereas BigDecimal::BigDecimal(double) does the full decimal expansion, BigDecimal::valueOf(double) goes through Double::toString(double), which is generally a lot fewer digits.
1
131415
26