Better HN
topnewbestaskshowjobs
Log inSign up

chartpath

453 karma · joined Dec 1, 2011 (14y ago) · 306 submissions

Submissions

comment 10y ago · link · parent

  "Some products are inherently unsafe, and that is precisely what the costumers want."
Radioactive material in tobacco might be mutually exclusive from nicotine and MAOI content. My layperson guess is getting rid of the radioactivity would require prohibitively expensive hydroponic growing. It's the drug part that consumers want, and I'm pretty sure if given the knowledge and option they'd go for non-radioactive cigarettes.

Swedish snus is made to minimize tobacco-specific nitrosamines (TSNAs), but seems to not address Polonium-210 on account of the radioactive stuff being "comparable to that from the natural background radiation sources or dental x-rays": https://harmreductionjournal.biomedcentral.com/articles/10.1...

That excuse doesn't seem to hold up to scrutiny. Who really wants to have 10-20 chest x-rays done per day? Are "dental" x-rays really as weak as "background" radiation?

Alcohol seems to be in a similar position - see the popularity of nice wine and beer over e.g. guzzling cheap spirits.

I think people want health AND pleasure, and are willing to do their own hedonic calculus.

242.

Ask HN: How do you measure confidence for similarity metrics?

1 points · by chrstphrhrt · 10y ago · discuss

comment 10y ago · link · parent

Walmart Labs believe it or not: hapijs.com

comment 10y ago · link · parent

Living in Montreal, I'd like to know what the company's response will be. I'll be sad if the service is discontinued, and am still rooting for Uber Eats to come to town.

comment 10y ago · link · parent

Love the "pools of thought" phrase. Is that in common use?

comment 10y ago · link · parent

Haha, but srsly I'm struggling with callback hell on the server coming from [lang_p], does this still apply?

comment 10y ago · link · parent

My fave in Québec is 'baladodiffusion' for podcast. Not sure if they say that in France too.

comment 10y ago · link · parent

Has anyone tried NativeScript? https://www.nativescript.org

Heard about it on a podcast recently, haven't had a chance to try.

comment 10y ago · link · parent

I have worked with DRF in the past. It is a very nice framework. However, I came to believe that it is too low-level for new projects. Do you really want to handle at least the following pieces of boilerplate for every API or endpoint?

- Request parsing

- Content negotiation

- Creating/rendering responses

- Subclassing or decorating custom views and/or viewsets

- Model mixins, CRUD glue

- Routing

- Content-type parsing and rendering

- Serialization/deserialization

- Validation

- Authentication

- Filtering

- Pagination

Personally, I found it was harder to get from zero to anything when having to slog through that level of verbosity. I'd rather save brain cycles for harder problems.

It was this experience on the job that led to the design of a better approach with Ramses: http://ramses.tech. You can also generate docs, tests and client libraries this way. If you like the look of that, I will make you an end-to-end prototype for free to help drive home the concept.

Some other awesome projects along the same lines are http://postgrest.com/ and https://flask-restless.readthedocs.org/en/stable/

comment 10y ago · link · parent

https://github.com/ramses-tech/ra

It lets you generate end-to-end tests from a spec file for APIs that are themselves generated from the same file. Same for client libraries and API docs, generate all the things :)

comment 10y ago · link · parent

This is true. I could be wrong, but aren't blockchain transactions publicly visible?

I was thinking more along the lines of having contract breaches being publicly visible, which would motivate the more sociopathic egotists of the world to keep up appearances of fairness. Making it harder to just move to the next victim because a reputation could be built up.

Edit: also bridging the gap between expensive lawsuits that end up not being worth it, or the temptation to publicly shame the bullies which is almost always tacky and never dispassionate.

comment 10y ago · link · parent

Ahh okay: https://en.wikipedia.org/wiki/Bloom_filter

That's super interesting!

I wonder what kinds of stuff you could do with that in a fancy datastore like Elasticsearch or GraphDB.

If it could be mapped to a resource model in a straightforward way, it'd be fun to make a special "ORM" that plugs into an API framework to expose public services.

comment 10y ago · link · parent

I'd like to contribute to dissemination of this stuff by turning it into nice public APIs.

Which ones should I start with? Where to look in the docs to get started?

comment 10y ago · link · parent

What is BloomFilter?

comment 10y ago · link · parent

