skysight-inc/HackerNews huggingface dataset:
You get your name and address checked off when you vote, if you don't get checked off you get fined (~$100). However I've heard of people sometimes not voting without getting fined, not sure why.
Are we imagining a future where sellers can track our every want but consumers lose the ability to shop around? Why wouldn't market forces and competition protect us from this?
I'm having trouble finding information about what GNUnet is on the website. Is there an overview somewhere?
This made me think of rubber duck problem solving [1][2], though it didn't mention it specifically. Talking through a problem out loud forces you to structure your thoughts in a logical way, and sometimes doing that you'll realize an obvious connection or step you missed.

[1] https://en.m.wikipedia.org/wiki/Rubber_duck_debugging

[2] http://hwrnmnbsol.livejournal.com/148664.html
Intercom definitely needs to die ASAP. But for now, apparently you can block it by blacklisting js.intercomcdn.com in your adblocker.
It's the combination of LLVM, the Rust compiler providing enough information to LLVM, and very optimized library code. As well as plenty of testing to make sure this kind of stuff doesn't regress :)
The company distributing the ads is controlling the ad-blocker. We have seen this before in other industries. It is never good.
There's always changes happening. Just this year, Southern Chile changed its summer time zone offset, Haiti started observing DST and Mongolia stopped doing that.
Doesn't `let x = xs[i]` immutably borrow from xs? So for the duration of x's lifetime (which is the entire for-body block), xs cannot be changed and therefore its length must remain the same.

Though this might be information that rustc knows about but not LLVM.
Yes, precisely that - I use I-Ching instead.

I plan to write a bit more about this, but I haven't got around it yet. In the meantime, everyone interested in using I-Ching (or any other kind of "oracle device") to re-evaluate your options can read this: https://aeon.co/essays/forget-prophecy-the-i-ching-is-an-unc...
> More important than dilution is the shares multiplied by price.

But even with an "up round", where ownership percentage is diluted but your n-shares * price goes up, liquidation preferences can reduce or eliminate your value.*

As the GP said, there's always that "one more thing" that can wipe out your value.

(*citation: personal experience)
Also, what is the benefit of a "bezel-less" phone? I always put cases on my phones, ever since I dropped one and spider-webbed the screen some years back. Without a bezel, the case will be covering up part of the screen...
Probably because it's using ISO-8601 week numbers. https://en.wikipedia.org/wiki/ISO_week_date
I think keybase are doing some great work. Their social proof using existing websites is great. Their keybase fs has some similar properties to peergos, but is still centralised and, to the best of my knowledge, closed source (open sourcing only the client doesn't count in my mind).

I want something that is fully decentralised, open source, doesn't depend on DNS, and doesn't expose metadata (including the social graph).
No, that's what NP means. Given a witness to a solution of a problem, verifying that the solution is correct in polynomial time means the problem is in NP.
OK, thank you for replying, I understand the issue here, my comments are too terse and my language isnt clear enough to explain my intent behind them, and that comes off as trolling.

Instead of saying stassi, I should have explained how palmer was unfairly targeted by people in the tech scene and tech media in the valley who have what most people accept as a very left leaning bias. In an attempt to condense all of that in a single word I can see how that came off in the wrong way. And I can see how the comment from last year you linked too come off the same way, it was an attempt to highlight how science and religion are at odds and how the current political climate is making things like blasphemy laws more likely, and how the substance of the article in a society with blasphemy laws could be consider a hate crime.
I love Postgres' time handling, even more so whenever I have to handcraft time-based queries in other databases, like MongoDB (which is more often than I'd like).

Some things the author didn't mention that I like:

* Timestamp with time zone string parsing: '2013-06-27 13:15:00 US/Pacific'::timestamptz

* Timezone-aware to timezone-naive conversion (or vice versa): mytztime AT TIME ZONE 'US/Pacific'

* I haven't used tstzrange yet, but it looks pretty powerful.
> You may gain social attention but you are handing over control.

