Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
copx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
copx
9y ago
>Associated consts aren't class variables, because constants can't vary That's why I wrote "limited version of". Rust's "associated constants" are a subset of C++'s class variables feature. Na
122.
▲
by
copx
9y ago
"Associated functions" = class methods "Associated constants" = limited version of class variables Rust keeps approaching C++'s feature set.. I am amazed that the above wasn't in Rust to begin with, though. Can
123.
▲
AMD ships revised Ryzen CPUs with a compile bug fix
(techreport.com)
2 points
by
copx
9y ago
|
0 comments
124.
▲
by
copx
9y ago
Integrity of your data. Without ECC data in memory can become corrupted at any point. It's usually just a single bit but say you are working with images, do you care if a single pixel changes its RGB value because of a memory error? A
125.
▲
by
copx
9y ago
>The threat that ISIS represents is not existential. Tell that to the Yazidis in Syria.
126.
▲
by
copx
9y ago
A. Is the language stable/mature enough for production use? B. Do the concurrent features allow shared memory parallelism? I currently use Lua if I need an embedded scripting language for a personal project and the one thing that annoy
127.
▲
by
copx
9y ago
I mostly submitted this here because Dao looks kinda interesting but I've never heard anything about it anywhere and thus was reluctant to invest time in it. I know that the language has been around for years, though. Has anyone here e
128.
▲
by
copx
9y ago
Where did you get that idea? https://github.com/daokoder/dao/ Last commit was 3 days ago Project seems relatively active in general: https://github.com/daokoder/dao/graphs/commit-act
129.
▲
Dao Programming Language
(daoscript.org)
99 points
by
copx
9y ago
|
25 comments
130.
▲
The AMD Ryzen Threadripper is the most powerful processor we’ve ever tested
(techradar.com)
3 points
by
copx
9y ago
|
0 comments
131.
▲
by
copx
9y ago
>How do you mean, suboptimal? The fully generic version is 2 lines of initialization more than the restricted version. I.e. a 200% increase in code size! Now imagine that throughout the entire code base. > Is 2 lines not an accepted t
132.
▲
by
copx
9y ago
More importantly generic code is almost inevitably bloated, less efficient, and more complex compared to code which only attempts to solve the actual problem at hand, as opposed to attempting to provide a generic solution for all imagined u
133.
▲
by
copx
9y ago
I wonder if the Ryzen bugs can really be fixed with a microcode update..
134.
▲
Developing robust AI in DwarfCorp
(dwarfcorp.com)
4 points
by
copx
9y ago
|
0 comments
135.
▲
Pharo 6.1 released
(pharoweekly.wordpress.com)
1 points
by
copx
9y ago
|
0 comments
136.
▲
by
copx
9y ago
Paint.NET actually starts up instantly these days on a half-way modern computer. If you turn off the "Automatically check for updates when paint.net starts" option at least. Also .NET is "native" on Windows.
137.
▲
by
copx
9y ago
JS is the new lingua franca, what C used to be. And unlike C it is easy to get started programming in it. Thus a good choice for an intro language if you ask me.
138.
▲
by
copx
9y ago
How would that even work? Modern C++ libraries are largely templates, templates which must be instantiated at compile-time i.e. you need a full C++ compiler to use C++ libraries directly. Said compiler must somehow work together with the D
139.
▲
LuaJIT Hacking: Getting next() out of the NYI list
(blog.cloudflare.com)
4 points
by
copx
10y ago
|
1 comments
140.
▲
by
copx
10y ago
What a waste of time. ReactOS is illegal anyway. Microsoft must have a million patents on Windows technology, no way you could re-implement Windows without violating them. Fact is the moment ReactOS becomes a threat to Microsoft's busi
141.
▲
by
copx
10y ago
>The 2.X => 3.X transition really appears to have been bungled here, which is a shame. Obviously, the question is what went wrong. Personally I think the dev team gave users too much time to switch. The Python devs should have only gi
142.
▲
by
copx
10y ago
The fork should be called "Lython" as in Legacy Python.
143.
▲
by
copx
10y ago
> And it's small. Currently the interpreter, JIT, GC, and stdlib clock in at about 10.3MB once compiled down to an executable. Oh how the definition of "small" has changed. I actually would like to know how they managed
144.
▲
by
copx
10y ago
>Ruby and JavaScript have modern dependency managers (bundler and npm/yarn). They're easy to get working cross-platform. Ruby is easy to get working cross-platform? The only fully supported platforms are Linux and OS X (and rea
145.
▲
Erlang encourages poor Functional Design
(srparish.wordpress.com)
1 points
by
copx
10y ago
|
2 comments
146.
▲
by
copx
10y ago
> Another example was SPJ's talk about parallel programming in Haskell, where the result was that a 6 core Haskell version was equivalent to a single core C solution. Reminds me of a Rich Hickey talk were he proudly declared that
147.
▲
by
copx
10y ago
>That's not true at all, Lua < 5.3 uses doubles for all numbers I know that of course, but using doubles for integer math is only safe if you limit yourself to a certain integer range. >which on most computers is IEEE 754, the
148.
▲
by
copx
10y ago
In Lua < 5.3 a = 9223372036854775000 is not even valid code. Because only 32-bit integer values are supported. In Lua < 5.3 the value is immediately corrupted (check the value of 'a' after the initial assignment) and sta
149.
▲
by
copx
10y ago
Lua was pretty much perfect at version 5.1 (the version LuaJIT supports). Lua is meant to be a simple language, not one of those languages which accumulate more and more features and thus complexity over time (I am looking at you C#, Java,
150.
▲
by
copx
10y ago
Why did they write a Scheme debugger in TCL?
More ›