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

>If you report an incident to the police and if they find evidence of sexual assault, what company or coworker is going to apologize for them or criticize you? Especially if they get convicted.

I want to believe this, but this is a society where a bunch of pepople on a football team got convicted for rape, and we had op-eds lamenting that these people's promising futures were "ruined" by the conviction.

comment 11y ago · link · parent

Haven't read the post, but a precision on Kyllo: extrasensory searches are fine if we're talking about doing it with commonly available tools. Binoculars are fine, helicopter-mounted infrared cameras aren't. The idea being that people _expect_ the public to have certain things but not others.

Now I imagine that most ways to get vitals would be pretty intrusive and require non-common (as in, not in use by everyday people) hardware, but generally speaking Kyllo only invalidates a certain class of instrument

comment 11y ago · link · parent

alternatively, just have a "use it or lose it" policy, where if nothing real is being done with the domain or you don't have an "intrinsic right" to it (say google should probably own google.co for various reasons), then someone else can just register it.

comment 11y ago · link · parent

but this isn't a DSL in the "in the language" sense, it's just a string. I like EBNF a lot too, I think writing (| A B) is not that much worse than writing "A | B" in clojure, but that you get the advanatages of manipulating a language-level object instead of an opaque string.

Let's not forget that string-based programming is the source of many many bugs

comment 11y ago · link · parent

I am a fan of parser generators, but isn't a good DSL (think Parsec) a nicer answer than passing in a string?

EDIT: this is still way cool in itself.

comment 11y ago · link · parent

You seem to be unaware of what TypeScript is. TypeScript is more of a high-powered linter than a new language. If you take Javascript and put it in TypeScript mode, most errors are due to variable reuse (x was a number and now a string) or actually an error in the javascript if you're trying to be well typed.

For a certain style of Javascript, making it Typescript is a no-op

comment 11y ago · link · parent

only useless if you never make a mistake ever. This shows what you should be vigilant for (alternatively , an argument for using a language with more checks)

As someone on HN once said (in jest), it's easy to write bug-free C, you just need to never make a mistake ever and spend a million hours auditing it.

comment 11y ago · link · parent

I'd say JSON is more on the level of s-expression than an ini file. JSON objects are extremely regular (your thing's either an object or a literal), more-so than your standard 2-level ini file. Plus there's a lot of stuff.

Sure, JSON might be a bit more verbose for the "Hello World" scenario, but in mid-range sizes, it's still pretty clear (compared to the verbosity of XML) and doesn't require custom tooling to deal with (like ini files).

There are some formats with less braces (replaced with indents and with less key stuff) that are (I think) isomorphic to JSON that would be nicer to use for everyone involved, though.

comment 11y ago · link · parent

How well does this work in practice? I mean for a web server don't you still have to hook up _something_ in the server (at least to start up the binary)?

I mean in _theory_ setting up a Django webserver is just a ./manage.py runsrever but in practice there's a lot of stuff to fix up

comment 11y ago · link · parent

>Please provide a single example of service that can be provided by CCs but can not be provided by companies that operate on Bitcoin network.

more or less instant transactions? Like the guy said, transactions take forever with BTC

comment 11y ago · link · parent

would just like to point out that bitcoin is fairing much worse than the currencies of Russia, Iceland, Greece, or Argentina, so not necessarily a great primary currency

comment 11y ago · link · parent

Too true. It's important not to forget that, at least in the US, we find it acceptable that there are people who have to work more than 1.5 full-time jobs to survive.

comment 11y ago · link · parent

Well when Django started out it was this small project for web developers, right?

Anecdotally, I've found the compiler people universe and the web developer universe to be pretty disjoint for a long time.

comment 11y ago · link · parent

My gut feeling is that community voting is more than enough to make HN an echo chamber.

Think about it, if you see a slightly greyed-out comment, that becomes a data-point in interpreting the comment.

Though compared to other places with such strong voting mechanisms, the echo chamber seems to be less in effect. Only topic I can think about where it really comes out is articles on Uber, bizarrely.

comment 11y ago · link · parent

This might be true for general purpose languages, but as a data point Django's templates suffer immensely by the implementers being unaware of how to write a fast compiler/interpreter.

