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

I think the point is that if you're juggling integers open you up to the huge correctness messes from before, even if theoretically you've gotten rid of your memory mess.

Granted, you could `Option`-up all your operations, but the dynamic GC languages (or even C++) will let you operate on stuff "correctly", so long as your implementation is right.

You can go `unsafe` and implement correct stuff and still be better than C++. I really feel like reference IDs aren't a great way to solve something like a doubly-linked list. Reference IDs make you lose almost all guarantees of correctness, unsafe + a good API will at least give you a fighting chance.

There are problems (like entity system stuff) where reference IDs are just the way to go, though

comment 8y ago · link · parent

If you live in most college towns you should know it goes beyond that.

A dumb example would be a video game store. College kids have a lot of time and unlike most old people might want to pick up some games. Sure, there’s Amazon but second hand stuff is cheaper.

On a different level, you have stuff like auto repair shops, grocery stores, even gas stations that get benefits from a student population in an area. We all gotta eat after all. Stuff like parks can get use as well

And if even 1% stay and start a business in the area afterwards that’s still something that likely wouldn’t exist otherwise because people tend to start businesses wherever they are.

There is a bit of a risk of simply feeding the students into the nearest large city but even then you’re looking at 4 years of student loan money spent on various consumables in the area.

The biggest worry is indeed for real estate pricing.... which is why it seems very reasonable to force schools to build appropriate housing for their students instead of just relying on local stock.

comment 8y ago · link · parent

Didn't the recent CPU bug mitigations add 10% perf penalties to a lot of big server farms?

We constantly pay this cost for other security-related issues, but when it comes to a systemic, one-time penalty that almost entirely eliminates a class of bug we freeze up.

Obviously it's a lot of engineering effort to transition but we don't think twice about other security issues

comment 8y ago · link · parent

"Oh man people are really mad at this person, therefore _the person must be right_"

You think that better arguments are going to convince people with this kind of reasoning?

Loads of people all over the place are just wrong. It happens all the time. And there isn't a moral obligation to respond to some wrong opinion over and over again.

People who think we need to have rational debates with flat earthers are not people who will be convinced by much. They are the 20% of people who think Bigfoot are real.

comment 8y ago · link · parent

Even in weapons manufacturing there are “no go” weapons like around biological warfare where even the simple production is seen as bad.

I am starting to feel like this makes sense in other domains (namely, facial recognition has almost only applications with bad side effects in practice)

comment 8y ago · link · parent

I think the subtler point is that the primitives have varying complexity, meaning that "get something by its key" is on the same level as the Mealy machine example. It's messy to read and is also kind of a waste of valuable global namespace

There's some nice magic in how quickly you can write mode as an expert, and part of the appeals of APLs are the power of some of the built-ins. There's likely other tools that would be more worthwhile in the `:;` spot than its current definition.

comment 8y ago · link · parent

in the ideal, those making the tools would provide this packaging, instead of asking all users to have `pip` properly set up. Similar issues exist w/r/t npm in my opinion.

comment 8y ago · link · parent

The issue we have is that the cutover is super hard to do in a zero-downtime way because we almost always have active connections and you can’t have multiple primaries. There’s tricks like read connections on the replicas but it’s still really hard to coordinate.

Given that Postgres has built in synchronous replication, I feel like it should also have some support for multiple primaries (during a cutover window) to allow better HA support

comment 8y ago · link · parent

It unfortunately doesn’t adequately solve “tweak and update the database software in the middle of the day without requiring downtime” situation very well

We do rolling releases of software all the time but it’s pretty hard for us to do much optimisation of our DB setup without doing it in the middle of the night because of how all this stuff works.

comment 8y ago · link · parent

There are very few commercial sponsors for Python and related projects. Django has enough resources for basically one full-time paid contributor, but that’s it. Huge amounts of Python infra is maintained in people’s free time, despite powering so much

comment 8y ago · link · parent

Totally agree. Japan sticks to a 9-5 but its clocks would work much better in a 7-3 environment. Totally misplaced

