skysight-inc/HackerNews huggingface dataset:
How frowned upon is it today to just do

```
const { accountId } = decodeJwt(req.headers.authorization)
SELECT * FROM items WHERE account_id = :accountId
```

I get that it's about the exact opposite of what the article is trying to do but it looks a whole lot easier to maintain.
Sure, it makes it more usable. (Though, I use Telegram & WhatsApp with many contacts just fine without sharing my contact list with them, neither once nor the repeated-uploads Signal wants.)

But Signal could still be keeping a database log of everyone who's actually ever sent a message to anyone else. (To the extent anyone's using 'sealed sender', it'd be harder – but apps like Wire could do something equivalent to 'sealed sender', too.) And that database is way more valuable to many attackers if it's keyed by the phone-numbers Signal has, compared to the aliases other systems have.

And to the extent the Signal client wants to keep re-uploading my entire contact-list, even a one-time, temporary compromise of their SGX-based system would reveal all my phone contacts.
There's absolutely zero evidence of "induced demand" for housing. And all available evidence suggests that 1: SF & CA have huge shortages of homes and 2: Building more is a good solution.

Please see this non-exhaustive list of things which all show building more housing leads to housing affordability.

* http://cityobservatory.org/another-housing-myth-debunked-nei...

* https://www.bizjournals.com/sanfrancisco/news/2019/12/02/how...

* https://jamesjgleeson.wordpress.com/2018/02/19/how-tokyo-bui...

* https://www.sfchronicle.com/opinion/openforum/article/How-th...

* https://medium.com/land-buildings-identity-and-values/what-i...

* https://fee.org/articles/why-isnt-rent-in-tokyo-out-of-contr...

* https://www.upjohn.org/research-highlights/new-construction-...

* https://www.theglobeandmail.com/canada/british-columbia/arti...

* https://medium.com/@eddiesun/no-vacancy-the-housing-crisis-l...

* https://twitter.com/noahpinion/status/1165339989774749696?s=...
I had a few friends die from heroin overdoses and that was 25+ years ago. Fentanyl exacerbates the issue but is is easy enough to O.D. without it.
Agreed, unfortunately it's rather common.
Insights on OS X platform support for Tensorflow/GPU?
Hi everyone, have a question in case anyone happens to have a bit of insight in regards to forecasted OSX platform support for Tensorflow.

There's a good bit of info around Tensorflow/Pytorch, not looking for a merits debate (both fantastic imo). I'm with a small AI company supporting both backends in production (linux, bl -> go api interfacing with generic "model" contracts -> calls to libtensorflow.so / libtorch.so via cgo and prototyping in Keras/Pytorch). Small inconvenient though is that it's close to impossible to employ our rag-tag Darwin/GPU/multi-boot local machines to train often as we're stuck with earlier Tensorflow
versions and it's quite hard to compile library support locally (Apple doesn't make it easy either) thus often have to rewrite really nice Keras code in Pytorch. Bit of a pity as we have no qualms with Keras, some of our most trusted/understood networks run on it (TF) live.

Anyone happens to know, is there a chance for first-hand support of Tensorflow for OSX in the foreseable future? It has a nice dev ecosystem in general I subjectively believe, for some os us it's a bit like Excel of the finance world :) Totally realize opinions are cheap to offer though, deep gratitude to all people involved in these projects / open source in general, thank you kindly - truly a question, more than glad to accept my ignorance should this sound any other way.
Here we go a vocal minority out to silence opposition.
Trebek had a strong vision of what the show should be that would be at odds with what most studio execs might prefer. When he's gone, there will be pressure to dumb it down, make the questions easier and more trendy, make it more flashy. If they do that it will no longer be special and will wither away.
I have extra parts at home, exactly because of this. But I can not order extra PCBs with my future mistakes corrected. So it's either make them myself or try a single design, spot my failure, correct, order a new one, wait a week or two until I have some more free time to mess with it.

