Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 6y ago · link · parent

The last time I tried Instagram I got followed by 5-6 bots within a few minutes of creating the account. The problem seems similar to Twitter in that there are more people working on spamming the network with bots than there are Twitter employees blocking them, so they focus primarily on automated blocking than on catching other types of abuse.

comment 6y ago · link · parent

My impression is that at-rest butterflies usually have their wings folded together, like this: https://commons.wikimedia.org/wiki/File:Melanargia_galathea_...

When they're sunning themselves it's a more relaxed position, similar to https://commons.wikimedia.org/wiki/File:Man_with_a_backpiece...

Overall though all the positions seem good and it's more of an artistic choice. The "dead butterfly" pose shows off the wing patterns better and it's close enough to positions the butterflies assume in daily life. You don't often see spread-eagle positions in photos either but nobody would mind using it to show off some full-body tattoos.

comment 6y ago · link · parent

They process 18 million transactions per year, total, not 18 million dollars of transactions. And they only found 56 duplicates, i.e. a 0.0004% rate. (56 / (18e6 * 8/12))

For comparison there's a Kaggle dataset of 2 days of European credit card transactions from 2013. It contains 284k transactions of which 0.147% are fraudulent.

This 1000x difference can either be good since it means the state is mostly paying appropriately or bad since the detection is not as good as the credit card company's.

comment 6y ago · link · parent

Haskell has had an I/O manager for doing asynchronous I/O for a while: https://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.649...

There's been some discussion about using libuv but no consensus: https://gitlab.haskell.org/ghc/ghc/issues/8400. It's available as a library: https://haskell-stdio.github.io/stdio/

I didn't re-read the papers but IIRC GHC just spawns an extra OS thread any time a possibly-blocking function is called, as it doesn't follow a strict M:N model. There's a thread pool to reduce overhead but it's probably not as efficient as Go's method.

comment 6y ago · link · parent

It still uses JavaScript. I'd rather see something completely server-side that sets Etag evercookies.

comment 6y ago · link · parent

It's using some mixture of Wordpress, React "styled components", Core.js, and other libraries. WP is the backend and returns the post as JSON so the JS is needed to turn it into HTML.

It's poor website design, but JS is turning into the new Flash. People want glitzy websites and don't care about load times.

comment 7y ago · link · parent

> Medical experts say this content hasn't been particularly well curated, in part because it's an expensive process.

There are lots of paid medical video sites, e.g. a quick search turns up https://www.madeformedical.com/ and https://cine-med.com/. Presumably these are better curated than YouTube and may even go through some type of peer-review process.

comment 7y ago · link · parent

Depending on the grammar I think it's a little slower than the regex-based TextMate coloring. But the overhead is mostly due to the VSCode plugin architecture.

comment 7y ago · link · parent

I've often wondered why they don't teach the law in grade school or high school, since it is (in theory) supposed to be known and followed by everyone. The best answer I have so far is that education is in the public sector too so it's subject to similar problems with lack of training and inflexibility.

comment 7y ago · link · parent

Per https://nkcryptocon.com/FAQ/: "For your convenience we will provide a paper visa separated from your passport, so there will be no evidence of your entry to the country. Your participation will never be disclosed from our side unless you publicize it on your own."

It doesn't appear to be paid, 3400 euro fee to attend.

comment 7y ago · link · parent

ui.systemUsesDarkTheme = 0 for FF users.

comment 7y ago · link · parent

It runs stuff in a container (PRoot) with standard Linux libraries and FHS layout, then you ssh or VNC in locally. The emulation isn't perfect due to Android's security policies, but close enough.

comment 7y ago · link · parent

Android has a tiny BusyBox clone (ToyBox IIRC) in the default installation that can be accessed over USB with the right commands. It isn't particularly useful for anything besides poking around, and definitely doesn't support SSH, but it does do ls and cd.

comment 7y ago · link · parent

NYC data goes back to 1999, but only for some basic things like test scores. They probably don't have the consolidated links between students and teachers outside of the years they analyzed, due to differing data formats and general laziness.

It's a terrible paper in general though, for example it references Bitler et al. 2015 but never provides a full citation.

comment 7y ago · link · parent

