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

I can't vouch for everything about Japan's immigration policy, nor do I have first-hand experience with the US system. But despite Japan intaking a lot less, people who meet the "baseline requirements" (basically, college degree) can be consistently assured that they can get a work visa and not get arbitrarily kicked out of the country.

Similarly, even the smallest companies (like miniscule, 5-people startups) are able to get visas for people who meet the college degree requirement with basically no issue.

Also, they don't tie your work visa to your employer[1], so you don't get indentured servitude or the threat of getting kicked out of the country after being fired.

Meanwhile I have heard countless horror stories from many people trying to do even the most basic stuff when it comes to immigration in the US. And it sure sounds like you are, at a basic level, treated like a suspicious person who might be a criminal.

You can say "oh look at the numbers" but I have heard roughly zero positive things about the American immigration experience. And (what I think is the most important thing), I have heard many stories about the opacity and randomness of the American bureaucracy.

And, you know what? Most countries _don't_ just kick someone out on the first crime they commit. And they don't try to hold it over the head of the person. It's possible to have an immigration system that doesn't treat the people coming in as indentured servants.

[1] HSFP visa non-excepting, but if you can get HSFP you can get a standard working visa

comment 5y ago · link · parent

the "async/futures" way of writing code lets you write code that "looks like synchronous code" (write step 1, then step 2, then step 3, etc), while getting really good safety guarantees and not having to manage a state machine yourself.

The model doesn't work for all forms of concurrency, but I think it works for a lot of things that people at the "top of the stack" (application developers) do.

I don't know what kind of code you're looking at, in general, but you should be able to massage most async stuff into a list of things if you're not in callback soup. Granted, lots of people don't try to stay out of the callback soup, but.... I feel like even that is better than just like "try to validate concurrency invariants", which is a much harder problem for arbitrary code IMO?

comment 5y ago · link · parent

The person's point is likely that you spent a lot of energy on something that probably doesn't matter. This might be subjective, of course, but it is possible to think about something for longer than you should.

Navel-gazing isn't a virtue. Though ideally you probably want to be with people who think that the same stuff is important.

comment 5y ago · link · parent

This is a very conspiratorial vision of things.

Really, it's just that social networks work by having a lot of people, and lots of people are on Twitter because other people are on Twitter (I think there's an audience thing as well).

Though, to your point, I think Twitter has outsized influence for the same reason Google Reader did: loud nerds and journalists were always using it. Though now the politicians using it probably count for a lot too

comment 5y ago · link · parent

I disagree about this being good. I think this is ugly as sin. This is an aesthetics point but isn't most of this aesthetics anyways?

I want `select` and `dissoc`. I also would like for those to be performant (instead of requiring a bunch of copies). I don't want to have to choose between expressiveness and performance.

I don't write Clojure in the day-to-day but I think it hits those beats very well.

comment 5y ago · link · parent

I have something to tell you about CS researchers and whether they are actually good software engineers......

Seriously though, there are loads of papers out there that use ML variant programming languages (and not _about the language_) that I really wonder what papers you have been reading.

Let's not even get to all the older expert-system papers with stuff written in Prolog.

And yeah, loads of seminal CS papers are effectively just math.

comment 5y ago · link · parent

I think the libraries/standard collections having the functions they have is a _huge deal_.

Some other example, Python and JS are both similar languages in many respects. But even something as simple as not having list comprehensions makes JS more fidgety when you're writing simple code.

Python not having great utils for stuff like "give me this dictionary, but without these three keys, but keep the original dictionary intact" (Clojure has dissoc for this) also makes it a bit fidgety compared to Clojure.

"You can write all of this" maybe, but at one point you're really going upstream from the base language.

comment 5y ago · link · parent

Why not? Why does no longer publishing flat earth videos not kill the idea for the most part?

How do you think these critical masses around _specific ideas_ are formed? Qanon isn't a whisper campaign.

A thought experiment: we burn all books about Area 51 alien stuff. The whole myth would probably die along with our generation. There's no more stuff reinforcing it, no large traces. No more grainy photos.

That original quote might work for a general ideology but I don't think it works nearly as well when applied to specific narratives.

(Of course this works in all directions, see the obliteration of socialist movements in the 50s and 60s)

comment 6y ago · link · parent

The most basic reason for wanting a Lisp-1 would be to make code more context-free. "foo" refers to "foo", and you don't have to be aware of whatever special underlying context is there.

