Better HN
topnewbestaskshowjobs
Log inSign up

rtpg

21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions

real name: Raphael

blog: https://rtpg.co

email: raphael at above domain

Submissions

comment 10y ago · link · parent

In chip manufacturing, there's a way to make a "random" pattern on a chip, unknown even to the manufacturer. So a part of the SoC is random, but can be read by other parts. That becomes the random ID.

Imagine it like taking that piece of paper to give lottery numbers, throwing a couple darts on it, and then using that as the ID. Except the dart throwing happens in a way where you can't actually control/see the result during manufacturing.

There's a term for this that eludes me.

comment 10y ago · link · parent

There is a more forgiving interpretation. Even if the FSF has not actively discriminated, it chose not to help support one of its members from the effects of discrimination. This can be seen as a protest against inaction.

How big is the FSF? If the organisation is pretty small, I would be concerned.

Matt Levine recently had a piece on the Wells Fargo events:

>“The 1% that did it wrong, who we fired, terminated, in no way reflects our culture nor reflects the great work the other vast majority of the people do,” he said. “That’s a false narrative.”

>You hear bank CEOs say that sort of thing all the time when a few rogue employees do bad stuff that incurs a big fine for the bank, but there are never 5,300 of them. It is the sorites paradox of "a few bad apples": If one or two or eight rogue employees don't reflect the broader culture, why should 5,300?

At one point actions do reflect on the entire project, though the line is fuzzy.

I think the last line is a bit strong. I've seen much worse language elsewhere, of course, but I don't know if it serves the point. Though empathy should be had for Leah, I imagine it was not a decision taken lightly.

comment 10y ago · link · parent

it's either self-hosted or at least $20/user/month. This alone makes it a bit of a hard ask for smaller companies at first, even for just kicking the tires.

comment 10y ago · link · parent

I know some libraries are big but this one seems pretty small? A lot of files but each one's less than 1k.

If you set up a concat+minifying step in your process (you should be doing this anyways if you're shipping a real amount of JS) then the total cost of a library like this might just be a couple kilobytes.

Angular.JS (which has a huge amount of functionality in its core) is only 50kb gzipped.

4445.

“... it's my fault that Google shut down Google Reader”(twitter.com ↗)

70 points · by rtpg · 10y ago · 36 comments

comment 10y ago · link · parent

If you have evervplayed MTGO you might see that Magic's complexity doesn't transition super well to digital.

Though Hearthstone does have its own set of issues like you mentioned, I'm very glad they drew the lines on complexity where they did (notably no user interaction on opponent's turn except for secrets)

comment 10y ago · link · parent

Could this just have been the Physical Web stuff?

4448.

Being Careful Around ORMs(rtpg.co ↗)

2 points · by rtpg · 10y ago · discuss

comment 10y ago · link · parent

Is it really square pegs for round holes?

I don't think that the web as a mechanism for distributing applications would look much different even if it hadn't gone through the HTML stage. If not JS, it would have been Java applets. If not HTML, then some weird XML layout schema.

There might have been a time where the web as a platform for applications was beyond silly, but this is not htat time. The platform is decidedly for shipping applications as well as pages.

comment 10y ago · link · parent

Well in the US early voting is pretty big so you get basically 10 days to vote. I feel like this doesn't come up a lot (though I still think having election day be a holiday is good)

comment 10y ago · link · parent

I know a lot of people use Postgres (myself), and I was looking at the source recent, it seems pretty high quality. Makes it all the more surprising that there aren't really any performance tests.

Reviewing and pulling things in is always hard, though. In other software I highly recommend always breaking up big things into smaller changes if possible, but I don't know if that works well for the conservative release cycles for DBs.

Though maybe the conservative release cycle is what's wrong? Having to do a refactor to implement a feature doesn't mean that you need to do both at once.

comment 10y ago · link · parent

Well TARP worked out pretty well, right?

I think there's a logic to QE in scenarios like the credit crunch, since suddenly banks need cash and there's a bunch of illiquid assets on everyone's balance sheets. But I do agree that owners of treasury bonds aren't really going out and spending their proceeds at Wal-Mart for a while.

comment 10y ago · link · parent

So my vague understanding is that QE and stuff is technically printing money, but the resulting money isn't really being used for anything.

Is a bubble a bubble if the extra bubbly-ness is from stuff that doesn't get used?

