2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions
comment 5y ago · link · parent
http://demsky.eecs.uci.edu/publications/c11modelcheck.pdf
This page describes how to get the code (linked from the paper):
http://plrg.ics.uci.edu/software_page/42-2/
I found some data races in an ODBC driver using TSan. Running it through CDSChecker is one of my round tuit projects.
comment 5y ago · link · parent
That was my thought too. Programming is kind of like American Idol--a lot of programmers don't know how bad they are. The submitter said they failed to accomplish a medium complexity task, but it's not clear what this means: got stuck and gave up; missed a deadline; finished, but with poor quality?
From one of the submitter's thirty previous Ask HN submissions, I see experience working with a variety of tools, including machine learning. With batteries-included languages and powerful libraries, you can get pretty far in Tinkertoy mode, assembling the pieces of a solution. When you're faced with a task that demands more programming skill, it can be an adjustment.
If you have a passion for software development, self awareness, and a desire to improve, I think you'll be okay.
comment 5y ago · link · parent
https://www.zodiackillersite.com/viewtopic.php?f=81&t=3198
Although it's a Windows executable, it looks like it's possible to build from the source in this repo:
comment 5y ago · link · parent
One review claimed that the HP Omen has some kind of RAM serial number check in the BIOS: even if you buy the exact brand and model of HyperX Fury RAM, it will run slower, unless you buy it from HP. Generally, the HP Omen 25L and 30L were both knocked for loud/inadequate cooling. There are also complaints about difficulty canceling orders after discovering long shipping times that were not adequately disclosed at order time.
I didn't research the Alienware Aurora as much as the other two, but I did find some complaints about loud/inadequate cooling.
The Lenovo Legion Tower 7i looked really good. Decent design with adequate cooling. Shipping times are reasonable, because they only seem to list configurations that they actually have. If there is a complaint, it's that their configurations are fixed. You can't configure the RAM or storage. I didn't find as much detail on the 5i, but it seems reasonable within its limits (e.g., doesn't seem to be available with RTX 3080).
I also looked at prebuilts from CyberPower, iBuyPower, Corsair, Falcon Northwest, Origin, and others. I presume that their build quality is superior and/or less proprietary, which is generally reflected in their price.
I gave up on building my own this time around, and bought an MSI Trident X that happened to show up in stock one evening at Adorama. Its 1TB SSD came partitioned strangely (split into two big partitions with a recovery partition in between them), but MSI has a video on YouTube demonstrating how to fix that using Partition Assistant. I've only had it a few days, but I'm impressed that they squeezed a 10700K and RTX 3080 into a box significantly smaller and quieter than my home-built Ivy Bridge with a GTX 1060. I was able to add a 2TB M.2 with no trouble, and there's even room for 2.5" drive or two.
comment 5y ago · link · parent
When it comes to adoption, an area where Eiffel has clearly lagged, the availability of implementations can't be an afterthought; not when you have good, free implementations for Python, Ruby, Go, Rust, Julia, and many more.
Objective-C and Swift are interesting languages that are held back by the fact that the best environment is Xcode on a Mac. Similarly, Qt has been plagued by license anxiety for years (first the QPL, and now the delayed LGPL releases). Therefore, I would say that one of the "obvious, non-negotiable things any new OO language should have," to quote the article, is a good open source implementation.
comment 5y ago · link · parent
> If you wish to earn a commercial benefit from your application and not release its source code, you must purchase the number of licenses you need for your development from Eiffel Software. After you purchase licenses, you are free to use and distribute your application the way you want (see the end user license agreement).
> If you select the Open Source license, you must release your development under an Open Source license for the benefit of the community at large.
So I'm still confused about the licensing. For the open source license, is a GPL runtime embedded in the compiled program or something?
comment 5y ago · link · parent
Similarly, I would preface some programs in the Start menu with a unique number; e.g., Win, P, 1 opened File Explorer; Win, P, 2 opened the Command Prompt, etc. With the Windows 10 start menu, I just start typing, but it sometimes exhibits weird behavior, where it finds what I want after one or two characters, then changes to the wrong thing after I type another (correct) character.
I generally prefer the Cmd-Tab / Cmd-Tilde split on macOS to the Alt-Tab on Windows. However, after all these years, I still can't always predict which window is next--will I go back to the window I was just on, or keep going forward to another one?
comment 5y ago · link · parent
* Roy Blunt (R-MO)
* Cindy Hyde-Smith (R-MS)
* James Lankford (R-OK)
* Ed Markey (D-MA)
* Marco Rubio (R-FL)
* Rick Scott (R-FL)
* Sheldon Whitehouse (D-RI)
* Ron Wyden (D-OR)
Wikipedia has some history on similar, short-lived efforts in the past:
> Seasonal observation of DST was first enacted in the US during World Wars I and II, as an attempt conserve fuel. The practice was unpopular and promptly repealed after each war; however, lobbyists from the petroleum industry lobbied to restore DST, as they had noticed it actually increased fuel consumption.
> Permanent DST in the US was briefly enacted by President Nixon in 1974, in response to the 1973 oil crisis. The proposal was initially supported by an estimated 79% of the public; that support dropped to 42% after its first winter, owing to the harshness of dark winter mornings that permanent DST creates. An estimated six school children were also killed by motorists due to the new law.
https://en.wikipedia.org/wiki/Permanent_time_observation_in_...
On the eastern edge of the enormous Eastern time zone, I'm sympathetic to permanent DST, but I'm not sure it's a good idea nationwide. I would probably be in favor of the proposed Atlantic time zone, though.
comment 5y ago · link · parent
If I change from "Always" to "When scrolling", the only way I can make the horizontal scrollbar appear is to start scrolling by pressing my mouse wheel to the side. It's otherwise utterly invisible, even when I hover over that region. Edit: the table doesn't initially have focus, but if I click it, I can also use the arrow keys.
When I wrote a page to display a very information-dense table, I tried very hard to avoid horizontal scrolling. I abbreviated, used icons and colors, and allowed wrapping. You're implementing a general purpose utility that can have arbitrarily many columns, so you can't really control that.
I'm not much of a web dev, so I may be off base, but I think part of the problem is that you're mixing a page-wide vertical scrollbar with a div- or table-specific horizontal scrollbar.
comment 5y ago · link · parent
Edit: simonw just posted more information on this thread.
comment 5y ago · link · parent
> Hello, unfortunately, the ISO Central Secretariat does not provide free copies of standards. All ISO Publications derive from the work and contributions of ISO and ISO Members that contain intellectual property of demonstrable economic value.
> For this reason, considering the value of standards, their economic and social importance, the costs of their development and maintenance, we and all ISO Members have the interest to protect the value of ISO Publications and National Adoptions, not making them publicly available.
The ISO standard that I have the most experience with is ISO/IEC 9899:1990, aka C90. Part of the reason for that, of course, is that I had a used copy of Herbert Schildt's Annotated ANSI C Standard; it's also a considerably smaller standard than, say, SQL or C++.
I'm of mixed minds as to the value of the C standard. There is certainly value in having a standard. After sufficient study and deliberation, you can usually determine whether an input program or compiler implementation is standards conforming. When I compare the evolution of C and C++ to say, Python and Rust, I have trouble pointing to the specific value that ISO adds.
This isn't really a fair comparison, because the difference between C/C++ and Python/Rust isn't just the process, but the end result. I judge C and C++ not just by ISO's efforts, but by those of Microsoft, IBM, GNU, LLVM, etc. Python and Rust, meanwhile, ship a working reference implementation, and do a pretty good job of it. Rust has improved quite a bit six weeks at a time. C standards, meanwhile, ship closer to every decade. Even the new rapid pace of C++ is every three years.
comment 5y ago · link · parent
Interesting to see an open source project in this traditionally high-end boutique market. I think comparable tools include BodyPaint 3D ($995), Substance Painter ($150+), 3DCoat ($99+), and maybe ZBrush ($895) and Mudbox ($7-10 / month).
When I see what textures look like, independent of the model, it's hard to imagine creating them without some kind of painting interface like this.
comment 5y ago · link · parent
The only thing I feel like I'll be missing in the 10700K compared to the 11700K is AVX512. It's been derided for throttling, but it does look kind of amazing for certain workloads.
One thing I find curious about the Zen 2 and Zen 3 product lines is that the processor I really want is OEM only: first the 3900, now the 5900. I like the idea of twelve cores at an easier-to-cool 65W. I bought an OEM Athlon back in the day, but I don't see a lot of OEM processors for sale these days. Maybe just more fallout from the chip shortage.
comment 5y ago · link · parent
* Do they compare equal?
* If they're convertible to boolean, do they both evaluate to false?
* If you serialize/deserialize the value (e.g., to JSON and back), does it maintain the distinction?
* If you send this value to a database (esp. one with stored procedures), how does its behavior compare to your language?
comment 5y ago · link · parent
It may actually be a bug that I got the warning, because the range of each input was checked, and I think the compiler is supposed to be smart enough to remember that.
comment 5y ago · link · parent
Despite my tendencies towards almost-always auto, I can't say that I consistently use auto x = type{init}, but there is certainly nothing wrong with it.
comment 5y ago · link · parent
I take the author's point about the cost of compiling a template, but the benchmark is odd: a thousand functions with a single call to emplace_back(). C++ programmers are (in)famously willing to trade compile-time performance for run-time performance. Complement the compile benchmark with a realistic program benchmark. In a typical program, I would expect emplace_back() to be called many more times than it's compiled.
comment 5y ago · link · parent
I feel like domain name disputes tilt disproportionately to trademark holders, so I wouldn't like to see, e.g., cupy block a cupyd package or vice versa (or, for that matter, NVIDIA somehow strongarm cupy). On the other hand, you'd like a mechanism by which you can trust that a package comes from the cupy maintainers.
comment 5y ago · link · parent
I'll have to give this one a try. It would be nice to be able to sift through binary data like bytecode or some non-standard serialization format without writing a one-off utility for it.
comment 5y ago · link · parent
$ edit foo.txt
...
Ctrl-Z
$ dir
foo.txt;1
$ edit foo.txt
...
Ctrl-Z
$ dir
foo.txt;1 foo.txt;2
When you delete a file, you have to specify a version field (blank for latest): $ del foo.txt;
$ dir
foo.txt;1
IIRC, you can configure how many versions to keep.comment 5y ago · link · parent
Even if I'm not too excited about the proprietary expansion card system, which will last as long as the founders' attention spans, if it gives access to standard memory and storage, that's an improvement over the current trend.
comment 5y ago · link · parent
comment 5y ago · link · parent
That's an interesting take. After the discussion of the announcement earlier this week, I presumed that this was a way for NVIDIA to improve yields by rescuing bad chips from the scrap heap. If a failed 3090/3080/3070 is going to a CMP instead of a 3060, that's not the win-win that they're pitching. If the alternative is a 2060, on the other hand, I'd still give them the benefit of the doubt.
comment 5y ago · link · parent
> [The bank manager] raised his hand during this whole all-hands meeting and he says what about the free computers? Do we still get the new computers? I'm like no, I was lying to you. I'm a horrible person.
And this one after getting caught at the wrong bank:
> He calls the guy who hired us to rob the bank. They start talking and halfway through the conversation he literally says do we have to split the cost for this? At that point I realized it was probably going to be okay.
comment 5y ago · link · parent
comment 5y ago · link · parent