danvet | 6 years ago | on: Effect of economic crisis on America’s small businesses [slides]
danvet's comments
danvet | 7 years ago | on: But Rich People Live Here, So We Can't Be Going Broke
danvet | 8 years ago | on: Linux Kernel Maintainer Statistics
https://lwn.net/Articles/705244/
I wouldn't say that the kernel community is a success storie in this regard ...
danvet | 9 years ago | on: AMD’s $499 Ryzen 7 1800X Beats $1700 i7 6950X with 1-Click OC on Air Cooling
Vulkan fixes this big time, by allowing apps to construct GPU workloads for a single GPU in parallel. Only the final submission step (which is supposed to be very low overhead if the driver design is decent) is single-threaded per GPU context. And even for that Vulkan is better: It allows you to allocate different contexts for separate engines (e.g. rendering vs. compute vs. copy engine for data up/download to/from the GPU vram).
The lower CPU overhead is just the icing on the cake, the real deal is that Vulkan fixed the threading/locking model.
danvet | 9 years ago | on: Linux kernel maintainer says no to AMDGPU patch
This is me talking with my community hat on (not my Intel maintainer hat), and with that hat on my overall goal is always to build a strong community so that in the future open source gfx wins everywhere, and everyone can have good drivers with source-code. Anyway:
- "Why not merge through staging?" Staging is a ghetto, separate from the main dri-devel discussions. We've merged a few drivers through staging, it's a pain, and if your goal is to build a strong cross-vendor community and foster good collaboration between different teams to share code and bugfixes and ideas then staging is fail. We've merged about 20 atomic modeset drivers in the past 2 years, non of them went through staging.
- "Typing code twice doesn't make sense, why do you reject this?" Agreed, but there's fundamentally two ways to share code in drivers. One is you add a masive HAL to abstract away the differences between all the places you want your driver to run in. The other is that you build a helper library that programs different parts of your hw, and then you have a (fairly minimal) OS-specific piece of glue that binds it together in a way that's best for each OS. Simplifying things of course here, but the big lesson in Linux device drivers (not just drm) is that HAL is pain, and the little bit of additional unshared code that the helper library code requires gives you massive benefits. Upstream doesn't ask AMD to not share code, it's only the specific code sharing design that DAL/DC implements which isn't good.
- "Why do you expect perfect code before merging?" We don't, I think compard to most other parts in the kernel DRM is rather lenient in accepting good enough code - we know that somewhat bad code today is much more useful than perfect code 2 years down the road, simply because in 2 years no one gives a shit about your outdated gpu any more. But the goal is always to make the community stronger, and like Dave explains in his follow up, merging code that hurts effective collaboration is likely an overall (for the community, not individual vendors) loss and not worth it.
- "Why not fix up post-merge?" Perfectly reasonable plan, and often what we do. See above for why we tend to except not-yet-perfect code rather often. But doing that only makes sense when thing will move forward soon&fast, and for better or worse the DAL team is hidden behind that massive abstraction layer. And I've seen a lot of these, and if there's not massive pressure to fix up th problem it tends to get postponed forever since demidlayering a driver or subsystem is very hard work. We have some midlayer/abstraction layer issues dating back from the first drm drivers 15 years ago in the drm core, and it took over 5 years to clean up that mess. For a grand total of about 10k lines of code. Merging DAL as-is pretty much guarantees it'll never get fixed until the driver is forked once more.
- "Why don't you just talk and reach some sort of agreement?" There's lots of talking going on, it's just that most of it happens in private because things are complicated, and it's never easy to do such big course correction with big projects like AMD's DAL/DC efforts.
- "Why do you open source hippies hate AMD so much?" We don't, everyone wants to get AMD on board with upstream and be able to treat open-source gfx drivers as a first class citizen within AMD (stuff like using it to validate and power-on hardware is what will make the difference between "Linux kinda runs" and "Linux runs as good or better than any other OS"). But doing things the open source way is completely different from how companies tend to do things traditinoally (note: just different, not better or worse!), and if you drag lots of engineers and teams and managers into upstream the learning experience tends to be painful for everyone and take years. We'll all get there eventually, but it's not going to happen in a few days. It's just unfortunate that things are a bit ugly while that's going on, but looking at any other company that tries to do large-scale open-source efforts, especially hw teams, it's the same story, e.g. see what IBM is trying to pull off with open power.
Hope that sheds some more light onto all this and calms everyone down ;-)
danvet | 10 years ago | on: WhatsApp, Used by 100M Brazilians, Shut Down Nationwide Today by a Single Judge
It's worse that most local judges simple don't know that there's even a problem, and even if that'a clear to them, the judge most likely has 0 experience in making a successful request to the foreign state. And since all bureaucrats if the request isn't perfect it falls through the cracks. So often (at least if you're locally present) your laywers will need to help the judge to draft and push such a request through.
Long story short: These jurisdictional issues are not at all US specific, it's everywhere. Sovereign states just don't like it all over if their citizens and companies do stuff within their borders under orders of a foreign state.
danvet | 10 years ago | on: Dell’s Skylake XPS 13, Precision workstations now come with Ubuntu preinstalled
danvet | 10 years ago | on: Nvidia GPUs can break Chrome's incognito mode
You can't opt out of these security features on upstream/open source linux drivers either.
Now of course this won't insulate different tabs in chrome since chrome uses just one process for all 3d rendering. But GL_ARB_robusteness guarantees plus webgl requiring that you clear textures before handing them to webpages means that should work too. On top of that webgl uses gl contexts (if available), and on most hw/driver combos that support gpu MMUs even different gl contexts from the same process are isolated.
This really is a big problem with binary drivers, and has been known for years.
danvet | 10 years ago | on: X.Org Might Lose Its Domain Name
1: https://en.wikipedia.org/wiki/Single-letter_second-level_dom...
danvet | 14 years ago | on: TIOBE : C overtakes Java as the No.1 programming language
danvet | 14 years ago | on: Your body wasn’t built to last: a lesson from human mortality rates
danvet | 14 years ago | on: The raster tragedy at low resolution (1997)
danvet | 14 years ago | on: Commit logs from last night
And you absolutely don't want all that crap in the source code, because it routinely happens that a few lines of diff require a few paragraphs of commit message to explain why this is the right thing to do.
And browsing that massive amount of information with recursive git blame (or gitk's equivalent) and the more specialized history digging functions is easy. At least much easier than browsing through the equivalent embedded in source files, and I've seen the latter.
One thing you're right, though: Writing concise one-line summaries of a commit (which is the only thing a git shortlog shows) is a must.
danvet | 14 years ago | on: What does 0^0 equal? Why do mathematicians and high school teachers disagree?
Math is a tool (and sometimes abused for pure pleasure, 200 years later applied to make hard crypto work). If your definition doesn't make sense for the application, fix your definition and get over it.
Another example I've recently often bitched about in discussions is modern measure theory and its application to probability calculations. People just don't get the concept of theorytically possible event, but probability 0, i.e. ignore this. But without Lebesgue integration L_p function spaces are not complete and an awful lot of stuff stops to work properly. Among them essentially all of modern physics.
The sane approach is to get over the "this doesn't make intuitive sense" bitchering and just use defintions to derive useful results. And after a few years of playing around with stuff and applying the un-intuitive definition, it's becoming intuitive ;-)
danvet | 14 years ago | on: $1 chip tests for HIV in 15 minutes, fits in your wallet
Which is why in practice you run a different test to confirm results.
danvet | 14 years ago | on: Who Rules America: An Investment Manager's View on the Top 1%
Now the problem is obviously that everyone who went along for the ride, hoping for the best will go bust, too. Among them the top 0.1% (or at least a large part, you need to substract the Warren Buffet type). Obviously the rich and powerful don't like becoming poor and deprived of power, so the bailout themselves via the gov't/fed.
And as a strawmen they set up the crumbling 401k savings of the 99.9% normals.
An aside: I seriously wonder what would have happend if the gov't would have continued to let banks default. I don't think it'd be much worse than the Marshall plan for Germany with it's complete reset of the (liquid) wealth after WW2. And that went really well. And for a bit of fairness, resetting the clock every 80 (because people tend to forget the last utter economic catastrophe) probably won't hurt.
danvet | 14 years ago | on: When patents attack Android
danvet | 14 years ago | on: SICP is Under Attack
Step 1: Transform to the eigenbasis of your operator. Step 2: Enjoy the beaty.
danvet | 14 years ago | on: The Mother of All Interview Questions
Luckily changing software doesn't (usually) require a solder iron.
danvet | 14 years ago | on: Bootstrapping an Ultra Low Latency Trading Firm, Part 2
Of course, if you're not desperate on selling right now and or the risk for the trader is too high (i.e. the minimum price you'll sell right now is higher than what the trader is willing to offer you right now), nothing happens.
Concluding, traders do add utility to a market. And as others have already said, with high freq trading it mostly results in massively reduces spreads (and the temporal utility as outlined in the laptop example essentially disappears).
And yes with these measures essentially any income is now assured: Salaries, salaries of SMB owners (normally excluded from unemployement benefits for obvious reasons), hourly workers, limited contracts, internships/apprenticeships, self-employed (i.e. without being employed by an LLC or something else like that) business like artists. Also daily stop-gap money if you have to stay home for more than a few days to figure out how to take care of your homeschooled kids.
Plus like 20 billions in credit guarantees for small businesses to avoid a cash flow squeeze.
All measures use existing infrastructure for paymenet (commandeering the banks for the cash flow squeeze credits) to guarantee the money has arrived by end of the month, latest. And that it will continue to flow, like regular pay check.