comment 8y ago · link · parent

During this member states could decide to stick to year long summer time. It’s not like winter time is very useful and “noon = sun above head” is not a really useful property of time at this point

comment 8y ago · link · parent

Not only is the term problematic, in many usages it’s not even really right! In the IDE example the master/slave terminology is used just for coordination of a communication pipeline, and has very little to do with the master determining what the slave is doing. Primary/secondary would actually be better semantically

comment 8y ago · link · parent

> Should CEO's have to hide their recreational drug (of which alcohol is a subset) use?

It’s not even about the drug use. Just a general lack of professionalism. Like if he showed up for this interview and ate 3 gallons of ice cream. Why is he participating in such stupid bits for a radio show?

The galaxy brain take is that Elon has always been doing this, and his dumb flamethrower thing is what should get people mad. Don’t tweet about lack of sleep while wasting your time on dumb jokes

I mean people are allowed to have fun , but a bit less so when the company they’re supposed to be running is supposedly falling apart

comment 8y ago · link · parent

To be honest, Twitter has been pretty eye opening about the value of "expert opinions" on a lot of stuff. It has become the perfect platform for self-owns (granted, the format doesn't help)

I've found that HN tends to upvote "good" comments, so most threads end up bringing the important stuff on top. Usually the insightful stuff comes from experts, since being an expert helps! And people like patio11 end up consistently on the top of comment threads because it's Good Content(TM). But sometimes someone relatively unknown will simply be making a good point. That's what I'm here for, the good information. And at least in our industry, either the experts are on here, or they're not but their followers will post a link to their blog/G+ and the information shows up on here anyways.

If we had Twitter-style "voice proportional to follower count/retweet potential" stuff, then a lot of things would fall through the cracks. Sometime's I'm curious about what person X thinks about a thing, but I've found it's a feeling too similar to wanting to hear gossip/validation of my own thoughts, rather than the Quest For Knowledge.

comment 8y ago · link · parent

I like reading books, but there's nothing inherently good about getting knowledge through books.

Especially a lot of the "entrepreneur" or "productivity" books, where you have 80% padding because nobody wants to buy a 40 page book.

comment 8y ago · link · parent

GP was worried about problems that unionization can help to tackle, if only to counter the massive power imbalance between the owners of capital and the workers.

As for remote work: I’m 100% good with that, but I also believe people shouldn’t be constrained from living in the general area they would like to if they have the means. Also , a lot of people simply don’t like remote work in the first place, and there can also be similar wage depression effects (and other political issues) that can make it a less-than-ideal situation

comment 8y ago · link · parent

If we gave immigrants more job mobility (notably not attaching the people to the company they work with or making the process so complicated that you need corporate sponsors to go through) then wages would basically be the same as for locals.

Software engineering has the lowest unemployment of any major job category in the world. Beyond it being the right thing to do, making it easier for people abroad to work in the US with the same level of freedoms granted to citizens (including the “right” to get poached at a higher salary) would only help the industry and those within it

Another thing: if software engineers weren’t afraid of unionizing, then companies would have a hell of a lot harder time slowly replacing you with cheaper counterparts. Demanding equal pay for equal work, no matter where your coworkers came from, attacks the core of the problem

comment 8y ago · link · parent

Maybe a bit tangential, but do you feel if regulatory bodies were given more power to execute on already existing laws and to investigate this kind of fraud, we could prevent 2008-style crises in general?

comment 8y ago · link · parent

This is not a proper representation of NYT's opinion board. Beyond the absolutely dishonest stuff of more recent hires to the op-ed board, they have multiple conservatives on the board repeatedly publishing their "actually the problem is the leftist college students" every couple of months. They also have a couple "mainstream liberals" publishing inoffensive (but rarely courageous) pieces that usually match what centrists want to hear.

the WSJ subsidizes a lot of bow-tie conservatives, but the NYT is also granting credibility to a lot of bankrupt lines of thought that have no actual real support in this country. Banning abortion has less than 20% support in the US, yet if you read the opinion pages of the NYT you could only think that both sides have roughly equal support.

Really newspapers shouldn't have opinion pages. It's literally the comments section of their newspaper. Just let journalists call a duck a duck, so then you don't need the opinion pages to point out that, maybe X is bad.

3381.

Taxi Industry Regulation, Deregulation, and Reregulation (1996)(papers.ssrn.com ↗)

2 points · by rtpg · 8y ago · discuss

comment 8y ago · link · parent

The BS crisis actor narrative and conspiracies pushed by Jones are not the null hypothesis , it's actively pushed by them.

If you take away the mic, there's nothing left to disinfect. It's the formation of conspiracy believing, self-reinforcing cults that cause these narratives to begin with

comment 8y ago · link · parent

SemVer is a starting point. If it's a major release you can prepare yourself mentally for a lot of breaking changes. A point release... probably not

In any case you need to read through the changelog or (absent that) the actual code diff and think about how you use the application. It's not 100%, but no versioning system will be able to identify how you use code and how you expect the semantics of an application to be.

comment 8y ago · link · parent

Django is my gold standard for this. They have great deprecation policies where they deprecate something in the same release that they add alternatives (allowing for you to fix things up before upgrading Django), they document these changes liberally and offer alternatives, make good use of the warnings system (meaning you can run tests in "deprecated functions not allowed" mode to catch stuff), and generally are careful.

I'm still shocked at the number of projects that make breaking changes without first releasing a "support both versions" release that lets people test their changes easily. Especially frustrating when you have really basic environment variable renames that could support the deprecated name as a one-liner so easily.

Give people the space to upgrade please!

comment 8y ago · link · parent

I... mostly agree but I think that the type-class use case allows for stronger DSLs that let you seperate code from effects in a pretty clean way. A lot of functionally pure stuff works off of this and building a DSL like this without type classes or implicits might be a bit messy https://www.chrisstucchio.com/blog/2015/free_monads_in_scala...

comment 8y ago · link · parent

The thing is that if you're extremely serious about wanting a flat power structure, you can accomplish this _via_ formal means

There's this false dicotomy between "freedom for people to self-organize" and "formal structures to maintain a system", where people see what pointy-haired suits do and conclude that informal orgs will naturally be better. But _something_ needs to be in place to maintain a good environment.

You see this with people talking about Toyota. So many people see Toyota and think "oh I should do kanban". But kanban isn't the thing, the processes that led Toyota to do kanban is the thing.

Similarly, the objective isn't "have a flat org chart", but "maintain an environment where a formal power structure doesn't weigh down progress for the company". That requires acknowledging the informal power structures and making sure that the players involved are willing to maintain that environment _through_ this informal power structure.

Informal power dynamics do not need to be dysfunctional, if there's a principle driving the players

comment 8y ago · link · parent

He keeps on saying they don't do enough, the times is able to do this despite not even having access to raw internal data

I feel like Twitter as an organization doesn't actually care about the problem, just about their image.

Why else would they talk about the hate speech stuff and continuously elevate groups like The Proud Boys through their verification process (that also affects their suggestion algorithms). And we shouldn't forget that many Gamergate people are still active on Twitter and often use their accounts to direct harassment to people on a regular basis!

The even more cynical view is that there's a group of employees within Twitter actively protecting these kinds of users

comment 8y ago · link · parent

You think chinese exchange students invented cheating on uni exams/copying people's homework? Man, you haven't watched enough teen movies about getting through school

And everyone talks about it! Why else would we, on an article about _industrial espionage_, get to uni students copying homework?

Acting like this is some sort of chinese predilection instead of a thing that happens all the time everywhere is not intellectually honest.

comment 8y ago · link · parent

It's pretty amazing how the narrative around labor has generate an expectation from employers that employees should get their skills from anywhere but them.

Skilled employees come from being trained and taught. They don't fall from the sky.

1
112113114
225