Or avoid PCBs completely, what is clearly the best option whenever possible (what is becoming less and less common).
Here's a couple:

1. Google's tech staffers are supposed to be some of the top people in the world, and Google spends a considerable amount of resources hiring them. It seems foolish not to keep them on the bench a bit, unless Google foresees that it will be shrinking soon.

2. The people not laid off will very much notice their colleagues being zapped the moment they're not needed. They will rationally tilt towards leaving as well, if they get any whiff that they might be next. It's far better to leave first than to be laid off, if you're sharp.
My goal is for California to have a more stable revenue story so the state doesn't enter crisis mode every 10 years. California revenue is volatile because of the heavy reliance on income taxes, which are volatile due to the stock market. Property taxes are a much more stable source of revenue to rely upon.

Backing out prop 13 to fund certain ventures is just going to create even more problems down the road. Revenue will still be volatile. Then in the next downturn education will get screwed again, like what happened in the last recession. And you won't have prop 13 to back out anymore. It will be permanently fucked. Maybe the state will bump income taxes even more to fund things.

So more volatile revenue for the state to rely on. More fun times ahead!
Leap Motion/Ultraleap | R&D Positions for Machine Learning, Computer Vision, or Unity3D | San Francisco, CA | Full-time | Onsite

We've got some great positions open for people who love bleeding edge R&D, AI, computer vision, user interfaces, AR/VR and design! Please reach out at let's talk!

david.holz@ultraleap.com
This seems false on its face. Surely that would be a straightforward experiment.
I use Signal heavily, mostly on desktop. It would be more accurate to say that Signal registration is mobile-only. Once registered, you can never touch your phone again and everything will work.

I've tried Telegram, WhatsApp, Hangouts, Facebook Messenger, iMessage. Signal has been the only one so far that I have been satisfied with because it:

* Supports end-to-end encryption (and "disappearing" messages)

* Has desktop and mobile apps that can be used independently (after registration at least; WhatsApp appears to require your phone to be on and near the desktop for the desktop app to work)

* Distributes messages to all Signal clients (Telegram was nearly unusable due to this problem - I had to mentally remember where the conversation was when switching between desktop and mobile)

* Doesn't have some sort of highly constrained user experience that requires using a social media platform or requires using a specific web browser (this has been a real problem with Hangouts and Facebook Messenger since they stopped supporting XMPP - RIP Adium)