Yeah it's a tradeoff and for many people giving up that control is worth it.
But they have a notch in the screen and a snap-on camera!
That sounds nice, but there's still a conflict of interest in them owning the biggest browser, the biggest ad network and now selectively blocking. Seems like an obvious slippery slope that might not be bad at launch, but will slowly make the other ad networks (even) less competitive.
The problem with Unix milliseconds is it's actually not always increasing thanks to leap seconds. A positive leap second will result in the fractional part of the last second of the day going up to .999..., then resetting to .000... over again.

https://en.wikipedia.org/wiki/Unix_time#Leap_seconds
This is now avaliable in v2.0.7 =)

Dependencies

None
Lisp's abstract model doesn't use stacks to pass arguments. Arguments are just lexical variables and they live in environments like other lexical variables: completely foreign stuff to Forth. Environments often have to survive the termination of a lexical scope's execution; it is required when a closure has escaped. So things can't even be compiled to a stack-based machine, using a "pop everything when returning" strategy: only in some cases.

(ANSI) Lisp function calls are safe w.r.t. wrong number of arguments, and support optional and variadic arguments also. This is true of compiled code without source: when we load someone's compiled file and call a function in it with the wrong number of arguments, it is diagnosed.

Forth and Lisp are so miles apart, that I have to scratch my head why a comparison comes up in discussion from time to time.

(It is pretty much always from someone who uses Forth and doesn't know Lisp (or, worse, anything that isn't Forth). "Hey, I heard Lisp is also interactive and meta-programmable, so it must just be a Forth with postfix switched to prefix and parentheses added ...").
A thought: have you ever seen a knob that actually turns by doing a two-fingered rotation gesture on a trackpad while hovered over it? I think that's the only skeuomorphic knob I'd actually be happy with.
Even if someone that you trust is telling you to use a specific unsafe API and that "it's no less safe than when we do the same in C/C++", proper responsible usage of that API always requires reading the documentation to determine which invariants must be upheld, if only because you ought to be documenting those exact same invariants (and describing the measures that you take to uphold them) in your own code. Don't trust anyone; Rust caters to the paranoid. :P
The Path to Hacker School (2012)
> almost like some imaginary need for a specific shutter button to press to take a photo on a phone (just touch the screen!).

