Better HN
topnewbestaskshowjobs
Log inSign up

s_ngularity

84 karma · joined Mar 4, 2015 (11y ago) · 61 submissions

Submissions

1.

Playing Pokémon on 40 gameboys simultaneously(youtu.be ↗)

2 points · by s_ngularity · 6y ago · discuss

comment 6y ago · link · parent

You should try a Vietnamese place if there’s one near by you. The ones around here at least don’t seem to skimp on the meat as much

comment 7y ago · link · parent

In the UK, GMT is often used to refer to "the current British time" both GMT/BST. I've seen the same in the US where people say EST but mean EDT.

comment 7y ago · link · parent

Because software companies never charge for features?

comment 7y ago · link · parent

Looking at archive.org, the page has had "to be released soon" since at least 2005 [1]. So I think your skepticism is in order.

[1] https://web.archive.org/web/20050130011942/https://www.openb...

comment 7y ago · link · parent

I think the disproportionate noise about Slack is just due to it being (often without choice) used by so many people, and hence to cite that people only complain about Slack as evidence that Slack is worse than other Electron apps isn't very convincing.

comment 7y ago · link · parent

Attempting to sign in with google gave me a 500 Server Error

comment 8y ago · link · parent

What language does have a deep copy/merge operation built into the language?

comment 8y ago · link · parent

NPM is definitely usable as a package manager for frontend Javascript applications, just needs a little more complicated webpack or similar setup than a node.js app.

comment 8y ago · link · parent

Ironic. Apparently we need a postmortem postmortem

comment 8y ago · link · parent

What about fault-tolerance though? That's definitely a single point of failure scenario.

comment 8y ago · link · parent

The Raspberry Pi has a GPU. Why wouldn't you use accelerated graphics?

comment 8y ago · link · parent

This is another gem of weird internet design. Note especially the animations on hovering over images, and color choices on some of the linked pages. It somehow sort of works though. http://insti.physics.sunysb.edu/~siegel/

comment 8y ago · link · parent

The problem with the separation is mainly with making changes to code, not with reading the code as it currently exists.

This problem is avoided at no cost in Go, where an external tool can be used to get the same concise view of all of the function types that you like, without needing to manually create and update header files.

comment 8y ago · link · parent

I’m not saying it’s a bad idea to implement it, but there’s a greater time cost, and if the performance gains aren’t worth the effort, then there’s no reason to make the improvement

comment 8y ago · link · parent

Depends on how often you need to search. The implementation of the parallel linear search in Go is a lot easier to get right than what you’re recommending.

Though I would certainly agree that paying for more vm cores just so you can do a linear search on each of them is a bit silly

comment 8y ago · link · parent

The author's use of "type soundness" matches the precise, widely-accepted mathematical definition which is used in the literature. Type soundness does not require total functions, although they certainly make it simpler.

It is possible to encode the semantics of exceptions such that a reasonable definition of soundness is still provable. See, for instance, Chapter 14 of Types and Programming Languages by Pierce.

comment 8y ago · link · parent

The difference here is that presumably fewer record companies have the money to fund the development of their own streaming service. The movie industry has much bigger players in the game.

Additionally I don't think anybody's cracked the code on how to make reliably well-received music yet. You can't distract the audience with good visuals and special effects if the plot is no good like in a movie.

comment 8y ago · link · parent

You can't even search "burgundy dress" now. This is a totally ridiculous "solution"

comment 8y ago · link · parent

I think he's trying to get at the distinction between being able to think in abstractions versus choosing the correct abstraction for the problem at hand. The first is a prerequisite for the second, but the second is far more important.

comment 8y ago · link · parent

Really off-topic, but the logo at the beginning of the video for the Blocks project (B made out of a rectangle and two circles) is totally indistinguishable from the logo of the skateboarding company Plan B

comment 8y ago · link · parent

It's a conscious decision, but that decision may be greatly influenced by the content being prohibitively expensive for them to otherwise obtain.

comment 8y ago · link · parent

Some "gifted" school programs require an IQ test for admission, and I believe that there have been studies that show that the students who were part of these programs do better than average in life. I haven't looked into it though, so I may be wrong.

comment 9y ago · link · parent

You don't have to use the full url to import a package. The name of a git repository doesn't have to match the remote name though, so I don't see why it would be a problem to fork a repository.

comment 9y ago · link · parent

The GPU is drawing 60 times a second regardless of whether the page is static. Not sure how they do their streaming to the GPU, but there will be state changes every time you scroll, or click a button, etc., even on a static page.

comment 9y ago · link · parent

I believe the actual figure is 1 in 4 are sexually harassed, not raped

comment 9y ago · link · parent

That file manager might be excellent, but did you look at the link? This FM uses your text editor to manage files, which is totally different from a ncurses interface.

comment 9y ago · link · parent

Yeah, that's a perfectly valid solution as well. Depending on the application it may be faster to do the assertion on your type identifier rather than introspecting the type though. And having a list of type options more directly maps to a true sum type. I probably wouldn't actually do it in real Go code if I could avoid it though

comment 9y ago · link · parent

Inheritance is not a way to express sum types, it's a form of subtyping. A sum type is like a discriminated union, it can only be one thing at a time. Subtyping allows a value to have multiple (related) types simultaneously, which is much more expressive. I suppose you can use one level of single inheritance to emulate a sum type, but you could just as well emulate it with a discriminated union in Go, e.g. a struct with a type identifier and an interface{} holding the value.
123