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

The Ultimate Game Boy Talk[0] (listed in the page) is one of my favorite talks of all time.

If you were to send this talk to someone, with basically just the videe they could likely build a faithful Gameboy clone. It's so dense, easy to understand, and comprehensive.

I'll listen to it form time to time and think about all the cool tricks it reveals. Super impressive to have that much knowledge for a system that only had a couple thousand programs ever written for it.

[0]: https://www.youtube.com/watch?v=HyzD8pNlpwI

comment 9y ago · link · parent

There's a lot of jquery code out there that's basically lines and lines of for loops to maintain a state machine. Stuff that all these nice frameworks handle for you in a clean, bug-free way.

Almost every day of the year,

   <div id='business-class' ng-class="{selected:seatType=='business'}">
     Business Class
   </div>
feels better to me than:

    $('#seat_type').on('change', function(){
     if(this.value == 'business'){ 
         $('#business-class').addClass('selected');
     } else {
         $('#business-class').removeClass('selected');
     }
    });
There are other considerations, angular/React aren't the only solutions to this... but having something to handle this sort of stuff cleanly and generally is a no-brainer to me.

jQuery's an amazing tool at the low level, but there are some higher-layer stuff we can easily apply to manage state.

comment 9y ago · link · parent

You say there's no consistency, but you've just stated the consistent rule.

Twitter gives the status to people who have good connections to Twitter.

Given we all agree on this being the actual state of things, getting mad at them for giving this status to white nationalists makes complete sense. Twitter is boosting these people with this verification process that serves to boost their friends.

If we think that the blue checkmark makes you belong to the country club, who you let in is a signifier of Twitter's beliefs.

comment 9y ago · link · parent

Companies like General Electric have been able to survive many decades.

I would say that given the scale of companies like Amazon in particular, the null hypothesis is more that these companies will exist forever.

comment 9y ago · link · parent

Ah, I think I misread the original comment to be something like "drop the coins in the tip jar". Please disregard.

comment 9y ago · link · parent

This works less well with other currencies

If you're working with euros your largest denomination coin is 2€ . In Yen it's 500 yen! This is not chump change and just throwing those coins into the charity box can leave you with effectively increasing your lunch pricing by 50% if you have a "give all coins to charity" policy.

If you have the cash for it more power to you, of course.

comment 9y ago · link · parent

I think a common open source workflow is to have a forked GitHub repo and working off of this.

So in the end you have your local repo, your fork, and the organization repo. During a pull request process third parties might make pull requests to your fork to try and fix things

comment 9y ago · link · parent

a straightforward solution would be for YT to have some sort of revenue share bundled in for this feature. "Use our service, we take 5% for hosting/discovery". Basically what Patreon does.

comment 9y ago · link · parent

replace the ski resort with a money printer. That money printer has value, given it can print money.

You can also assign a dollar amount to how valuable that money printer is. So you can justifiably stick it on your balance sheet since this is a way you're making money.

There's a whole thing in accounting about assigning dollar values to things you own, here it's no different. I would argue that you shouldn't really assign potential revenue from the ski resort, but depending on your circumstances it _could_ make sense.

Accounting is a bit arbitrary in the end, since there are multiple logical ways of representing things. In most cases it's impossible to claim that one way of thinking is wrong... at worst you can claim that it doesn't match accepted practice.

comment 9y ago · link · parent

This might be more pedantic RE the comparison to Google, but there's a good subset of people who think that Bitcoin provides no value.

I think there's a lot of interesting innovations in the space, but I can think of a lot of counterarguments to Bitcoin's "value". These are points I've heard...

- distributed ledger: In practice, things that require ledgers also have a degree of trust between parties. They also usually are bound by contracts and laws. Enforcement power is necessary for ledgers to be useful

- store of value: Many different securities exist with less volatility. Also I either store my value in exchanges I can't trust to stay solvent, or I am now hiding my BTC under my figurative couch and can't use it super easily.