EDIT: actually, answered my own question. QE raises asset prices (even if the sellers aren't really doing anything with the money), and at one point people will be like "wait, none of this is worth the price it's at" and then panic (unless QE Infinity).

comment 10y ago · link · parent

I think there's a bit of that in git in particular.

The irony is that if you think of git in terms of deltas, with branches just being tags to commits, and "git commit" actually being "git commit + move branch", then a lot of stuff is easier to reason about.

Like, if you get the notion of working tree, staging area, commits, and branches on a deep-ish level, things get easier. Things can still be hard, but there's a lot less "does running this cause everything to disappear???"

I think it would be possible to make this awesome page even more awesome with a little "annotated version" that gives the details of what you're actually doing.

comment 10y ago · link · parent

I'm kinda surprised about the community argument. I've generally felt that people are nice enough, if a bit conservative. Though I guess this is the community that produced Python 3k, so something must have gone wrong

Especially to hear that someone went from Python to Ruby... I still feel raw for getting yelled at in IRC for trying to understand how blocks differ from anon. functions and about not doing things the "Ruby way"

comment 10y ago · link · parent

Google doesn't do this on their more full-featured apps like G-Mail or Google Docs. Docs ships a bunch of files and stylesheets.

Search works well because they have relatively few features to support by default (for things like the calculator I bet they ship that in with the response).

comment 10y ago · link · parent

As a person who doesn't get to use Excel much but wants to... is there such thing as "fun" Excel problem sets? Like Eurler Problems but for Excel?

Some kinda meaty stuff rather than just "here's how you sum"

comment 10y ago · link · parent

This is a pretty eternal problem in software development. I now think that it is our jobs as developers to properly identify how things should work.

We're often not experts in the domain we're working on, but by asking questions about a user's workflow on a more holistic level, we probably have more insight into what workflow would be the most productive from a systems standpoint.

Of course, this is a back-and-forth. Sometimes users aren't sure of what they want. And sometimes we're not sure of what is the "best" system for what the users want.

Instead of asking the user where the button should be, ask them when they press the button.

comment 10y ago · link · parent

So what?

The talk organizers were faced with a dilemma: either keep Crawford and lose a bunch of other speakers or lose Crawford but keep others

I do think clarification is needed, but I could see "being a jerk " as a legit reason to not want to associate with someone. People do the same with people like Torvalds

Being unliked is also a reason that people won't want to associate with you.

comment 10y ago · link · parent

Though I don't know many predictions on 2008, many economists did correctly predict how badly the Eurozone would end up due to the single currency but different fiscally policies.

Germany (basically the strongest eurozone country) has only grown something like 0.7% annually over the past 8 years

comment 10y ago · link · parent

I went through a similar experience. The fact that I no longer have to dual-boot with windows to run some stuff is good, but the big thing is the amount of UI polish I get with Mac apps compared to linux equivalents.

I bet there's an untapped market for Linux releases for a lot of mac tools

comment 10y ago · link · parent

I guess the question is whether this thing that follows 2005's style is timeless... I suppose from the reaction of people that it doesn't?

Though the only interface that I can qualify as timeless is maybe the PS2/3/4 interface XMB (10+ years and still basically the same).

comment 10y ago · link · parent

Recently (past 2 years, even less), the speech recognition tech has gotten much better in my experience. I can ask it things like I would ask a human, and it works.

I would try to use it again, but this time not concentrating as much on the speech, and assuming success.

Disclaimer: This works especially well for things like setting timers and reminders, but I don't really use it for replying to texts.

comment 10y ago · link · parent

Even in the bog-standard sort of software I write, I rarely find that choosing and applying a pattern is "mechanical".

Even if you tell yourself "oh, I'll use Observer", there are still so many details that can make your solution be boring and alright, or actually clean and magical. Foresight into how your structure will evolve, making things easier to test and read, separating the _right_ concerns.

I have copied stuff from Stack Overflow but always for solutions to a couple lines of code. I don't know what Stack Overflow answer I can copy for the general structure of my code...

comment 10y ago · link · parent

Has anyone bothered to write your counterargument in more detail?

I think I understand your argument but I wonder if anyone's really done the calculation... though I suppose the conservation of momentum itself a theoretical proof that the "other forces" have to cancel out.

Is it possible that classic electrodynamics are not wrong, but there's some other fundamental thing in play here? I'd be a bit surprised, given that this just seems to be such a simple setup, but maybe? One can dream....

comment 10y ago · link · parent

Also, stop connecting H1B to the hiring company!

If the H1B company isn't offering a good salary, the person should be able to change jobs to another in the US without paperwork. This would remove most incentives for a person to take a below-market wage, removing the downward pressure (that I think is theoretical but...)

Plus it stops treating people like indentured servants. +1 for humanity.

For companies whining about people leaving fast: don't offer shitty jobs! Signing bonuses exist for americans, figure out how to keep people without the threat of deportation.

comment 10y ago · link · parent

The theoretical ideas are still out here. It'd be more if someone figured out a way to do GPS (with relativity issues solved) and decided to keep that secret.

Bit of a devil's advocate for patents too. Sure, you can't build the exact same thing for a while, but at least the principles are revealed.

comment 10y ago · link · parent

The EmDrive website (http://www.emdrive.com/) has papers.

Quickly flipping through this paper[0], I think it explains the principles.

http://www.emdrive.com/FeasibilityStudytechnicalreportissue2...

comment 10y ago · link · parent

a major advantage is if I throw my phone into the ocean(not a theoretical attack!) I can still recover my OTP on another machine. Authy offers this pretty nicely

I would recommend testing theories of :

- losing phone

- losing computer

- losing both

and have reasonable backup strategies for these scenarios.

comment 10y ago · link · parent

It's for accounting improprieties, not a drug hustle. The fine is proportional to the crime. Even if we charged $800 million for this, would we charge $800 million for them not having a handicapped parking space at one of their offices?

Comparing to overall profits is counterproductive and dishonest. The punishment should fit the crime.

1
148149150
225