I've always wanted a shutter button on my phone, because of what it would imply: the ability to take a picture instantaneously, as the first action that wakes the phone from sleep. I often miss shots because of the six seconds required to get from my phone being in my pocket to having the Camera app open.
my s.o. has been doing this since early childhood, it's second nature for her. It's amazing to me that she can do it so easily and I notice that she can plan and analyze things much better, it's like she's having a scrumm meeting with herself. If I try to do it, it's less spontaneous. I wish I could learn it.
> If this produces simiarly nice code (I haven't checked yet) I'll be very happy

You didn't specify what the type of `buffer` was, so I picked a `u8`. This code[1]:

pub struct Thing {
buffer: Vec<u8>,
}

impl Thing {
pub fn copy(&mut self, data: &[u8]) {
for (dest, &source) in self.buffer.iter_mut().zip(data) {
*dest = source;
}
}
}

Produces this assembly:

_ZN10playground5Thing4copy17hf523bcb10e2298f3E:
.cfi_startproc
pushq	%rax
.Ltmp0:
.cfi_def_cfa_offset 16
movq	16(%rdi), %rax
cmpq	%rdx, %rax
cmovbeq	%rax, %rdx
testq	%rdx, %rdx
je	.LBB0_2
movq	(%rdi), %rdi
callq	memcpy@PLT
.LBB0_2:
popq	%rax
retq

The call to `memcpy` is what makes me happy.

----

Your `count_bits` already exists as a combination of iterator adapters (`filter`[2] and `count`[3]):

a_bit_iterator.filter(|bit| bit).count()

Although if you have a numeric value, I'd suggest using `count_ones`[4], which can use the `popcnt` intrinsic.

If you wanted to count all the bits in an array, I'd suggest `map`[5] and `sum`[6]

let p = [1u8, 2, 54, 2, 3, 6];
let result: u32 = p.iter().map(|b| b.count_ones()).sum();

If you wanted to keep the bit iterator, you could also use `flat_map`[7].

[1]: https://play.integer32.com/?gist=03f8ffbe3ade6ced4d315c8e020...

[2]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#metho...

[3]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#metho...

[4]: https://doc.rust-lang.org/std/primitive.u8.html#method.count...

[5]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#metho...

[6]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#metho...

[7]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#metho...
Aren't timezones an offset of UTC by definition? I thought during daylight savings time a country is temporarily changing their timezone. Isn't that why we have EST and EDT: they're two different timezones?
Or in other descriptive terms, Forth could be called "point-free" or "tacit". There is no structure given by the code's context, no named arguments to describe what is in scope - all you have is what is on the stack at the moment of execution, and global variables that the program might access by convention.

Point-free can be a very concise and flexible strategy but also error-prone since (in Forth) it allows the stack to leak and consume/return an unbalanced quantity of arguments. This class of error is eliminated within the syntax of Algol style languages languages but can be reproduced easily if you build your own stack machine.
For me, it isn't even vocalizing - I discovered that forcing things into words helps me troubleshoot after noticing that I solved my own problems after giving up and composing an email to someone to ask for help. The act of describing the problem in written form allowed me to see what I was missing.

Since noticing that, I started doing it fairly, and not just with programming. At some point, I realized I was keeping a (somewhat oddly structured) journal.
Provision of basic necessities happens to be the cases where central planning has failed most spectacularly in practice. The most recent example would be what's happening in Venezuela today. The most infamous example would be the Great Leap Forward in Mao's China, which led to the single most deadly famine in human history.

There's a reason why nobody tries to declare food a human right and give it away for free, even though people die if they don't eat.
Perhaps Rubin's end-game is to do a fork of Android that would break away reliance on Google and then be acquired by Samsung for a few billions.
But that's how permissions work on Android though. You can grant them to an app when it's requested, or not. Or you can turn it off at the system level with the bug switch in the settings shade. I have an iPad and the permissions models are basically identical at this point.
When I'm working, I write out most of my mindflow into notebooks. It helps me focus and works really really well for recovering after distractions.
You're doing the lord's work, son. Literally.
We have cryptographic algorithms that enable us to communicate securely over untrusted channels. Do we have similar techniques for storing/operating on data on untrusted hardware? Would such a thing even be possible?
As I just pointed out to you, it can never happen to one party without simultaneously happening to the other party. Packing Democrats into an already-secure Democratic district adds Democratic voter proportion to their district and adds Republican voter proportion to yours.

If you don't believe that this can be in the interest of either party (since it's happening "to" both of them), you don't have much left to complain about.
There's a subtlety here: the "actual" memory unsafety may manifest elsewhere, if the `unsafe` keyword just allows violating constraints that other (possibly-safe) functions rely on. That is, this touches on the whole "boundary of `unsafe` is the module", where functions marked `unsafe` might do perfectly safe things internally but break invariants that other pieces of code assume are true. From the view of "an API" == "an individual function", it is true that incorrect use of `unsafe` code may not risk any memory unsafety in isolation (e.g. one can pass any integer to Vec::set_len and nothing bad will happen in that call), but it is not so true in the more conventional broader view of an API.
Maybe investor expectation is that a company like HTC or LG or some other none-Samsung/Apple/Google/Amazon company will buy Essential in order to get a strong team that is building a suite of products that tries to compete with Samsung/Apple/Google/Amazon. Can that justify the valuation?
Yeah I dont think the "phone" is their main play. Feels like they are trying to become the "one" iot platform that other big vendors cannot be?
> yet when you look at how they operate it's basically Soviet-style central planning

What are you talking about? Big Corporations will have thousands of suppliers, thousands of partnerships and millions of customers - none of whom are directly (centrally) controlled or managed. They are also far more transparent and truthful about their production numbers and costs. They are far more nimble, far more efficient, and far less corrupt.
I think the general incentive we've been seeing is the incentive towards faster and thoughtless opinion-sharing. Reactive (in the bad way) behavior is incentivized, and thoughtful behavior is discouraged, because by then people have moved on to the next thing.

