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 7y ago · link · parent

Insurance providers are required to keep their directories up to date with roughly the past 30 days: https://www.ahip.org/wp-content/uploads/2016/09/The-Provider...

But there's not much you can do if it's inaccurate besides start looking for another provider. I've written a few scripts to massage my provider's directory into something usable, now lost unfortunately.

UnitedHealth is apparently working on a blockchain for provider data: https://cdn2.hubspot.net/hubfs/4801399/18-SYN-001-Synaptic-W... I guess making a web service is too hard? https://www.managedcaremag.com/archives/2019/7/how-blockchai... suggests it's mostly about getting management to sign off.

comment 7y ago · link · parent

MLIR is a Google/Tensorflow project, not LLVM, and AFAICT is only used by TensorFlow. This might be because it was only released a few months ago, but also from skimming through their "write a language" tutorial it seems it provides barely anything useful, just JSON-like read/write of the IR, an LLVM output pass which is marginally simpler than writing it yourself, and abstraction machinery to do generic SSA operations and share "dialects" with other DSLs.

I wouldn't say it's worthless, since Tensorflow is using it and MLIR could grow into the middle-end for some new HPC / data science language, but personally I am somewhat leery. GHC already has Core, STG, and C-- so it doesn't particularly need a new intermediate language, and for a new language I would prefer to investigate something besides SSA like Thorin (https://anydsl.github.io/Thorin.html).

comment 7y ago · link · parent

When I looked into LLVM for my own little language, my general impression was that LLVM was great if you are writing a C-like language or something close, since you can use the whole compilation pipeline (even clang for the FFI). If you have interesting high-level features like threads, exceptions, etc. with semantics different from C/C++, you run into translation issues and have to re-implement some LLVM intrinsics, which is a fair amount of work but doable. But with lazy semantics like GHC, LLVM's whole idea of "calling" is barely usable and you can't use most of the inlining or cross-method optimizations. So LLVM ends up being an assembler producing machine code.

As an assembler, LLVM is not particularly fast or convenient. It has a huge API, and lots of optimization passes that have to be tweaked to get reasonable output. The posts I read that got that far generally recommended ditching LLVM and forking a JIT engine like LuaJIT, libjit, etc.

tl;dr I agree with the author that maintaining NCG is the way to go. The difference is, I expect LLVM to implode long-term rather than expand.

comment 7y ago · link · parent

>also makes it possible for these companies to continue.

Taxi companies have been following worker laws for forever, it's not impossible at all. These companies are just spreading FUD, like big ISPs did back when net neutrality was imposed: https://www.techdirt.com/articles/20151001/12131332412/hey-r...

comment 7y ago · link · parent

AFAICT the relationship for Scratch is that Google wrote a new VPL (Blockly) and the MIT Media Lab released it as Scratch 3.0.

I guess the "thousands" is from https://opensource.google.com/? In a few minutes of browsing, I couldn't find anything besides Bullet that wasn't just Google releasing something as open source.

comment 7y ago · link · parent

Probably because it uses TensorFlow (lite) and there aren't many (any?) VPLs supporting C++ integration.

And also Google has NIH syndrome, it's hard to think of any outside projects they use besides the Linux software stack and LLVM.

comment 7y ago · link · parent

I found https://webkit.org/blog/8685/introducing-the-jetstream-2-ben..., with a graph at the end, but of course that is written by Webkit (JSC) developers. Then there is https://johnresig.com/blog/javascript-performance-rundown/ from 2008. https://www.railsmine.net/2017/12/browser-benchmark-safari-1... from 2017, similar results to the JetStream 2 post.

comment 7y ago · link · parent