* Supports mainstream desktop and mobile operating systems (iMessage fails at this, despite Apple's promises in the last decade)

* Has feature parity with other major chat services (this is the only weakness of Signal, but these days I can't think of a feature on WhatsApp or Telegram that isn't on Signal)

I agree that I wish they would steamline the registration so that you don't have to go through a somewhat convoluted process to get started, but it really is not a phone-only app. Desktop is a full first-class citizen after the initial fixed cost. I think that's the price they may pay by being a non-profit - maybe the marketing isn't exactly what Facebook/Google/Apple/<pick your own DataVortexCorp> can afford.

EDIT: Oh, I guess I should have mentioned Skype, but no thanks. Sorry, Microsoft, just no.
WHO Deserves Credit on Current Unemployment Rate, Trump or Obama Administration?
The tradeoff in goto-vs-exception is that a goto needs an explicit label, while an exception allows the destination to be unnamed, constrained only by the callstack at the site where it's raised.

That makes exceptions fall more towards the "easy-to-write, hard-to-read" side of things; implied side-effects make your code slim in the present, treacherous as combinatorial elements increase. With error codes you pay a linear cost for every error, which implicitly discourages letting things get out of hand, but adds a hard restriction on flow. With goto, because so little is assumed, there are costs both ways: boilerplate to specify the destination, and unconstrained possibilities for flow.

Jumping backwards is the primary sin associated with goto, since it immediately makes the code's past and future behaviors interdependent. There are definitely cases where exceptions feel necessary, but I believe most uses could be replaced with a "only jump forward" restricted goto.
It was a little underhanded of me to write that without quotation marks, but the words I posted above were famously uttered by the current President in 2016, when criticizing someone else for relying on the 5th amendment. My point is that his idea of justice is actually extremely variable depending on what benefits him at any given time.
What's so different about the right to spend?

There's very little you can do without spending, whether directly or indirectly. How would pro-choice advocates like it if abortion was explicitly legal, but it was illegal to spend money to obtain or provide abortion procedures?
Why do they need an excuse?
>They are classified as a single species with the rest of humans because they can interbreed with other humans

https://en.wikipedia.org/wiki/List_of_genetic_hybrids
I'm guilty. But I'm also on a small team, and the only one of on this particular team out of the many people at my office. The rest of my teammates are at another location.

The people around me speak really loudly (they speak another language and listening to it all day is grating - this frustrates me cause I actually really like languages). Doesn't help that I have a coworker directly next to me that'll bring bags of carrots, celery, apples, etc. and chew loudly. Think cracking vegetables for a solid 10min at a clip. I tend to think I have some form of misophonia, but the noise really is draining regardless.

I'm looking forward to a workplace where I don't feel trapped in isolation despite being surrounded by other people.
I've not ordered from Amazon for 3+ years now. You can buy the same products at the same price elsewhere or generally always from ebay.

The only real advantage Amazon have is prime (if you pay for it) and simple returns, but you have to deal with a drone if anything goes wrong aside from that. Most other retailers have actual people that can make decisions answering queries
A Go Roguelike
"Performant" again. That term needs to go away.

Use "efficient" or simply "fast" if that's what you mean.
How much does it cost to find and hire a Google-tier worker? Many hundreds of thousands of dollars. If you're talking about financial duty surely their duty is to retain the elite workers they've already got.
This is correct. In many jurisdictions, when a certain number of employees are laid off in a given amount of time, they are required to disclose this to the government.

For example, California has the WARN act:
https://www.shouselaw.com/employment/warn-act.html
> It's even a truism now that computer defence against a well funded nation state is hopeless.

For some, it is still worthwhile to harden defenses against nation-state threat actors. Raising the cost for those nation-states is sufficient justification on its own.

For example, opaque binary distributions are more easily compromised than either source code distributions or verifiable reproducible builds. As an industry we should migrate away from opaque binaries, and major open source organizations should bear that in mind while designing their processes.
this kind of news is why no one wants to use gcp in case google decides to axe it completely
> You're putting the cart before the horse.

I'm not, let me explain.

> More commuters creates more ticket revenue, which gives BART more resources to expand capacity. They're not going to expand capacity until there's more demand.

BART needs money to expand, and this money is not going to come from commuters. Why?

First, "expand capacity" can mean two things:

1) Buy and/or run more trains on existing tracks, serving existing stations.

2) Build more tracks and/or stations.

For 1), BART already operates at or nearly at maximum physical capacity at commute hours in the peak commute direction: there is not headroom in the Transbay tube to add more trains at rush hour, at least for trips between SF and the East Bay. BART could earn more revenue from more commuters that are not on the peak lines -- but building more housing in the suburbs will not provide this.

For 2), this money comes from the capital budget, not the operating budget. BART fares provide about 70% of the operating costs of BART. There is no profit, no money left over to go to pay for more tracks or stations. That money comes from voters who approve bonds or other sources of funding for this constructions. More commuters will not provide this either.

We need to expand BART, and we need development -- these two go hand in hand!
Thanks for taking time to answer properly, and I agree wholeheartedly.

My post was above was a bit naughty, as I was quoting the current president (in response to a post discussing his recent impeachment) without revealing that it was a quotation.
Any kind of light in my bedroom is deeply annoying to me when trying to sleep. And I have the same problem with sound too. Any kind of high pitch, etc, from a plug, light, etc, really does cause problems with my sleep.
Volkswagen's EV fast chargers can be deployed anywhere there's power
That is going to be a tough but to crack. Crash statistics are tricky because they are either underreported or very infrequent. Two good resources for just about anything traffic related are ITE [1] and TRB [2].