Did you try using hn.algolia.com? You can filter for whatever.

comment 10y ago · link · parent

This is so cool. Hopefully the UX ends up avoiding the pitfalls suffered by PGP.

I would love to ask clients to "sign here" on a blockchain-enforced contract before they decide not to pay just because they feel like they can, despite perfect delivery to their own satisfaction.

comment 10y ago · link · parent

I've been chumpier than that. Get out while you can.

comment 10y ago · link · parent

Given how badly Yahoo seems to be doing financially, and considering other high profile "failures" like Parse being shut down by Facebook and Apple being challenged by the state: I wonder whether these big companies can continue to extract rents after open sourcing and retrofitting everything with decentralised protocols, encryption etc.

That seems like a preferable direction from a consumer point of view than forcing society to rebuild everything from scratch, despite the fact that things like GitLab, blockchain and p2p social networks are not inherently inferior. Adoption is hard. "Charity" is the same as PR, so there might be more side benefit than the original speculators hoped for with the failed centralised business models by opening up and decentralising.

comment 10y ago · link · parent

I think a lot of full time workers can still be wage slaves.

Maybe a living wage is a better benchmark. The minimum required to "thrive" with a normal list of opportunities/choices that people can be expected to encounter. E.g., car required if not living in high-density urban environment, raising children, having pets, buying simple furniture, healthy food, internet access, life and house/rental insurance etc. It's all about access to thriving, not access to luxury, and in each place and circumstance that access is different, but living wages can be indexed to all these factors. The more factors included to counter the various axes of oppression the better.

For example, in Canada we have the Canadian Centre for Policy alternatives which publishes living wage data/indexes every year for a number of cities.

A few years back I helped cofound a programming and design worker co-op with a handful of other people and we discussed using such an index to determine salaries for members in different cities. E.g. if the Montreal team gets 4x the local living wage, then the Vancouver team also gets 4x their local living wage, even if the absolute amount appears higher.

comment 10y ago · link · parent

and are awesome at alliteration

261.

The Web as Rhizome in Deleuze and Guattari(bluelabyrinths.com ↗)

3 points · by chrstphrhrt · 10y ago · discuss

comment 10y ago · link · parent

I used to think this way, but what happens when they become dependent on you for emotional/financial/whatever sustenance?

I think those who are 'fun' to 'fix' are therefore at risk of dependency on that. Like a drug.

comment 10y ago · link · parent

Thanks!

comment 10y ago · link · parent

Wow this is really great. Interested in how the prism proxy thing can work for reversing existing (un-specced) APIs. Can you shed some light on that?

comment 10y ago · link · parent

Which order were they taught in?

I had the same curriculum but was utterly bewildered by derivatives being the first topic. For the simple reason that until that point I had habitually looked at "wholes" in the external world, only then to wonder "what kinds of things progressively make it up?"

I feel like to derive something, you start with the assumption that you know what you're talking about fist. Yet the thing is actually the sum of its parts. Therefore integration seems more natural at first, and only then can things similar to it be derived with confidence.

So the teaching order seemed backwards. I wonder if anyone has felt the same way.

comment 10y ago · link · parent

Okay. Then I'd be interested to know about atomism after Lucretius and before the renaissance. Who was the first modern "inventor" of it?

My comment was meant to express alarm that anyone could say there was no lost library buried by Vesuvius.

Here it is: https://en.wikipedia.org/wiki/Villa_of_the_Papyri#Epicureani...

comment 10y ago · link · parent

Umm what? "[Pompeii and Herculaneum] weren’t necessarily vast repositories of lost literature"

Not sure about Pompeii, but Herculaneum had the villa of Piso with tons of scrolls from Philodemus, who totally fleshed out the ideas of Epicurus, upon whose atomism all of modern science is based.

comment 10y ago · link · parent

I think where the shovel/pickaxe analogy breaks down with startups is that they often think their tech is part of their secret sauce when really they're just doing standard things in an interesting vertical, but still insist on reinventing the implementation to justify using up their funding to match the target runway/projections.

comment 10y ago · link · parent

I wonder if some kind of "anti-drone invisibility cloak" could be a thing. Or some kind of tiny turreted laser light that can detect a camera and point a beam into its lens. Maybe an app to detect signatures of drones approaching by their radio signals or rotor sounds.

comment 10y ago · link · parent

Woohoo! This is great.
1
7891011