I was thinking about the sync you get with a premium membership (https://support.1password.com/sync-options/), but I guess the thread is about syncing with Dropbox. It's quite an old thread, this paper suggests they use the "secure remote password" protocol for memberships, so perhaps the master key isn't stored for that: https://1password.com/files/1Password%20for%20Teams%20White%...

It's definitely stored for Touch ID/fingerprint 1password access though (https://support.1password.com/touch-id-security-ios/).

One of their employees wrote about it here: https://discussions.agilebits.com/discussion/106629/ios-secu.... His response is basically that OS-level 0days aren't in their threat model, so they're continuing their usual bug-fixing routine. And it's true, nothing can really stop a rootkit from sniffing passwords as they're being used, besides winning the anti-rootkit race. Perhaps 1password could have a little more explanation of the insecurity of using Touch ID / Face ID though rather than simply saying it's as secure as possible.

comment 7y ago · link · parent

The X server is known to be insecure, in the sense that keyloggers can steal credentials from anything else running. But in that sense no OS is particularly secure besides Qubes OS.

The discussion was on phones, there the issues are mostly core Android's lack of updates from manufacturers (but quite good record of Google releasing patches) vs iOS's closed-source buggy OS.

IDK, security is hard. The easiest solution is to get a nice clay brick and smash whatever phone you have to pieces.

comment 7y ago · link · parent

The exploit gets full root and full access to the keychain store. And apparently the 1password master password is stored in the keychain when sync is enabled (https://discussions.agilebits.com/discussion/10412/storage-o...). So they had the technical ability to steal at least a few 1password passwords.

But 1password is not in the default list of apps to steal (https://googleprojectzero.blogspot.com/2019/08/implant-teard...), so you'd have to know what commands their server sent to get a definitive answer. Most likely they didn't bother, as it seems more like a surveillance / monitoring operation than for financial gain, but then again attackers are getting more sophisticated all the time.

comment 7y ago · link · parent

The author seems to have left off his name, but I assume the Chinese or HK government could easily obtain his name/address from the domain registrar. So if the extradition bill was passed he might join the many people he lists in prison.

But the bill was declared "dead", so I guess he's probably OK besides the possibility of masked thugs.

comment 7y ago · link · parent

Nomorobo is free for VOIP landlines, and pretty popular: https://www.nomorobo.com/

It has a whitelist/blacklist for common recorded messages like dentists, and then a CAPTCHA pretty much exactly what you describe: https://nomorobo.zendesk.com/hc/en-us/articles/205761825-Wha...

comment 7y ago · link · parent

Internet logic: 1. Escape from North Korea. 2. Start YouTube channel documenting abuses of NK. 3. Get accused of bias for being "anti North Korea". 4. Anti-NK-escapee campaign gains steam 4. Get banned from all platforms for hate speech.

Personally I always root for the underdog, they have less resources so it's harder for them to fabricate information.

comment 7y ago · link · parent

Mostly it's just a lot of code. Notmuch only does index/search for email and it is 46k LOC (https://www.openhub.net/p/notmuch). Thunderbird in contrast is 1.2 million LOC (https://www.openhub.net/p/thunderbird). A fair amount of that is detritus from being an ancient project, or else is shared with Firefox as the browser toolkit, but handling email and all the dialogs etc. are quite complicated. Mailspring uses Electron and is 218k LOC (https://www.openhub.net/p/mailspring/analyses/latest/languag...). You get the idea

And nobody wants to start a new one, because the majority of people use webmail or the mail app on their phone. Thunderbird is at 1% marketshare, although the sparkchart is weird suggesting measurement difficulties: https://emailclientmarketshare.com/

comment 7y ago · link · parent

better link IMO, since it has sources instead of newsbite fluff: https://about.usps.com/who-we-are/postal-history/bank-of-ver...

comment 7y ago · link · parent

Syncthing is peer-to-peer, Duple is one master + many slaves.

comment 7y ago · link · parent

It's free now, but you have to enter a magic code. The code expires in a month or so and then you'll need a new code, which will presumably cost money. So it's a free trial.

comment 7y ago · link · parent

https://doc.duple.io/duplecli-documentation/ https://doc.duple.io/faq/

So basically Dropbox but with an SFTP server or network/local filesystem for hosting.

comment 7y ago · link · parent

This article reads like the quotes in https://www.wired.com/1995/02/chess/ about how computers would never beat people at chess. Winning at chess required "fantasy" and "creativity" and here baking requires "passion" and "magic".

https://www.cnet.com/news/bread-making-robot-makes-everyone-... is a fully-automated bakery, although it doesn't produce baguettes, and https://www.youtube.com/watch?v=5zfb456YrsM is half-automated from dough to finish; maybe we'll get a IBM Watson-style "robot bread" entry in the competition sometime.

comment 7y ago · link · parent

This is the "official" release, where someone from the team that was working on the decompilation is making it public rather than just a random person on the Discord.

But not much has changed, I guess it's hard to make progress in a month.

comment 7y ago · link · parent

Reading Infinera's network brochure, https://www.infinera.com/wp-content/uploads/Infinera-DTN-X-F..., they are talking about terabit speeds over fiber. I doubt they are using the Internet Protocol or anything close. I mean, they could be (https://en.wikipedia.org/wiki/IPoDWDM), but they have a bunch of different communication protocols going over it. I saw MPLS (https://en.wikipedia.org/wiki/Multiprotocol_Label_Switching) on Twitter and that has a TTL too, but unfortunately the FCC report doesn't go into detail. It's only slightly more informative than the outage report from last year: https://twitter.com/briankrebs/status/1079135599309791235/ph...

comment 7y ago · link · parent

https://blogs.dropbox.com/tech/2016/07/lepton-image-compress...

Not really a breakthrough though, JPEG is just an old format. But maybe machine learning stuff will get the 4x video compression seen in the show.

comment 7y ago · link · parent

https://parsecgaming.com/game-streaming-technology looks interesting for an off-the-shelf type thing, but I guess Salsify would work too. As far as keystrokes I guess you would just use TCP or one of its improved variants.

comment 7y ago · link · parent

Anti Adblock Killer is not maintained anymore, I've been using this (popular on Reddit): https://jspenguin2017.github.io/uBlockProtector/

comment 7y ago · link · parent

I guess one could set up a local proxy server and load the PAC file into that, this seems to be a project that accomplishes it for the Chinese firewall: https://github.com/shadowsocks/shadowsocks-windows

comment 7y ago · link · parent

So he has a $25 RCA-to-HDMI and a $70 HDMI capture card for around $100. A fully assembled Domesday board is also somewhere $100 according to https://forum.lddb.com/viewtopic.php?p=100903&sid=a582ac9ebc..., although I guess it could be higher without a good PCB supplier. The article's Airspy R2 SDR is $169.

There's a PAL decoder in https://github.com/happycube/ld-decode/blob/3d5cdeddbaf4515b..., I'm guessing it could be adapted to the article's purposes with some work. https://twitter.com/windyoona/status/1163043586314821635 says she was looking at it.

comment 7y ago · link · parent

At least in my area the taxis have rebranded to "zTrip" and similar and they all have apps very similar to Lyft/Uber. There might be room in the market now for a fare aggregator to cut down on the number of apps.

898.

DownThemAll WebExtension Source Code(downthemall.org ↗)

1 points · by Mathnerd314 · 7y ago · discuss

comment 7y ago · link · parent

Previous people/companies getting banned: https://news.ycombinator.com/item?id=19124324 https://news.ycombinator.com/item?id=18788450

It seems to be that someone else does some shady activity and then some AI at Google over-generalizes and bans legitimate accounts. And the emails are the same 3 form emails that say nothing.

I wonder if you can get decent support by walking into one of the Google campuses, or if you would get in trouble with security...

comment 7y ago · link · parent

S-Expressions are quite simple, there are some parsers floating around in well-known projects, although I'm not sure they're SAX-style: https://leon.bottou.org/projects/minilisp

I also wonder if you need a text format, or if SQLite or systemd's journal API would work.

1
293031
45