[1] https://www.ite.org/
[2] http://www.trb.org/
It comes full circle I guess. Most of the technology we use today came from military research first. SV, for all of its recent boom, really has contributed the boring bits to make it all work. Things like GPS, cellular tech, the internet, Wi-Fi, AI, crypto, all stem from government research. Was the tech sector ever really in the control of the idealistic academics or was that all just an illusion?
> Transit reacts to changes in transportation demand, it doesn't set demand. How do you envision BART would profit from underused directions? Put out ads encouraging people to take these routes for fun?

BART could encourage commercial development, instead of residential development, on land it owns near transit stations.
Ok, so the validity period tries to describe the real world, while the tp is more about the state of the database's knowledge, or rather belief. I think I understand how each one starts when it does, but not when you update the endings.

- Does the validity period of the erroneous entry ever get closed?

- Or the transaction period of the one that got superseded?

- Do transaction periods close for reasons other than finding out something was wrong, or can I think of them as the period that the rest of the row (including validity) is/was believed?

Thanks for the detailed explanation. This is really interesting.
Childhood Trauma Is Easy to Ignore: One Adult’s Story
I mean, these tweets are just nuts: https://theweek.com/articles/850004/marianne-williamsons-25-...
While there is a thematic connection, SPOT is usually more of a design-time (or coding-time) principle. Caches still represent the same source, just time-delayed.
Professional version is cheaper.

Like 1600 and you get 1 year of support. After that you pay the yearly subscription fee to stay on support (about 400 or so). If you skip a year, you are back to the "never have been a paying customer" status.

It is not cheap.

Not all bad though, I do like Delphi itself, but the customer hostile attitude of the company does leave a bad aftertaste and make me want to ditch it.
I'll take paid ads over "Correct The Record" scheming (i.e., paid astroturfing) any day of the week.
Backups are transient relative to streaming which can continue for hours.
TinyGo recently became an official project and seems extremely successful.
That's a very helpful insight! Thank you for sharing. I appreciate your positivity and genuineness.

In my personal experience, I've often found it to be extremely difficult to sell shared sacrifice to people who are empowered to refuse to share. After all, why can't this building go in some other neighborhood? Away from them? If you're being honest, it probably can. The next neighborhood over will probably have the same question.

Also, SF has the wrinkle that a lot of people see building housing as pushing up rents, making the framing you suggest very difficult on multiple counts. Attempting to discuss this with people seldom goes as well as could be hoped. This belief seems to have become totemic, making it functionally impossible to discuss.

Perhaps you've had different results than I. I sincerely hope so.

I have found name-calling and coherent branding to be pretty effective at providing people a banner to gather under. It doesn't do anything for those it makes into enemies, but it does something for people who might be your allies. When the NIMBYs are already well organized and Californians For Lowering Rent Through Shared Sacrifice isn't, I can see where someone might make that calculation.
> They are classified as a single species with the rest of humans because they can interbreed with other humans

This is not the standard for, e.g. birds, however. Consider the mallard. It's happy to breed (with fertile offspring) with just about any duck. However the ornithology community does not say "great, they're all ducks, maybe with separate subspecies". Instead they complain about "genetic pollution" wiping out species of ducks through genetic drift.

Myself, I think it would be perfectly reasonable to call these subspecies and keep the Biological Species Concept[1], but in actual usage the Biological Species concept is dead.

[1] https://en.wikipedia.org/wiki/Species_concept#Mayr.27s_Biolo...
My 83 year old dad has updated his website since the mid 90s, it's actually pretty interesting to look back it in the Wayback machine, the design is exactly the same in 97. He'd really get a kick out of it if someone commented on one of his articles. http://aoi.com.au/
Possibly the a horror worse than Skynet!
Pentagon Shifts Stance on Sales to Huawei
> against a well funded nation state

