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

whitespace sensitivity is a pretty big pain to deal with in the current toolkits available for building out a programming language, unfortunately.

The pain is compared to the absolute and total simplicity of defining a grammar when you're in a whitespace-insensitive setting (parser generators are easy to express and efficient in deterministic grammars).

We have a lot of good parsing tools out there, but we might be missing the right tools for building out good lexers

comment 11y ago · link · parent

It's been 11 years since the widespread introduction of 64-bit processors in consumer hardware. I think it's a pretty safe assumption to make that a vast majority of people are using 64-bit-capable machines.

There are advantages to the "hardware upgrade" treadmill if you're on a laptop (not many laptops got 9 hours of battery life in 2003), and if you open an IDE from time to time, or do heavy consumer-facing web development, having a computer from the last decade is useful. Also easier to run a high-res multi-monitor setup if you have some good speed behind that.

It's possible to be good and capable on the machines you're citing, but the overwhelming majority of software developers (even the ones using vim/emacs) are not of the linux + xmonad type.

comment 11y ago · link · parent

DRM is not the reason youtube uses flash, browser support and feature usage. HTML5 video APIs are still frustrating to use compared to flash's pretty well built-out mechanisms.

comment 11y ago · link · parent

>That said, for my side project ( http://artfulmac.com ) it is absolutely worth it to me as a solo developer to pay Apple their 30% to have them handle fulfillment (including system-integrated update notifications), payment processing (with currency conversion), tax form creation, and refunds. It's a trade of financial overhead for time. The App Store also conveys a sense of trust to consumers.

There's also the fact being on the App Store is a form of advertising. I think this is more obvious in Steam, which basically creates markets for games that had none before (usually because indie game developers are not necessarily good marketers). I know I've "browsed" the App store to look at things.

In these sales, it's not getting only 70% of revenue you would have otherwise, it's getting money you would not have gotten at all if you weren't present on the store.

comment 11y ago · link · parent

>For one thing, it means you cannot work with files larger than maybe 3 GB, or even 3 1 GB files, in a 32 bit process.

Serious question : is it bad to assume a 64-bit capable running environment for developer's computers nowadays? I feel like it's better to run with something simple (and way less error prone) if the cost is some 32-bit issues like stated.

Granted, vim is a special case, since we're running this through ssh on servers or whatnot.

Lots of really good cases mentioned in this post, though, bet you make a good debugger

comment 11y ago · link · parent

Here's the thing I don't get. By default, you're receiving bitcoin and sending out dollars/yen. By default, there should be no discrepancies! I feel like you would need to be actively incompetent and trying to do tricky things for this to go out of sync.

If I had a box, accepted apples and oranges, and would give them back to the owner if asked(taking some slices as payment fees, but at transaction) , at what point can things disappear? The only thing I can think of is race condition style things, but that's a single point of failure right?

Maybe I'm missing some complexity here

comment 11y ago · link · parent

maps and filters are things that have existed for a long time, and are extremely commonplace. They are also very representative of common operations in programming.

Not having generics means we can't properly build these ourselves, and Go doesn't offer list comprehensions, so instead we're forced to for loop.

comment 11y ago · link · parent

they have little feet, they could totally put ventilation on the bottom (in fact many laptops do that already)

comment 11y ago · link · parent

On this, I've had taxis sneak up in me (small streets) because they were hybrid and were driving slowly. I , for one, like that fake car noises are a thing. Maybe a new sound would be necessary though

comment 11y ago · link · parent

Can someone explain the harm this causes the airlines? I get there's a bit of an opportunity cost because they'll have an empty seat, but apart from that? I feel there's something more here

comment 11y ago · link · parent

The fact that being late one day can get you fired speaks to the state of labor rights in the US.

Think of all of the things that could make you late. Protests, sure, but a broken down car, a car accident (yours or somebody else). Hell, if the President comes around they shut down a bunch of lanes of traffic.

comment 11y ago · link · parent

so rights only exist until it becomes slightly inconvenient to people? There's a pretty easy slippery slope argument there. Are train drivers allowed to strike? Can the NYT publish articles revealing how terribly a company is run?

Protesters are encouraged to coordinate with city officials so that people won't be "too inconvenienced", but last I checked it isn't a constitutional requirement.

comment 11y ago · link · parent

I think his point is that the letters are coming from the 5%, where there's a silent majority. There's a silent majority that is probably frustrated by protests on the interstate, but arresting people for the "die ins"? I think most people agree that those protests are well within the freedom of assembly.

Not many people write in to feel they are moderately satisfied with the way things are going, I would think.

comment 11y ago · link · parent

Maybe for the newest hardware things are fine and dandy, but even for a laptop I bought 2 years ago, I have some pretty basic linux driver issues (mainly graphics cards). Battery management issues as well. If 50% of the population were using linux this wouldn't happen

comment 11y ago · link · parent

I think it used to be pretty common to use metals instead of currencies to denote debts, for reasons mentioned in this thread.

I have a friend who once lent me money in one currency, but denoted the debt in "in X Euro or (X Euro in Yen at lend date), whichever is worth more", which I'm pretty sure is the best way to deal with inflation problems as a lender.

comment 11y ago · link · parent

Debts are usually denominated in a currency, so if the nominal was 100 pounds, even if that used to be worth 100 times more before, that's what the government needs to pay.

comment 11y ago · link · parent

Honestly, I've only seen the "tricky" Download Now buttons on shady video websites (read: those that have all the episodes of Seinfeld on them).

Though I've had more and more invasive ads in newspaper sites (the fact that I get so many ads on NYT's site despite being a subscriber is frustrating to say the least), I do like keeping free websites running. I find using ABP to be somew immoral , violating the contract with which you're looking at someone's content. I have less sympathy for people who are basically showing stolen content (not technically stolen , but still), though...

