News for hackers. Stuff that matters.

s_ngularity

Re:The Physics of Fried Rice on Thursday February 27, 2020 @05:28PM (#22438642)
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
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.
Because software companies never charge for features?
Re:Call for testing: OpenSSH 8.0 on Friday March 29, 2019 @06:24AM (#19520399)
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...

Re:Thinkpad X210 on Monday March 18, 2019 @10:36AM (#19421363)
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.
Re:Show HN: Notably – minimalist markdown content editor on Sunday December 02, 2018 @04:35PM (#18584692)
Attempting to sign in with google gave me a 500 Server Error
Re:Copying objects in JavaScript on Tuesday November 13, 2018 @12:44PM (#18442939)
What language does have a deep copy/merge operation built into the language?
Re:Tables on Thursday September 13, 2018 @03:45AM (#17976789)
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.
Re:Google Cloud Downtime Postmortem on Thursday July 19, 2018 @09:04PM (#17571691)
Ironic. Apparently we need a postmortem postmortem
Re:Learn how to design large-scale systems on Friday July 13, 2018 @07:06PM (#17527613)
What about fault-tolerance though? That's definitely a single point of failure scenario.
The Raspberry Pi has a GPU. Why wouldn't you use accelerated graphics?
Re:The Emerald Programming Language on Thursday June 07, 2018 @08:53PM (#17261701)
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/
Re:CPY – Code C/C++ with no redundancy on Saturday May 05, 2018 @11:41PM (#17005125)
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.

Re:How long does it take to linear search 200MB in memory? on Saturday April 28, 2018 @11:00AM (#16947941)
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
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

Re:Are unsound type systems wrong? on Saturday April 07, 2018 @11:30AM (#16781152)
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.

Re:Spotify Form F-1 on Wednesday February 28, 2018 @05:13PM (#16487617)
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.

You can't even search "burgundy dress" now. This is a totally ridiculous "solution"
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.
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
It's a conscious decision, but that decision may be greatly influenced by the content being prohibitively expensive for them to otherwise obtain.
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.
Re:Go at Digital Ocean on Sunday November 05, 2017 @05:09PM (#15631983)
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.
Re:The web at maximum FPS: How WebRender gets rid of jank on Tuesday October 10, 2017 @02:13PM (#15444012)
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.
Re:Dating for nerds (part 2): gender differences on Saturday September 30, 2017 @09:57AM (#15372866)
I believe the actual figure is 1 in 4 are sexually harassed, not raped
Re:Roamer: A Plain-Text File Manager on Wednesday August 30, 2017 @08:41AM (#15131587)
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.
Re:Things about programming I learned with Go on Tuesday August 22, 2017 @02:01PM (#15074890)
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
Re:Things about programming I learned with Go on Tuesday August 22, 2017 @11:00AM (#15073052)
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.
Re:Nuts and Bolts of Multithreaded Programming (2011) on Monday July 03, 2017 @05:52PM (#14691678)
They are working on a Xeon-optimized version of Torch (https://github.com/intel/torch), presumably in an attempt to get more of the deep-learning community onto Intel hardware

Older »