Better HN
topnewbestaskshowjobs
Log inSign up

bendavis381

210 karma · joined Dec 23, 2012 (13y ago) · 56 submissions

Submissions

comment 2y ago · link · parent

Nice. So if I understand correctly, pre-filtering means we'd get 10 results here if there are at least 10 returned from the subquery?

comment 2y ago · link · parent

Very very excited by this! I saw on the repo that `sqlite-vec` will support `row in`?

comment 2y ago · link · parent

This matches our experience too. Out of curiosity, do you use email as the identifier? And if so, do you verify during the initial signup flow?

comment 4y ago · link · parent

Yeah I can second this. I've been using native LSP since 0.5 nightly and it's been nothing but solid. The only thing that occasionally gave me issues were tree-sitter crashes (unrelated to LSP), but even those seem to have all been fixed by now.

comment 5y ago · link · parent

What deficiencies with existing ticketing solutions do NFTs provide?

comment 5y ago · link · parent

What’s stopping you (or anyone) from building these communities now with existing tech?

comment 5y ago · link · parent

Do you know of any good resources for tracking what real-world usage there is for smart contacts? Preferably something that details actual usage statistics rather than a list of companies that purport to do something with them.

comment 6y ago · link · parent

Check out how phabricator handles this. It's essentially what you're asking for: https://secure.phabricator.com/phame/post/view/766/write_rev...

TL;DR: PRs are not based off a diff between master and a remote branch. Instead, phabricator sends up patches to code review and when approved, the Phabricator tooling handles the rebase locally. No remote branches and clean history.

comment 7y ago · link · parent

On iOS: Library -> Songs -> Sort by recently added

comment 7y ago · link · parent

You're confusing the local observation time of a phenomena with the time the phenomena occurred as observed from our frame of reference and relative distance from its origin.

comment 7y ago · link · parent

This is more for other readers as I'm sure you know this, but VFX / animation facilities are very different than other post-production functions like editing and sound, which almost always run on Macs. Final Cut and Logic are mostly the reasons for that (Blackmagic is making a real effort to change that though).

comment 7y ago · link · parent

This is incorrect. Safari 12 shipped with support for macOS 10.12 and 10.13 [1].

[1] - https://developer.apple.com/safari/whats-new/

comment 7y ago · link · parent

There's a trend amongst dynamic languages to slowly add type hints (see Mypy for Python, Typescript, etc) so I see these issues becoming less important over time.

I've been using Python on a daily basis for close to a decade now, I can probably count on my hand how many times a bug has been because of casting a string to an int.

comment 7y ago · link · parent

Can you give us an update on the International Entrepreneur Rule?

15.

Ask HN: How does FB's friend suggestion mechanism work?

2 points · by bendavis381 · 8y ago · 1 comment

comment 8y ago · link · parent

Can someone more educated on the subject please explain to me what would be required to turn this into a proper development machine? I'm asking about what iOS changes would be needed, rather than opinions about the physical aspects of it like form factor.

comment 8y ago · link · parent

I agree. Optimizing a developer library for developers who struggle to understand what a class is seems like a good way to build something very convoluted.

comment 8y ago · link · parent

And don’t use a class if it holds no state.

comment 8y ago · link · parent

4 hours of sleep doesn't do anyone any good.

comment 8y ago · link · parent

I would rephrase it as "the price is so much higher, suppliers are forced to develop alternative products to satisfy demand". Energy suppliers have been given massive subsidies for decades because they don't have to factor in the negative externalities. A carbon cost should be a part of the balance sheet in the way raw materials are. Given that, suppliers will have to innovate their way to bring price back down to equilibrium, or go out of business.

comment 8y ago · link · parent

Even though your question has been deservedly downvoted, it still deserves an answer. Global warming implies that our effect on the planet is restricted to an upward trend in global temperature. Although that's the principal result of human emissions, the issue manifests itself in many other ways, including but limited to: sea level rise, extreme weather events, substantial changes and extinction of flora and fauna, loss of coral reefs, loss of ice sheets, etc.

Climate change includes the broad ecological changes that stem from a warming planet, rather than a narrow focus on the warming itself.

comment 8y ago · link · parent

Not just that. Companies should have to pay for their emissions. Like how we have to pay local government to take our garbage, companies should have to pay to pollute the planet. It's insane that Starbucks et al can produce as much waste as they want without any requirement to pay for the damage.

comment 8y ago · link · parent

I think the sentiment behind #5 is right, but your wording is wrong. It's not about bullshitting. It's about storytelling and choosing which parts of your story to emphasise and how to frame them. People don't realise the extend to which raising money is simply storytelling. And with any story, you dictate where your story takes somebody. Investors want to believe in your story (especially angels / early VC) so give them the story they want to hear.

That said, it's a fine line between good storytelling and out-right lying. You should be telling a story "based on true events", not a fantasy epic that's easy to pick apart. Credibility is everything. And just like watching an implausible action movie, playing with the truth is easy to spot, and the fastest way to damage your credibility.

comment 8y ago · link · parent

It's worth noting that this is not a law in the commonly understood sense. It's an EU directive, which requires member states to achieve a required outcome, but leaves the legal implementation up to the individual state. It'll be interesting to see how the member states interpret the language and what legal framework will be used to enforce it.

comment 8y ago · link · parent

So presumably you write all your non-web stuff in machine code? Compilers are pretty common.

comment 8y ago · link · parent

People should really just use .mp4. They're smaller and have native playback controls, including restart, timeline, etc.

comment 8y ago · link · parent

For global political analysis, read Foreign Affairs. Long-form analysis as far removed from click-bait journalism I think is possible.

https://www.foreignaffairs.com.

comment 8y ago · link · parent

I think the issue with automation is it requires a cultural change for most companies / projects. People are very used to small atomic commits and so it’s hard to reduce the noise once parsed into a changelog. To make it work, you need each commit to be as meaningful as a line in the changelog.

We use Phabricator and it’s default workflow, so have a clean linear git history. Phabricator already requires strict formatting for any new diff (title, description, testing, etc). It’s built into the culture of any org using Phab to consider commits as meaningful entries in the history of the project. So it would be very straightforward (technically and culturally) to require a simple title prefix ala Changelog (ADDED, FIXED, SECURITY, etc) for each commit and have yourself a automated and meaningful log.

comment 8y ago · link · parent

Why would you use markdown to take notes? Markdown is designed to be displayed as rich-text (headings, lists, etc) after authoring. If you only ever view it in plaintext as an editor, what's the point?

comment 8y ago · link · parent

This is a serious question as I want to make sure I'm reading this right: CryptoKitties really had only 274 users in the past 24 hours? The USV/Andreessen company?
12