- Transaction mechanism: For small transactions, the mining fees are prohibitive and the speed's not great. For large transactions, banks work fine. Each transaction uses absurd amounts of energy

I think the blockchain is interesting (smart contracts as a thin layer under "real" contracts), and can come up with theoretical use cases. But large-scale "real" usage needs to happen for a lot of these counter-arguments to become less compelling.

comment 9y ago · link · parent

To that point, from the article:

>“During the information technology bubble, we saw a rally in dot-com company shares. But at least at that time, there were people using Yahoo or (Japanese internet firm) Rakuten -- people were using their services,” he said.

>“But this time, I see quite a lot of people doing crypto-currency businesses in my circle of friends. But I hardly know anyone in person who is trading crypto-currencies and I haven’t seen anyone using them in real life,” he said.

Google is a real thing. The impression from a lot of people isn't that Bitcoin is "actually" worthless, but that it's not currently being used in society in a way that validates the high numbers we're seeing.

Shorter thesis: Bitcoin right now is fueling Bitcoin startups, but not much else. Google was search.

comment 9y ago · link · parent

Why though?

I need to stream something. I'm a car company. What's the point of making extra work for myself?

Greater control, perhaps, but for a press conference do I need this?

comment 9y ago · link · parent

Comparing C++ to Frankenstein is a bit of a dis-service to the time spent developing this language.

There's some bad innards from C compatibility, but that's only a small sliver of the overall language. The language overall is very big, but has a high level of consistency and.... dare I say orthogonality.

The open-ness of the language at the outset, especially around the breadth of available overloading, means that future improvements can work in an extremely wide space. It's one of the few languages that stays true to the "every type is a class, no type is special" philosophy.

It's powerful stuff and gives you more control than you can find almost anywhere else, especially with the more modern improvements that pull in a lot of goodies from other languages.

I'd say the biggest wart is the compiler-linking process... the fact that the preprocessor is still a thing is rough.

comment 9y ago · link · parent

It obviously depends on your use-case, but in my case I have the LG monitor recommended for the MPB.

This monitor serves as a secondary display, a laptop charger, _and_ a USB-C hub. I ended up throwing a USB hub on my desk connected to the monitor for keyboard + mouse.

When I get to my desk, I plug in one cable to the computer and everything works. I know that ThinkPad people have had this sort of stuff for ages, but it's much nicer than my old workflow of magsafe + display port + USB setup.

comment 9y ago · link · parent

Netflix has less "hard problems" in terms of operations than Twitter.

With Twitter everyone's data is interconnected. With Netflix, you could theoretically have each server just be completed isolated from each other (modulo account management).

Netflix has operational problems to solve in terms of bandwidth, though. There's definitely major difficulties there, but they're of a different variety to the high coupling Twitter deals with

comment 9y ago · link · parent

Or you can pay a nominal fee to GitHub and not have to manage anything...

I like that Gitlab exists but I am willing to pay a lot of money to not have to manage yet another server

comment 9y ago · link · parent

100% agreed that running a network on the scale of Twitter, with all the strong interconnections, is extremely hard. Probably the hardest, moreso than even things like Facebook.

I do wonder what the thousands of engineers are doing. I imagine there's a lot of fire-fighting, but is it only that?

It could be the case that twitter is constantly falling over, still.

comment 9y ago · link · parent

I understand the theory, but in practice this means if you want to implement a competing platform... you just need to write a Swift target!

Much easier for developers to go check out your platform.

More unification would likely also mean better abstraction layers across platforms, meaning that competing platforms could rely on those abstraction layers.

Think about how nice it is that most devices out there are running at least a flavor of Unix. You have a base-level expectation of how things can be integrated. There are of course differences, but generally if you write your stuff in a certain way you can use it almost everywhere!

And for those who don't want to work on Unix, all you need is a compatability layer to bring over some useful tools. Just get that C compiler up and running and you get a lot of stuff too!