The closest parallel I can think of is Scala implicits. You give me a fragment of Scala code using implicits it might be hard to know _what_ is going to happen. Similarly, having a bunch of namespaces (or, perhaps more importantly, leaning into them and having many name overlaps) just means that it's harder to read a single code fragment and know what it's going to do.

Though I'm pretty partial to the argument that, like..... yeah you're going to call a function so the name refers to a function. But without extra symbols around this concept to help the reader, in this age it seems like a concept that is hard to take advantage of.

comment 6y ago · link · parent

The simplest explanation is that people in the US gov't act and believe this kind of stuff. It aligns with every piece of leaked private correspondence from these people, as well as public statements at the time and now.

If anything the last 4 years (mostly composed of "professional politicians" despite those at the top maybe being outsiders!) should be real "mask off" to the supposed genius and amazing tradecraft of the US.

Ocamm's razor here is that this was the memo.

comment 6y ago · link · parent

I mean "anti-competitive behaviour" are words with meaning in the context of society. And no, unionisation is _not_ "anti-competitive behaviour" in any legal sense.

You don't have to write some sort of universal program that can take a textual description of a situation and spit out "guilty/not guilty". You can make laws stating a thing, which a bunch of motivating text, and then direct prosecution against things that are against the spirit of the thing, and get judges to follow it (either through rulings, or if that fails, adding extra laws to make it even clearer what is up).

It's a social thing, not a logical contradiction gotcha. "Corporations may not engage in anti-competitive behaviour. Corporations who act as such shall be liable under anti-trust statues as if they operated as one. Also, price-fixing is not allowed." Then society and the rest fills in the blanks

comment 6y ago · link · parent

