News for hackers. Stuff that matters.

bendavis381

Re:I'm writing a new vector search SQLite Extension on Friday May 03, 2024 @05:40PM (#40252706)
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?
Re:I'm writing a new vector search SQLite Extension on Friday May 03, 2024 @04:15PM (#40251878)
Very very excited by this! I saw on the repo that `sqlite-vec` will support `row in`?
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?
Re:Neovim 0.7 Released on Friday April 15, 2022 @02:20PM (#31043721)
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.
Re:Notes on Web3 on Thursday November 18, 2021 @08:18PM (#29272698)
What deficiencies with existing ticketing solutions do NFTs provide?
Re:Notes on Web3 on Thursday November 18, 2021 @08:15PM (#29272686)
What’s stopping you (or anyone) from building these communities now with existing tech?
Re:Notes on Web3 on Thursday November 18, 2021 @08:13PM (#29272664)
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.
Re:Rob Pike on good commit messages (2014) on Thursday December 19, 2019 @02:10PM (#21838153)
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.

Re:Apple Music Web Client on Thursday September 05, 2019 @07:21PM (#20891527)
On iOS: Library -> Songs -> Sort by recently added
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.
Re:New Mac Pro on Monday June 03, 2019 @04:55PM (#20088640)
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).
Re:Chromium-based Edge preview builds on Monday April 08, 2019 @05:23PM (#19609177)
This is incorrect. Safari 12 shipped with support for macOS 10.12 and 10.13 [1].

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

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.

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

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

A recent Reddit thread [1] suggests that FB is able to track location even without the installation of any of their apps. Is this via tracking pixel or through a deal with Samsung/Google?[1] https://www.reddit.com/r/privacy/comments/9z1205/facebook_suggested_that_i_friend_a_person_that_i/?st=JORDJ5U5&sh=ef5fa5aa

( Read More... | 1 comment | 2 points | on HN )
Re:iPad Pro on Tuesday October 30, 2018 @11:45AM (#18337779)
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.
Re:Introducing Hooks on Thursday October 25, 2018 @02:34PM (#18303343)
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.
Re:OOP Is Dead, Long Live OOP on Thursday October 18, 2018 @04:13PM (#18251721)
And don’t use a class if it holds no state.
Re:Climate change and the 75% problem on Wednesday October 17, 2018 @12:07PM (#18240418)
4 hours of sleep doesn't do anyone any good.
Re:Climate change and the 75% problem on Wednesday October 17, 2018 @12:06PM (#18240410)
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.
Re:Climate change and the 75% problem on Wednesday October 17, 2018 @11:44AM (#18240155)
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.

Re:Climate change and the 75% problem on Wednesday October 17, 2018 @11:39AM (#18240111)
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.
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.

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.
Re:TypeScript 3.0 on Tuesday September 04, 2018 @12:18PM (#17910136)
So presumably you write all your non-web stuff in machine code? Compilers are pretty common.
Re:Serverless Docker Beta on Tuesday August 14, 2018 @03:55PM (#17761320)
People should really just use .mp4. They're smaller and have native playback controls, including restart, timeline, etc.
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.

Re:Keep a Changelog on Saturday July 28, 2018 @01:30AM (#17631706)
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.

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?
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?

Older »