The reason this is different from other forms of platform lock-in is that ultimately things like programming languages don't cover the full stack, so there are "obvious" places where you can swap either your language, the stuff underneath, or the stuff above it.

comment 9y ago · link · parent

I was talking more about a model that works similarly to advertising (pennies/fraction of penny per page view)

I'm more of a fan for direct payments, though I think a lot of sites would struggle with just that.

How many people will subscribe to Android Authority directly? Lots of sites basically get views from searches , but little long term engagement. Those sites are still useful, but only have ads as a revenue model that's "viable"

comment 9y ago · link · parent

On a first order that's right: We don't need all the ad people now that there's no ads.

But then we have to consider that 95% of the costs/fees for running ad networks would still be needed for cost-sharing models too. You still need third-party JS.

comment 9y ago · link · parent

Based off the demos, it seems like you can integrate HTML directly, so it might be possible to move from Bubble to "external API + Bubble frontend" in a straightforward fashion.

You could also likely put a layer in front of Bubble to only serve some pages with Bubble, other with your replacement.

Also from the FAQ: > The good news is that Bubble is fully extensible via Javascript plugins. The Bubble model is to write the core website functionality using our super-simple language, and plug in Javascript to handle algorithms that are hard to build in Bubble.

So you could probably add shims and move around.

I think the most interesting way of doing this would be something like embracing Bubble for a lot of work and having the "serious" code relegated to places that are easier to manage, like complex API or some custom widgets

comment 9y ago · link · parent

Do you keep your money under a couch?

I understand that there are more risks to moving data around but some companies will be better than you are at a thing.

It's very dependent on what your risks are. Data integrity is a big one, though non-siezability by US govt is important to others.

comment 9y ago · link · parent

full lifecycle studies are constantly being done on all power sources, the idea of factoring in the entire process has almost always been there.

Solar energy being a great solution to power generation is backed by a lot of research, as well as a good economic situation. It's not just a bandwagon.

comment 9y ago · link · parent

Here's a solution: if you sell your IP to someone else, that other person has to be independent.

This is done a lot in anti-trust settlements. You can sell your IP to Apple Germany, but then Apple Germany is independent and could go sell that/licence that however they see fit. Including selling to competitors of Apple US.

If you're transferring IP but the receiving organisation is basically under your control.... are you really transferring anything?

comment 9y ago · link · parent

Yeah I have this issue too, DDG's explicitness on this is nice.

the trick with Google, when its "language detection" isn't play well, is to add `hl=en` as a query param to the URL. This works on basically all Google properties as ewll.

comment 9y ago · link · parent

You're learning Django, and the error messages are in English.

There might be a Dutch programming blog talking about this error message, but they'll never be able to be discovered because any English source will end up on top.

Another example: you are traveling in a foreign country, and don't really know the local language. You Google for information about a restaurant, hoping to land on something Trip Advisor-y. You end up on the local website, that you're completely unfamiliar with.

You want to offer a blog for English-speaking expats in Paris. Your exposure in Google is really low because of the niche audience, and the fact that French sources about places you're talking about will be much more viewed.

comment 9y ago · link · parent

As someone doing a lot of language switching in my Google searches: should I preface every search with the language as well?

I search for some error message. Now I get answers in English. What if the person is actually German? Is everyone now going to be stuck with English websites?

What's the point of a search engine if you have to be super precise? Part of Google's magic is that it can figure you out even in imprecision.

comment 9y ago · link · parent

classic whatabout-ism that doesn't hold up to scrutiny, and more importantly doesn't matter.

"America is also bad!" would not be a defense to selling chemical weapons to Hussein. It's not a defense to helping build the Great Firewall. Your actions' consequences are your fault.

comment 9y ago · link · parent

>The money from regimes that have been criticized for their human rights records — from Saudi Arabia’s government in particular, which has plans to funnel potentially hundreds of billions of dollars into tech companies through its state-controlled Public Investment Fund

Lots of sovereign wealth fund cash, also people within the monarchy with money to throw around.

1
121122123
225