Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wyoung2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
121.
▲
by
wyoung2
9y ago
About a month: 7.0: 4 weeks 7.1: 3 weeks 7.2: 4 weeks 7.3: 5 weeks Source: https://en.m.wikipedia.org/wiki/CentOS#CentOS_releases
122.
▲
by
wyoung2
9y ago
Another is the 3ware 8000 series. We got a dead machine in recently for repair and were faced with either moving the RAID drives and card over to a new server chassis while being restricted to the EOL'd CentOS 5 or upgrading to CentOS
123.
▲
by
wyoung2
9y ago
> If you want to get things done in .NET Core, use C#. And if you want to get things done in F#, don't use .NET Core. :) Good thing .NET Core is merely the .NET du jour, not the only .NET. > If anyone doubts this, compare the num
124.
▲
by
wyoung2
9y ago
> I'll take MS's commitment to F# seriously when they stop treating it like a 2nd class citizen. If you're waiting for Microsoft to give exactly equal resources to both C# and F#, you'll be waiting forever. Just like
125.
▲
by
wyoung2
9y ago
> Were your fellow developers interested in F#? I was sole developer on that project. But here's a thought for you: you can only achieve mediocrity if all choices require 100% buy-in from all interested parties. > I have found mo
126.
▲
by
wyoung2
9y ago
Just to add to what the others have said: 1. Immutable values by default avoids whole categories of problems. Just for one example, you can't have a data race between two threads if all the public values accessible from each thread are
127.
▲
by
wyoung2
9y ago
I can't share the code with you, but I did just that on a proprietary app for my company. Only the GUI shell of the app is in C#, and that only because the GUI builder features of Visual Studio can only generate C# code. All of the &qu
128.
▲
by
wyoung2
9y ago
As I understand it, drh simply disabled Windows Defender entirely for these tests. SQLite gets an additional advantage with Defender enabled because Defender doesn't try to scan inside the SQLite DB file for the sub-files, whereas with
129.
▲
by
wyoung2
9y ago
> What happens if process A reads from a file while process B writes it? If process B started first, the writer blocks access to the table being written to, so the reader waits for the writer to complete. There are timeout and retry beha
130.
▲
by
wyoung2
9y ago
My contention was that this article is about least-effort methods (i.e. fopen() vs default SQLite) so a lot of Windows SQLite users are going to have Defender (or heaven help them, something much worse) installed. Once you start getting int
131.
▲
by
wyoung2
9y ago
See section 2.1 in the report: the Win10 and Win7 installations are on different hardware. If you have a dual-boot Win10/7 box, it's easy to run the test yourself.
132.
▲
by
wyoung2
9y ago
> What about mixed delete/write/read workloads? The source code to the test program is part of the SQLite source tree. It should be fairly easy to modify it to test the scheme you have in mind. > How well does SQLite deal wi
133.
▲
by
wyoung2
9y ago
> I don't know how SQLite handles concurrency. Why remain in ignorance? There are several articles in the SQLite documentation that address concurrency: https://www.sqlite.org/wal.html https://www.sqlite.
134.
▲
by
wyoung2
9y ago
> The same effect will be reproducible with any format storing multiple objects in a single file Given unbounded developer time, any advantage SQLite has here can of course be matched or beaten by custom code. It's just another C li
135.
▲
by
wyoung2
9y ago
The article may be unclear on this point: anti-virus was turned off for these tests. What that paragraph is pointing out is that performance tanks badly (roughly a factor of 10x) when you turn on Windows Defender, and presumably even wors
136.
▲
by
wyoung2
10y ago
> Why that annoying commit hashes are so big? In most places, Fossil shows an abbreviated form of the hash, typically 8-10 characters since Fossil, like Git, will accept any unique prefix of an artifact hash to refer to that artifact. He
137.
▲
by
wyoung2
10y ago
> Cloning worked fine. I could not push/sync or auto sync over authenticated http. That sounds like your Fossil instance allows anonymous cloning but not anonymous checkins, and that you did not give a user name with the clone comma
138.
▲
by
wyoung2
10y ago
> just like in SQL. Which SQL dialect are you using where you can ROLLBACK after COMMIT? That isn't ANSI SQL-92 or SQLite behavior. Quoting the standard: > An SQL-transaction is terminated by a <commit statement> or a <r
139.
▲
by
wyoung2
10y ago
There is about 94 kSLOC of C code in Fossil at the moment, not counting SQLite itself, according to SLOCCount. SQLite more than doubles that line count. By that measure alone, about half of Fossil is "SQL", in the sense that more
140.
▲
by
wyoung2
10y ago
> bug in Fossil in trying to figure out what check-in to update to, followed by a user attempt to recover, ended up deleting edited/uncommitted files Yes, uncommitted changes were lost, which is bad, but not at all what someone wo
141.
▲
by
wyoung2
10y ago
Yes, exactly this. Not only does working on a branch sequester each developer's individual insanities until merge time, it lets other team members keep an eye on that branch so there aren't big surprises when merge time comes arou
142.
▲
by
wyoung2
10y ago
> The inbuilt UI, although not polished If your experience was more than about half a year old, you might want to look at it again. The default skin changed recently to one that is much more of a modern web UI. It is easy to switch the s
143.
▲
by
wyoung2
10y ago
I hear what you're saying, but I don't think someone evaluating Fossil should say things like, "We've always been a Bugzilla/MediaWiki/whatever shop, so we won't use tools that don't integrate with th
144.
▲
by
wyoung2
10y ago
> there are bound to be people with misconfigured clocks. Let's step back a bit here, and realize that ticket tracking is typically one of the things you restrict access to in a Fossil repository. You're either running a privat
145.
▲
by
wyoung2
10y ago
It's hard to know what your problems are from such a vague description, but I've been using Fossil over HTTP on private LANs for years now. I only use Fossil over SSH when I need to tunnel to a remote server that can't forwar
146.
▲
by
wyoung2
10y ago
> Does Fossil have something like 'rollback'? Yes, but not like you mean. A commit is made using a SQLite transaction, so if any part of the commit process fails, it will roll the Fossil repo DB back to its prior state, prevent
147.
▲
by
wyoung2
10y ago
> I could not sit any non-technical user in front of it and have it make sense to them So name a bug tracker with equivalent or greater flexibility to Fossil's that non-technical users do understand. I've only used one bug tr
148.
▲
by
wyoung2
10y ago
> I think people have a way too high tolerance for this kind of crap. I agree. The core problem with Git is that it was designed to serve the needs of the Linux kernel developers. Very, very, very few projects have SCM problems of simila
149.
▲
by
wyoung2
10y ago
> Fossil's wiki and ticketing system are awful Care to be more specific? I'll grant that Fossil's wiki is not a competitor to MediaWiki, but that doesn't make it "awful." It just makes it less featureful.
150.
▲
by
wyoung2
11y ago
> let's say I want to work on an open source project done in fossil....How do I do this? You clone the repo, open it into a working directory, and turn off autosync. Then all changes made to the repo affect only your local instance.
More ›