Why do people specifically state 'nation state' in these circumstances? What do you think makes a nation state a particularly notable adversary relative to countries which aren't nation states like the UK or the US, which seem to have more capability in this area not less?
Lots of people take Caltrain to commute, and commute trains are often standing room only.

But almost no one takes Caltrain at non-commute hours.
Agree completely. I was simply responding to what I read as a "they have the money, give them jobs" sentiment.
I wasn't aware Carlos Icaza passed away. I was briefly involved in a collaboration between Corona Labs (then Ansca Mobile) and a iPhone game company in the early days. Never got to finish anything in Corona but I liked it a lot.
You do have to touch your phone for every desktop client you link, and if you reinstall or bounce between machines, you encounter this a lot. Infrequently, the link just screws up and you have to 'relink' the desktop client, again requiring the phone. No way to log back in without the phone. Really my only complaint with an otherwise perfect tool.
I've been wondering about Prop 13 and I've come to the conclusion it's made california into a big ponzi scheme.

Basically, the new arrivals pay for everything. And new taxes added (such as school taxes) follow the same scheme so that long-time residents pay less there too.

That said, the TRUE beneficiaries of prop 13 are corporations anyway.
Simlish: An improv game gave us the most recognizable language in gaming
https://outline.com/DVFUJj
Zuckerberg Willing to Pay More Taxes in Europe
C99 is well supported now, but Its has become increasingly clear that some of the changes to the definition of undefined behavior in the spec has made som very troubling compiler optimizations possible that can make C a lot less dependable. Later versions of C also adopt a new memory model that is very broken. memcopy is for instance impossible to implement in C17. Due to these issues the Linux kernel is no longer using standrard C. So as it stands C89 remains a good choice.
That seems like a stretch, it doesn't increase the market price or the tax on the new property that the seller is acquiring, if anything it lets the owner save more money so they have more options to buy.
the stored events are called event but they are actually envelopes. the true changes("event"), or payload of the envelope, is stored as serialized field. the envelope holds metadata like dates, domain, aggregate type and id, event name, correlation, causation, user/account, event schema version(this is what you are asking about) and so on. i am using protocol buffers so they are backwards compatible and event schema can evolve in time. but you can use any type of format as long as you keep the schema version within the envelope and only add new fields to the objects.

then, when you are parsing the events(hydrating or replaying) you just check the schema version in the envelope and handle the changes/payload accordingly.

it's actually very trivial once you put it all together.
I think "work to rule" is a large company's dream. "Things are moving slowly because our rockstar developers have to get their code reviewed!" "Excellent, I guess we'll need to hire a team to manage the code review process more closely." <1 year passes> "Wow Bob, the size of your org tripled. You are doing three times as much work, so please enjoy this new title and a yacht!"
That's certainly not true for a sizeable number of environmentalists. Have you never heard the 'humanity is a virus on the planet' take?
That's one solution. You could copy the description to the invoice item. That's another. There are a lot more solutions, but the point is none of them will be trivial to implement in a large existing code base. It's really important to get the data model right as much as possible up front. This is a bit counter to all of the agile/scrum rage of iterate and refactor. That works for code, but schemas and data migrations do not lend themselves to constant refactoring.
This always happens with products built to focus on short-term engagement instead of driving long-term retention.
Thinking out loud some more: usernames are a terrible idea.

Maybe using a hash, (like Tox does) is a way to individualize recipients, and meta data: phone, email, etc are then tied to that (eg like keybase does it). This way friends lists can be harvested from the phone (something I'm always wary of) for the masses, whereas privacy conscious ppl can maintain it by giving out a throwaway email address. It means you could set up Signal on multiple phones and not once leak your phone number by using the same hash account. It probably wouldn't even need a password (again, like Tox).
Sweet. The baby-in-a-month problem is reduced to assembling and priming a nine-stage pipeline in a month!