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

Paypal took from May 12 to July 28 (https://github.com/alfio-event/alf.io/issues/77), and Revolut took from March 18 to April 8 (https://github.com/alfio-event/alf.io/pull/622). Maybe "a few weeks" is a better estimate for the difficulty, but it's certainly not a weekend project.

comment 7y ago · link · parent

tl;dr NSA surveillance could have chilling effects (no evidence either way) and the author has concerns about oversight and accountability.

Pretty unconvincing IMO. The real issue is selective enforcement, e.g. cops who bomb a house to smithereens in pursuit of a suspect but then have sovereign immunity so don't have any consequences. And similarly city officials tend to throw the book of regulations at people they don't like.

693.

Coalfire CEO admonishes handling of employees' arrests for courthouse break-ins(desmoinesregister.com ↗)

1 points · by Mathnerd314 · 7y ago · discuss

comment 7y ago · link · parent

PostgreSQL database with 25k Java/Spring codebase locked into Stripe APIs.

I guess it will fit some people's use cases, but my impression of Java is that refactoring anything, like changing from Stripe to some other payment provider, will take months.

comment 7y ago · link · parent

That might be the source of the Statista data, as it too only goes back to 2010. The data on km traveled by bike seems to agree with the 2.5 km figure in the original article.

The question is where the black-background graphs came from, as they have data from 2006. Particularly the first as the 1.5 km average is very different from the 2.5 km national average.

comment 7y ago · link · parent

The first graph has a peak at 2010 and is much lower in 2011. I found a post (https://www.bike-eu.com/sales-trends/artikel/2012/04/netherl...) which says the weather was particularly bad in 2011.

Statista's graph (https://www.statista.com/statistics/620169/average-biking-di...) doesn't show any dip from 2010 to 2011 at all though.

The sources for these graphs are all in Dutch so it's hard to say where the discrepancy lies.

comment 7y ago · link · parent

An interesting summary of development economics. The overriding theme seems to be controlling for effects. Randomization can account for some effects but often the results are applied far outside the scope of the trial, and people are intelligent so sometimes the randomization is not effective.

comment 7y ago · link · parent

Google is blocked in China, so I suspect that there are very few data points for Trends to draw on, as filtering the data to China, the graph seems raggedy, something like 4 searches/week. It also shows the spike in Haskell only occurred this week and says it is partial/incomplete data. So overall, probably just a data processing/extrapolation bug.

That's not to say that Haskell isn't used in China; there is a visualization group in Didi (Chinese Uber) that uses it, Haskell/FP user groups, university classes, etc. But there's no obvious reason that Haskell would have massively shot up in the past 3 days.

comment 7y ago · link · parent

An unfavorable review: https://marginalrevolution.com/marginalrevolution/2019/07/th...

As usual I didn't buy the book, but previewing it on Amazon it seems long on pontificating and short on references. There are a few numbers but the analysis goes like "Look at these numbers. Something is terribly wrong. It must be market failure!".

I subscribe more to the failed government theory, there is just nobody in any of these fields who cares about economic efficiency as they are too busy fighting to get campaign funding.

comment 7y ago · link · parent

It doesn't particularly look like it's having a moment: https://trends.google.com/trends/explore/TIMESERIES/15723666...

Both Haskell and Prolog seem to run on a school-year cycle where search interest peaks a little before the end of the semester. Prolog's cycle is significantly more pronounced, suggesting the interest is indeed purely academic. Whereas Rust has been growing steadily and shows little seasonality.

I'd say it's random chance, given X million programmers and Y million articles there's always somebody who will see a lot of Z topic.

Terminus in particular seems to be an extension of work Gavin did during his postdoc, in particular the Dacura stuff mentioned here: http://aligned-project.eu/open-source-tools/. He deleted the DQS repository for some reason but there's a mirror here: https://github.com/bozicb/dacura-1.

comment 7y ago · link · parent

Another option would be that deleting the 'a' doesn't completely delete it but instead replaces it with a zero-width space or zero-width non-joiner, so it looks like Bad #1 (but is Unicode-compliant) and hitting delete again gives Bad #3.

The whole example is a bit contrived though, nobody is going to enter in a skin tone modifier character by hand in daily use. They'll select an appropriately-colored emoji.

comment 7y ago · link · parent

There are some extensions that help, e.g. https://github.com/aaronraimist/DontFuckWithPaste. It just allows you to paste, IIRC, not copy, but if someone was really annoyed I guess they could make one for copying. And NoScript had some clickjacking protection, but it hasn't been ported to the WebExtension yet.

Typically though these are done with third-party scripts and just blocking the script is sufficient.

In this case it isn't so uBlock has a rule: https://www.reddit.com/r/uBlockOrigin/comments/7l54xr/metro_...

comment 7y ago · link · parent

Emails are easier to deal with as task items, and he probably wrote this before smart phones were a thing.

Also reminder apps for smart phones suck, just read some internet reviews, e.g. first half of https://www.ipitaka.com/blogs/news/does-your-calendar-remind....

comment 7y ago · link · parent

I use automatic bill pay and some scripts to fix video player settings, that's about it for full automation.

A lot of things are semi-automated, as in I have a script / specialized software to handle them, but I still run them by hand. I have a paperweight suitable for holding down the enter key which comes in handy sometimes.

I use the repeating events feature in Google Calendar a lot, that seems to mystify people who think I put them all in by hand.

The automation people seem to fall into a few camps: smart home, enterprise data, and vacation. The last is referring to the sort of people who build a business, hire some low-paid folks to do all the work "automatically", and take a vacation. This seems like cheating to me but whatever.

comment 7y ago · link · parent

Publicly traded companies have to file 10-K's, and failure to file ends in delisting. Similarly nonprofits have to file Form 990 or get their tax-exempt status revoked.

Meanwhile "the failure to furnish a social purpose report does not affect the validity of any corporate action" (https://app.leg.wa.gov/RCW/default.aspx?cite=23B.25.150) and the sole remedy is for a shareholder to request production of a report after 2 years.

But failure to pay the annual filing fees is grounds for immediate dissolution (https://app.leg.wa.gov/RCW/default.aspx?cite=23.95.255)

I think the story is that Washington SPCs are LLCs in pretty much every aspect besides shareholder-board disputes.

comment 7y ago · link · parent

There's cases where the game you want to make is so different that it's easier to write a new engine, like with the 4D graphics/physics in Miegakure (https://marctenbosch.com/news/). Ignoring unique features like those, most of what game engines do is magic incantations to make graphics cards work, file format munging, and resource management. That stuff can be copied over between projects pretty easily.

OTOH FPS mechanics like running, jumping, shooting are the core of the game and get re-implemented differently each time. Game engines don't really have much interaction implemented, and the physics they provide still has a lot of bugs, so behaviors end up with custom code most of the time.

Assets are kind of hit or miss as to whether they're reusable, and usually need some tweaking if they are reused.

Overall I'd say the reason games have moved to 3D is because of hardware support and better gameplay mechanics, rather than code reuse. Untitled Goose could have been an isometric tile game made in RPG Maker or whatever but they would have had to spend more effort on graphics and the physics glitches wouldn't be as funny.

Apparently Minecraft is still the top-selling game in the world; the code there was written completely from scratch.

I wonder if it's really software that's hard though, or that life in general is hard and software failures are just more visible.

comment 7y ago · link · parent

Warranties are mostly to ensure you don't get sold a brick instead of a phone. Extended warranties are better termed service contracts or product insurance. The prices are high, but that might be because it's self-selecting to the people who break products frequently.

I'm not sure how you expect "how long a device lasts" to be defined. Manufacturers do typically design with some lifetime in mind, but it's not clear that has any real world relevance. If I buy a phone and stick it in a drawer it's going to last for a lot longer than its designed lifetime, but if I hook it up to a TV and play Fortnite all day it'll probably last significantly less due to the heat.

As far as software updates, although Apple does 3-5 years for iOS, Google has gone from 2 years to only 3 years, and other Android devices still seem to be in the 1-2 year range. So every Android phone is supported for significantly less than the "4-5 years" you seem to expect.

And the reason the repair bills are getting such interest is because the authorized manufacturer repair shops are so screwed up. They don't do any component-level repair, because the training and equipment is expensive, so the choices are just replace, replace, replace.

tl;dr Mandating a 5-year warranty is just handing out free phones everyone

comment 7y ago · link · parent

CUDA is proprietary to NVidia, and is pretty much the standard for GPU computing. AMD's been chipping away with OpenCL, Vulkan/GLSL, https://github.com/RadeonOpenCompute/hcc/wiki, etc. but not much luck so far. I wouldn't say AMD's been "sticking with" OpenCL, if anything it seems like they will deprecate it in a few years, as the plan is to fold OpenCL into Vulkan.

I guess it is possible to use OpenCL on the CPU as well, but it seems to be intended mostly for testing purposes. The Crysis software renderer uses threads: https://github.com/google/swiftshader/blob/master/src/Common...

comment 7y ago · link · parent

Another book review. Maybe we need an "HN Reads" monthly thread, there's not much to discuss on an individual book level.

comment 7y ago · link · parent

Usually they have a clause in the contract stating that they can change the terms. Github provides 30 days notice, Gitlab has an email with instant effect and a vague thing about checking their website. I've seen sketchier companies who have instant changes w/ no notice and that state their published TOS is inaccurate.

comment 7y ago · link · parent

At least in my town we have some tabloid newspapers, funded mostly by restaurant/concert reviews, but that also publish letters every issue. Most letters are minor but occasionally they do a full-page one about corruption or similar. They also have freelance writers who publish the results of their FOIA requests.

comment 7y ago · link · parent

Word documents have extensive markup and revision tracking features, and then they're passed around within emails that function similarly to commits. Git is only really useful when you're doing simultaneous changes to a large number of files.

comment 7y ago · link · parent

Apparently it's technically possible in Git as of a year or two ago, with some conversion bugs probably still lurking, but Github/Gitlab still don't support it. And the frontend tools like "git commit" don't support it. The project in this answer is using git hash-object to create the commit from raw bytes. https://stackoverflow.com/questions/21787872/is-it-possible-...

comment 7y ago · link · parent

Honestly it seems like one of the worst parts, that the dates are limited by UNIX timestamps and aren't flexible enough to store the dates from centuries ago.

comment 7y ago · link · parent

Article has some weird writing/typos, "updates, bu" and "we where actually". Some of it might be because the company is in Germany, but still... the company doesn't seem particularly professional or well-managed. It's hard to tell from the website but it looks like it's run by one person with occasional help from others.

And the software is kind of weird, scanners always come Windows drivers/software so there's no issue using it there. Linux support is less guaranteed but you can check the compatibility lists (http://www.sane-project.org/sane-mfgs.html). So it's exploiting a niche in driver support between Apple and the manufacturers.

I'm not saying the author is a nutcase, but this seems like one rare data point and I'd prefer to see more companies pulling their stuff off the app store before drawing any real conclusions.

comment 7y ago · link · parent

It seems like the product was originally an internet filter for pornography etc. but now the companies are competing on features. The main one is the profanity filter but they've started using AI to detect other things like self-harm threats etc.

The monitoring seems mostly limited to school laptops and cloud services, so presumably students who don't like it can use their phones if they have them. The companies all have more invasive home products but those report to the parents rather than the school.

comment 7y ago · link · parent

missing: how to make any money from said game.

comment 7y ago · link · parent

So we'll hear about a BoA hack in a few years where the attacker got into the cloud somehow and then had unlimited access to all the other servers? Great. Exactly what I want from a bank. /s

comment 7y ago · link · parent

(2016)

comment 7y ago · link · parent

I looked for a bit at the MiT dataset paper (https://arxiv.org/pdf/1801.03150.pdf) and I'm honestly not sure what human / general intelligence would be. There's only a single ground-truth category per video, but the categories overlap somewhat and multiple categories can apply. And the ground truth category is only 75-85% agreed upon by humans for some videos. The dataset was not constructed to have 100% performance by humans.

I guess to evaluate accuracy fairly you'd have to run another Amazon Turk project, where you run a classifier over the data, take the top 5 and replace the bottom one with the ground truth if it's not there, and then quiz the workers as to the best category. But it's a million videos.

1
232425
45