News for hackers. Stuff that matters.

bmichel

Re:Gemini 2.5 Pro reasons about task feasibility on Wednesday March 26, 2025 @08:34AM (#43481520)
There is an Open-Source tool named Aider that can use Gemini: https://aider.chat/
Re:Downsides of Offline First on Saturday October 02, 2021 @10:43AM (#28728951)
CouchDB 4 may change a few things in this space. It will be based on top of FoundationDB, which should make it a lot better for running "at scale PaaS".
The name SQLancer suggests that it is made for SQL databases. Do you think it would be easy to adapt it for documents databases like CouchDB or MongoDB?
Re:Featherweight Go on Sunday May 31, 2020 @04:53PM (#23372640)
The former proposal was made by 2 members of the Go core team. And they are also in the team of the latter proposal. So, no, the first proposal wasn't good enough for the Go authors and the new proposal is in no way a guerilla attempt.
Re:Featherweight Go on Sunday May 31, 2020 @08:47AM (#23369231)
The syntax really makes me think to Zig - https://ziglang.org/documentation/master/#Introducing-the-Co.... I'd be curious to know if the authors of this paper have looked at it.
Re:What's in a Parser Combinator? (2016) on Friday May 29, 2020 @09:11AM (#23349528)
By curiosity, did you try Lezer?

https://marijnhaverbeke.nl/blog/lezer.html

Re:Testing Sync at Dropbox on Wednesday April 22, 2020 @04:25AM (#22943378)
Thanks for the answers, I appreciate that.

If you have time, I have another round of questions:

1. Did you try formal methods like TLA+ on the client? I think that the logic covered by CanopyCheck may be a nice target.

2. Do you have some tests with several clients running at the same time on a shared directory? In particular, I think of the termination invariant where the clients are fighting because several users have reorganized the directory by moving a lot of stuff, and each client is trying to converge in a different direction (ie they are making operations that cancelled the ones made by other clients).

3. The article says "In the Nucleus data model, nodes are represented by a unique identifier". Does it happen that a node has to change its identifier? For example, in a scenario like this one:

      (ada) $ offline
    (grace) $ offline
    (grace) $ mv ~/Dropbox/shared/TODO.txt ~/Dropbox/private-grace/
      (ada) $ mv ~/Dropbox/shared/TODO.txt ~/Dropbox/private-ada/
      (ada) $ echo 'foo' >> ~/Dropbox/private-ada/TODO.txt
    (grace) $ echo 'bar' >> ~/Dropbox/private-grace/TODO.txt
      (ada) $ online
    (grace) $ online
Re:Testing Sync at Dropbox on Tuesday April 21, 2020 @01:38PM (#22937229)
Thanks for sharing your experience on this rewrite. I have a few questions:

1. I'm a bit surprised that you don't persist the scenarios of the tests after a failure, only its seed. Does it mean that when you want to replay it, you have to redo the minimization phase? Or, do you have a way to find a seed for the minimized scenario?

2. Do you have some tests where you generate a set of operations and play them twice: one time with the mocks and one time on the real servers to check that they have the same results?

3. The article says "Note also the importance of the commit hash, as another type of “test input” alongside the seed: if the code changes, the course of execution may change too!". How are you ensuring that a commit really fixes a bug, and not just change the execution path to a happy path where the conditions of the bug are not met? By playing again a lot of tests, or do you write a new unit test that exhibit the bug to ensure the reproductability?

4. Do you think we can say that CanopyCheck is applying randomized testing at the unit tests level and Trinity is applying it at the integration tests level?

https://medium.com/@herbcaudill/lessons-from-6-software-rewr... suggests to build a new product without throwing away the legacy one.
Re:Swc – Fast JavaScript to JavaScript compiler on Sunday February 10, 2019 @09:26AM (#19127865)
Tanspiling from ES2015 to ES5 is no longer the main usage of babel. For example, there is transforming JSX to normal JS. And object rest/spread proprerties (ES2018) is often used by front developers, even if it is not supported by Edge. So, I don't think that babel and swc will be obsolete in 2 years. The most used transform plugins for those will change, but the parser and engine will remain. And having fast and robust tool here is a good thing for this field.
Re:Xapiand: A fast, simple, modern search and storage engine on Tuesday January 15, 2019 @04:28AM (#18909884)
There is also Blast (golang), built on top of Bleve.

- https://github.com/mosuka/blast - http://blevesearch.com/

I don't think so. It was used for scraping dating websites, but not porn IIRC.
Re:Crystal 0.25 on Friday June 15, 2018 @12:40PM (#17321184)
Did you look at Erlang/Elixir?
Re:The xonsh shell on Wednesday May 11, 2016 @03:25PM (#11678441)
Zsh has a plugin for syntax highlighting: https://github.com/zsh-users/zsh-syntax-highlighting
Re:A Farewell to FRP on Tuesday May 10, 2016 @03:16PM (#11669783)
Did you try dialyzer for Erlang[1] or Elixir[2]?

[1]: http://erlang.org/doc/apps/dialyzer/dialyzer_chapter.html [2]: http://elixir-lang.org/docs/stable/elixir/typespecs.html

Not sure it helps, it's on my todo list.

Older »