So I'd generally like to see more effort put into making it easier for people to engage in more thoughtful ways.

This can also be applied to advertising. I'm trying to avoid chips, but if they're in front of me I'll eat a handful. So then the internet thinks, "This guy wants more chips!" So if advertising were more about my long-term values rather than my short-term behavior, then it'd be more valuable.

Anyway, it's pretty hard on social media to share deeper analysis and arguments and thoughts. I get that medium was sort of an effort in this direction, counter to twitter, but that's really just blogging with some extra algorithms thrown in. Need something else.
> FaunaDB Serverless Cloud remains the only multi-master, globally-distributed cloud database.

Cassandra or Datastax? Cassandra has been doing this for years.

Or did they mean the only hosted option?

Edit: Made me sound less rude.
I work in finance and Excel is de rigueur. I work at a company where IT skills are exceptionally low. Excel allows people easy access to data even when they don't know the web 2.0 gui style like a millennial. Having been forced to become 'advanced' at Excel, it is an extremely capable tool. It only falls down when you get hundreds of thousands of records or you need concurrency. At this point I find that if you have the skills to conceptualize the data, then you could also learn SQL...
Yes, database as a service. As early contributors to Cassandra before Datastax/Riptano was around...we are aware of it. :-)
They have another product as well, it's not a smartphone.

https://www.essential.com/home
Basically the reason this thing gets $300 million is because Andy Rubin is at the helm:

https://en.wikipedia.org/wiki/Andy_Rubin

His track record is amazing (Danger/Android).

I agree 100% with everything you have said but I'm willing to see where this goes based solely on his reputation.

Surely their is something more to this than just building a high end Android phone with a little privacy tech thrown in.
I like the idea, but the goal would be to make configuration, deployment, maintenance, and good security as easy as possible. So easy that you don't have to touch a command line. Mind expanding on the idea a bit?
> Do we have similar techniques for storing/operating on data on untrusted hardware?

Whitebox cryptography.
You don't know what you're talking about.

>Nothing beats "feet on the ground".

Except if you're managing a huge global supply chain.
Same discussion every time there is a post about CockroachDB. It's time to get over it.
It's worse now.
What's the performance like for large datasets, is there a timeout on query time, or a caching scheme behind the scenes?

Also, this looks similar in functionality to ChartIO and Mode, do you have a summary of how this is differentiated?

Edit: I wanted to add: great work!
I also recommend the Windup Girl. Quite a fun read. Also, Neil Stephenson's Diamond Age, I feel those two are a great pair, one is biotech, the other nanotechnology
I really feel like this is where the government should step in and tell Google no.

I'd rather see worse ads then let Google do this.
To maximise profit,
a corporation must find the highest possible price
that customers are still willing to pay. If a company finds a way to do this separately for each customer, then the other market players need to follow, otherwise they will loose their capital (i.e. shareholders jump ship). Information asymmetry is a very devious market hazard, it makes it such that the market appeara to be working perfectly well, but from the consumer point of view it appears like fraud. Nothing you can do other than protecting your data.
You can run the on-premises edition yourself. That's what our large enterprise customers do, for this reason and others.
Is there a reason you can't use semver? Or was this just a quippy remark?
Larry Wall disagrees - Laziness, Impatience, Hubris - and I'm inclined to believe him.

To succeed at programming requires a level of ego, if you don't tackle a problem from the "I'm going to win" mindset, the compiler, the interpreter, the debugger will beat you every time.
You cannot have a post entitled "Working with time in Postgres" and fail to mention Range Types[1]!

If you're using Postgres right now and have any columns like start_* and end_* for anything (e.g numbers or dates), you need to stop what you are doing and use a range type. They are amazing. You can do things like a unique index that ensures there are no overlapping ranges, you can do efficient inclusion/exclusion indexing and much more.

Use them. I'm always surprised more people don't know about them.

1. https://www.postgresql.org/docs/9.6/static/rangetypes.html
Nothing in the article suggests that iCloud data was compromised. It said

> users’ names, phone numbers, Apple IDs, and other data