comment 11y ago · link · parent

For this sort of thing, with a fixed amount of developer time: - Performance - Stability - Actually working

you can pick 2. Also, if you pick performace, 50% of the time you can only pick 1.

Everything is a tradeoff but it's a lot easier to sell something slow than to sell something that doesn't work, and a lot of the performance costs are due to general techniques encoded in these frameworks that reduce bugs.

Another thing is that things do get faster. I think V8 has gotten 10x faster (at least) on real code since its inception. And that's despite JS not having changed.

comment 11y ago · link · parent

Atom is very different from other things. The editor component is something that revolves almost entirely about state, and a huge amount of state at that.

I think the future is, like many abstractions, one where your tighter loops escape the abstraction (like numpy's C bindings). There's still advantages on a big-picture scale to using declarative frameworks like React

EDIT: one thing is that a text editor can know a lot better how to edit the DOM after an event (like hitting a character) than React's general algorithm

comment 11y ago · link · parent

I've spent some time recently figuring out that SQL is nice. But my issue has always been the same : how do I coalesce that with best-practices in other things.

For example, how do I apply DRY and use SQL ? How do I apply type safety principles? How do I avoid syntax errors?

It feels like this ends up with building some sort of ORM.

Anyways, I'd love to hear experiences on interfacing SQL with "good" safety principles in larger-scale projects

comment 11y ago · link · parent

I wonder if we'll get digital scans of the pages or something anytime soon. This is cool, but I don't want to have to get a doctorate in history to be able to flip through it.

comment 11y ago · link · parent

This is one place where iOS trumps Android. Per-permission switches on apps is really great.

There's also an issue with "leaky abstractions" on android, where some useful features require extremely invasive permissions.

comment 11y ago · link · parent

well the thing is this thing has to stay connected to bluetooth the entire time, so that's part of the battery. The animations are also 3 frames or so... so maybe it's fine.

I think the ghosting comes from not explicitly setting bits. with the color e-ink screen you're probably resetting a lot of things, so even if ghosting is present, it's not very visible (especially after a lot of changes)

Looking at this closely though this _does_ remind me of something like the GBC screen. This might just be LCD.

comment 11y ago · link · parent

3 years is not enough time to commercialise in a lot of industries. Maybe would make sense in software, though software patents are silly to begin with

comment 11y ago · link · parent

median taxi driver pay is $32k, and most of them are actually employees of the taxi company so don't have to deal with the car stuff.

comment 11y ago · link · parent

pretty sure it's not that. color e-paper tech has been in the works for years now

comment 11y ago · link · parent

they don't, but they want to have a way to verify who you are for things like the sync feature. Even if you don't want to use the feature.

This is a pretty good example of not doing something because it represents a minority and would make onboarding more difficult for their actual value-add.

comment 11y ago · link · parent

You do realise that with authy you're just registering TOTP stuff right? It's not on the same level as what you're mentioning. It's like complaining about having to use Firefox instead of google.com

comment 11y ago · link · parent

Even in a simple language, simple things should be simple. Granted, it's easy to make complex things sound simple, but the example given seems simple.

comment 11y ago · link · parent

A couple years back I got fast tracked for the first time through a TSA line ( France -> Chicago ). Person who was sitting next to me in the flight was just as American as I was but hey her skin was dark (4th generation Indian parents or something?) so she got pulled to the side.

Based off of similar discussions I've had with other people on flights like this, a really good first approximation of the stopping time is "color of skin."

comment 11y ago · link · parent

Can anyone here comment on the veracity of this? Seems like a no-brainer based off of the video that even large-scale producers would want to go with this sort of hive.

comment 11y ago · link · parent

probably not nearly as much as we'd believe. Pretty much every case of border frustration that I've heard from this group of people has usually turned out somewhat founded (like when Greenwald's partner got stopped while he was actually carrying confidential documents).

Then again, police harass people for no good reason all the time, so the TSA could very well have the same culture. Not a huge fan of security theater.

EDIT: stand corrected, the harrassement by the DHS agents described in this is pretty horrible

1
180181182
225