comment 11y ago · link · parent

this is mainly due to having many images on your website (memory can store uncompressed images to save CPU cycles when rendering)

Also, last I checked, most phones have 1 to 2 gigs of RAM, and they're not keeping many tabs in memory. If the RAM is there, using it is not really an issue (until you start getting into the whole virtual memory stuff I guess)

comment 11y ago · link · parent

actually, it's really easy to avoid publishing your location. Turn off GPS.

This precludes Google Maps usage, though, which is frustrating to say the least.

I share frustrations with Facebook pinging for my location on my phone when I'm not doing anything linked to my location. But here, on Instagram, there's a very obvious "Add to Photo Map" button (which is off by default!), so these people opted in to this.

comment 11y ago · link · parent

The US still has an exceedingly poor lower and middle class, and even if tech has helped alleviate that (cheap phones/tablets let more people be connected), general quality of life for the average American is worse than many places in Western Europe, in Japan, SK, etc.

There are structural issues with how America works that has prevented trickle-down economics from being a reality.

comment 11y ago · link · parent

>It's pretty clear that the UK would arrest him the second he walked out the door and promptly turn him over to the US

How is this clear? A warrant for his arrest is for extradition to Sweden. In the case that the US wants to get him, he would then have to get the permission of the UK and of Sweden.

Last I check Assange doesn't have a warrant for an extradition to the US

comment 11y ago · link · parent

As to executables, I think the big issue is that people keep on packaging some variant of Node-Webkit into these sorts of programs. What we need is something like the JVM for Node-Webkit: install once, and then apps only have to ship the application code (like Java apps don't ship with a JVM most of the time).

I think Firefox and Chrome have things, but we need that be unified (and I'm not sure if they're too sandboxed for local apps)

comment 11y ago · link · parent

It's kind of interesting how the dynamics of the game completely change with the pistol. Since you can get rid of entire rows now, you have rows of same orientation stacked upon each other all of a sudden.

comment 11y ago · link · parent

so one thing is that battlecries trigger before the "summon" effect, and it's a stack, so you do one effect, resolve those consequences, and then go to the next effect. In the case of multiple effects being added due to one effect, it goes by seniority (cards that have been on the board longer trigger first).

There's a decent amount of noted rules on it, but you get some strange things like Kel'Thuzad ( which was completely borked on release, not sure about it now). I think the general rule is "the code is the spec"

comment 11y ago · link · parent

text is good for one-way information sending, but I've found that when you need to actually discuss something, a 3 minute phone call can replace a 15 e-mail exchange.

comment 11y ago · link · parent

Surge pricing in Uber's case is not rent-seeking if surge-pricing actually increases supply (i.e. more drivers on the road). My gut says it doesn't ( don't think that drivers get out on the road fast enough), but I don't have the data to prove that.

But in the case of parking spaces, I don't see how me being able to out-bid you for the last space makes me a more qualified candidate for that parking space. I'm paying a higher price for the same good, the number of spaces isn't going up, and the owner got richer without adding any value. Textbook definition of rent-seeking if I've ever seen one.

High parking tension means that people will try to make more parking, but is that the most effecient allocation of resources? What about alternative solutions, like mass transit? This is a digression, but you mentioned it with supply.

On a more pragmatic level I don't really think the ultra-rich have that much more of a right to a parking space downtown on a Saturday any more than I do, and a parking space is more or less a public good (and should be shared as such).

comment 11y ago · link · parent

I'm sorry, but are we talking about the same company? Uber is not replacing taxi drivers with robots, it's replacing taxi drivers with taxi drivers. It's a dispatch service with a nice payment integration system. No matter how well it is done, there is no quantum leap to it.

comment 11y ago · link · parent

There's been enough studies showing that people having more than 0 weeks of vacation is beneficial, good for productivity, etc. Unions have secured that for people in the US who would otherwise not have access to this.

A lot of social movements granting more vacation time to people in France happened through generalised strikes caused by unions.

The argument goes that since people can be more productive when well rested and not sick, then companies can in theory pass the savings onto customers. Whether this happens in practice is slightly independent of unions getting health care and vacation for the workers.

1
185186187
225