Names, phone numbers, and Apple IDs just require access to directory services, doesn't need to touch iCloud at all. It doesn't say what "other data" is, but presumably that's not iCloud either, because it if was iCloud data that would be a much bigger headline and wouldn't have been omitted from the article.
17 camels trick
Log/lin depends on your target market a lot I think. I don't know, but I imagine, audio engineers and the like would be expecting a logarithmic scale for their volume knobs.

I make guitar pedals sometimes, I've never seen a volume knob not be a logarithmic potentiometer.
You can't charge as much for that kind of ad, because it has poorer targeting, can't be updated as easily to facilitate shorter marketing campaigns, can't support A/B testing, and probably a dozen other major things advertisers care about.

I do occasionally see that kind of sponsorship, but only on websites that take very little time/money to maintain.
Converting JSON to CSV is a usable/good way when analysing NoSQL data. However I'm trying try find since a while a data analysis/query tool for JSON data itself. I saw that mixpanel made a query tool/language called JQL (JavaScript query language) which seems nice. Also RQL (rethink query language) seems nice too. But I can't​ find a simple tool in which I can import my JSON data and query it. It should be similar to SQLite-browser. Simply import your CSV/JSON file, and query it.
I wish the libraries I use to make sites made it easy to only send cookies after logging in, as opposed to before.
I believe that the internet is powerful because it connects us to people rather than content. My dream is for our portal into the internet (currently google or Facebook) to become a search engine for people. I am interested in x. This person is the top authority on x. Here is a chat window. You can ask it questions that his/her bot will answer at first (to save this person from being spammed). However, eventually if you ask the right person, he/she will be interested enough to join in the conversation.

What am I doing about this? Nothing yet, but I have been thinking about this recently.
> keep in mind that the other side frequently has no intention/ability of paying. That is at minimum acting in bad faith and is usually against the law

I see. My complaint is that a credit card company knowingly took advantage of a disabled man, and your answer is that he was the villain in the situation.

The man sometimes couldn't tell what was real vs what he had imagined happened. He couldn't go too far from home alone because he would forget how to get back. He was a wonderful human being, a hilarious story teller, and happened to be disabled because of a health issue.

But sure, let's blame him.
These will give Microsoft ideas for the new UI upgrades in Windows 10.
I've rarely seen a "pure" API that wasn't also very simplistic... most composite APIs of any complexity have things that work better as an RPC request (via HTTP POST) as well as other more restful endpoints.
That third "make a noise as loud as you want the volume to be" one would actually be a good idea, if it was a continuous feedback loop: I'd love if there was something I could enable that would make my headphone volume "track" the loudness of the room, the way that phone display backlights "track" the brightness of the room. Instead of setting a target carrier wattage (regular volume) or a target SPL (SoundCheck volume), you'd be setting a target SNR, and then the OS would maintain it by lowering the master gain in quiet places and raising it in noisy places.

Or, to put that another way: I'd like to be able to hear my music, but I don't want the people around me on the bus to be forced to listen to my music. Electric vehicles (like my local bus system) only make noise when they're moving; they're dead silent when they stop. So right now, I actually have to turn my music up several notches when the bus is moving, and then turn it back down several notches whenever it stops. Why is the phone not doing this for me?

(Heck, while it's at it, why not recognize nearby human speech specifically, and pause and/or duck the playing sound temporarily to let me hear it?)
That's just because we know very little about them. It very well could be the case that factoring semiprimes might be ridiculously easy, but we are just too dumb right now to figure out how to do it quickly (even if P != NP -- we haven't even shown that factorization is NP complete).
You'll be waiting possible forever, clients tend to not change until forced to.
There's always TAI64.

http://dyscour.se/post/12679668746/using-tai64-for-logging
And what I find is that the audience wants you to do well. They are invested in your success and their enjoyment be being in those seats. Double-bonus if drinks are being served ;)
Fair enough. :) But just FYI, reading that set off my BS alarm, and I was highly skeptical of the rest of your claims. You may want to clarify that so as not to turn off folks who are deeply familiar with the space.