Google has some internal IDE, presumably maintained by a small (paid) team: https://news.ycombinator.com/item?id=12842284

IDA Pro has been doing alright: https://www.hex-rays.com/products/ida/order.shtml

But it's definitely hard to compete with open-source alternatives, piracy, general skepticism, etc.

comment 7y ago · link · parent

FCC interview: https://www.fcc.gov/news-events/podcast/pirate-radio They minimize the regulatory burden and emphasize the dangers of interfering with air traffic control, and suggest internet streaming as an alternative, among other interesting tidbits.

comment 7y ago · link · parent

Does the GPDR override the data retention law? I was reading some stuff about VPNs which suggested it might.

comment 7y ago · link · parent

It does seem quite similar to Haskell FFI code: https://github.com/bobfrank/hasqlite/blob/4e38801d969a43e88b...

The "neat" factor comes from how little type wrangling and unsafe code is needed.

comment 7y ago · link · parent

Haskell has the Haskell Symposium: https://www.haskell.org/haskell-symposium/ IDK how papers there count for tenure, it probably depends on the university.

comment 7y ago · link · parent

DuckDuckGo is a little less powerful for some types of searches. Its date filter doesn't let you specify custom dates, the autocorrect behavior is some sort of bug (https://help.duckduckgo.com/results/autocorrect/), local businesses get lost amongst many others, etc. For example searching with "+goats" finds the author's movie, but the default search and the suggested correction of quoting goats don't: https://duckduckgo.com/?q=film+leonardo+dicaprio+%2Bgoats+sc... OTOH searching on Google doesn't find the scene for me either; I suspect it only succeeded for the author because Google knew he'd seen that movie.

DDG's index of web pages seems bigger. The index isn't as up-to-date on popular sites, but many obscure sites (e.g. my blog) show up in DDG and not in Google. But then Google indexes more PDFs.

comment 7y ago · link · parent

That's the title of the story, but the Slate metadata has "Cory Doctorow on Reclaiming Technologies of Oppression" as og:title and twitter:title. The conclusion is that Slate prefers the longer title be shown in links to the story.

comment 7y ago · link · parent

The extension code is minified but AFAICT it's just injecting some CSS sheets, primarily element hiding rules with display:none but also some spacing fixes. E.g. the Facebook one is

    [data-testid="fbFeedStoryUFI/feedbackSummary"] {
        display: none
    }
It's not clear why the developer chose to inject the stylesheets dynamically and magnify the footprint 10x by including a polyfill library, rather than using the manifest to specify them declaratively, but whatever.

comment 7y ago · link · parent

The guy won the point in this case, but in other cases they haven't been as lucky: https://dailygazette.com/article/2016/12/14/treasure-hunter-...

comment 7y ago · link · parent

It's old but there's a list of bars etc. here, if Tinder etc. are that bad: https://www.connecticutmag.com/the-connecticut-story/the-sav...

comment 7y ago · link · parent

In some of the state articles linked they complain about how small the digital outlets are. I think that's the question: did more people read the print versions of "in-depth news" than the digital versions now?

It's not clear if the decline is actually the decline of news or instead it's the decline of newspapers as a delivery medium, similar to the decline of CD's, DVD's etc. in favor of streaming.

comment 7y ago · link · parent

https://www.americanbanker.com/news/2018-bank-reputation-sur...

Lowest ranked banks: Wells Fargo, Bank of America, HSBC, First National, Citibank, Chase

It's not really surprising for the second lowest ranked bank to close accounts without warning.

comment 7y ago · link · parent

"free of cost, free of nuisance, and heavily moderated and curated."

Wikipedia does that, basically. There are a few overzealous donation banners, vandalized pages, etc. but for the most part it's fine.

comment 7y ago · link · parent

Joel has a post about working in a bakery: https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...

His idea is that there is a pretty high standard of cleanliness in a bakery, just not the obvious one. A similar "hidden rule" presumably applies to cities etc.

comment 7y ago · link · parent

The Chinese example at the end where he had to look up the phrase himself (on Google) is particularly revealing. Humans don't have any more insight into words than the machine. They're just better at interpreting explanations written by humans and intended for humans.
1
212223
45