In the settings you can make yourself anonymous instead of associated to your GH profile (see https://adventofcode.com/2020/settings).

I generally agree with the sentiment and the leaderboards themselves feel very silly.

comment 6y ago · link · parent

I was referring to your 'well-armed society is a polite society'.

All this energy put into trying to say that "increasing gun ownership will somehow decrease crime" is frustrating because it clearly is missing the forest for the trees. None of the explanations seem to apply when looking at other countries in the world.

And.... like.... nobody's wallet is worth another person's life.

comment 6y ago · link · parent

What about every other developed nation that seems to manage without a fully armed populace?

If your theory is that Cali has crime cuz no guns, why do other nations in the world with stricter gun rules seem to get by without this “chaos”?

You gotta have some other variables in there for this to hold up.

comment 6y ago · link · parent

Isn’t it basically property damage?

Whose car is so valuable that they should be allowed to shoot someone for breaking into it?

Maybe there’s some deeper statistics or like a bunch of violent crime that I’m unaware of but my wallet ain’t worth the thief getting shot.

comment 6y ago · link · parent

The vast majority of web developers will never touch things like TLS configurations. We have stuff like nginx and WSGI for a reason!

Meanwhile there's a decent chance of them running into a problem that looks like binary tree manipulation.

Despite all the handwringing about btree reversal, not being able to improvise a solution to that is a much more useful indicator than not being able to describe even the basics of TLS.

comment 6y ago · link · parent

At least for Facebook it’s actually the opposite. FB’s UX flow and design works better for conservative media.

From a political perspective, there are a billion stories about how FB leadership actively reaches out to conservative media to try and keep the platform friendly to them (including things like allowing the Daily Caller to be a “fact checker” on their platform). Many stories of “oh this feature to prevent trending of outright false shit would flag half of conservative media. Let’s not”

The naive reading is they are afraid of conservative backlash. But I’m personally a bit done with giving them the benefit of the doubt. I think they are actively courting conservatives (sacrificing only the tiniest slice of the far right on certain high profile bans)

comment 6y ago · link · parent

Someone on Twitter said the maintenance is likely around 200k/year. I don’t know how they got there but at the same time you probably need at least one full time staff at that size right?

comment 6y ago · link · parent

Please note I didn't say "no files". I said "better clipboard". I like files as a thing to be exposed. But I think that for day-to-day work being able to move stuff around between apps without fidgeting around with files is very valuable.

comment 6y ago · link · parent

Files are emphatically _not_ good first class primitives for rich sharing.

If you have a contacts program, are you going to make each contact a file? What about performance or bulk editing? From that program's perspective, the ideal is probably to have a single file (SQLite DB for example).

But now you don't have granular sharing mechanisms except through a clumsy export which requires you to give a name to the thing and put it somewhere and open it in the other program.

Meanwhile I hit the share sheet on my phone for the Contact. Some apps know about this form for data and can ingest it. Others fallback to text. It's the clipboard model, not the files model.

Files are _fine_, and it lets you do stuff like reverse engineer the format and do cool stuff. But it's clunky as hell when you have something relatively ephemeral.

comment 6y ago · link · parent

Here are some mobile concepts that I miss on OS:

- not thinking about files: I can open Notes/Drafts on my phone and get a textbox. I kinda get this with Joplin, barely.

- Real sandboxing, with a nice permission layer

- Extremely easy sharing of data between apps. Of course files are theoretically a great sharing mechanism, but the sharing mechanism in mobile OS's are the logical conclusion of the clipboard

- URIs that go deep into other apps. Lets you easily say "go over here to see details" from a completely separate system

The fact that lots of stuff are webapps lets you get pretty far on Desktop too but I think these metaphors are power user features that the desktop could learn from

comment 6y ago · link · parent

Apparently people who are likely to win the prize tend to hear rumors beforehand and are mentally prepared for this (especially if they care)

comment 6y ago · link · parent

Hey, I wrote the original post.

Though theoretically any interpreted language gives you all of this, you actually might not have access to the internals in practice. JS (well, node.js and browsers) doesn’t expose GC internals (partly due to a spec requirement that the language be deterministic), and barely gives you good exception introspection.

There is also the ergonomic advantage of no static typing: you just get a reference and can figure out the type later. Very useful when poking around unknown objects. I imagine an API like this in Java would be much more verbose and requiring a lot of casts etc.

comment 6y ago · link · parent

I think the point is that the effort is maybe not as much as the lauding implies ("Guy makes WSYWIG editor in 10 seconds" is less impressive if I just use contenteditable)

I don't really agree on this reading for this case, but this _definitely_ applies for basically every 30 under 30 list and lots of stuff in VC-land (Theranos etc). Some people get a silver spoon of a situation and get lauded for basically showing up.

comment 6y ago · link · parent

I think this is a fun article, really fun little rawing.

But "imagine an SR latch!" is always funny to me in these kinds of explanations. The base circuitry for electronics have really powerful primitives, but if you are coming from first principles then it's like.... where did you get this from? In itself it's a really non-intuitive device, and only starts making sense in a larger context.

It's of course also what we actually do, just I think not something anyone would ever come up with in a vacuum if they were thinking "how do I build computers"

comment 6y ago · link · parent

well one problem is that Celery still has bugs and issues, and each new release fixes some bug of the month (it sometimes introduces new ones unfortunately).

There was a sequence of releases in 4.x that each had their own game-breaking bug for us, which has meant we have been stuck for a while (I've tried personally contributing fixes to this project, and fixed one bug, but another got introduced in the same release).

I would be happy about more granular releases, but I hope they could make more "bugfix-only" releases so I can make some forward progress on not having a busted task queue.

comment 6y ago · link · parent

It’s untrue that highways are “just as safe at 150”. There are a couple studies looking at the results of various states upping the speed limit on highways.

The conclusion is the intuitive one: more accidents and more likelihood of fatalities.

comment 6y ago · link · parent

Have you considered that I _have_ heard these arguments and _have_ listened to these positions, and decided the person is wrong?

In your worldview at what point can I start rejecting people's positions? Why do I have to give ground here?

"you can just lie" is a cynical position, of course, but people are faced with much larger dilemnas. I would like for people to have basic empathy and _not_ finance anti-civil rights movements. But hey, at least a public apology/fix does a bit of damage to the reactionary movement.

And maybe they are actually a different person or have reflected on their actions, and it's not a lie. Nobody's a mind reader.

And when you are directly affected/targeted by the movement that Eich is donating too, it's not just a conversation. The guy was funding an effort to take away your rights.

Maybe consider that "you have to be nice to people trying to take away your rights" is something that relatively few people would actually subscribe to.

comment 6y ago · link · parent

right but it doesn't actually matter. He had a choice and a way to keep his job if he wanted to. People do stuff in bad faith all the time! It's not the sign of perfect morals but it's a thing one can do if they want to keep certain relationships healthy.

He actively chose between "have a good relationship with employees at Mozilla" and "stick to his guns on the issue at hand". He made that decision, and had a hell of a lot of agency in how things turned out.

Granted this was a while ago, but imagine being so committed to anti-marriage equality that you do what he did? Why do you feel the need to carry water for somebody doing that?

1
99100101
225