Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ceronman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
ceronman
12y ago
This is really exciting. I love that they decided to follow this kind of community supported evolving of the language. This is what Python has been doing for years and it has worked very well. Congrats to the Dart community!
242.
▲
Understanding Python's augmented assignment (a += b)
(stupidpythonideas.blogspot.com)
72 points
by
ceronman
12y ago
|
15 comments
243.
▲
WebRTC Made Simple
(blog.carbonfive.com)
2 points
by
ceronman
12y ago
|
0 comments
244.
▲
by
ceronman
12y ago
Not sure why you say Python on the CLR is abandoned. The last release of IronPython was on December 6, 2014.
245.
▲
by
ceronman
12y ago
I think Perl 5 threading model is pretty broken. The official documentation explicitly discourages the use of threads [1]. Perl's threading model consists in running a separate interpreter on each thread without any data sharing, which
246.
▲
Implementing a Tor relay from scratch in Go
(tvdw.eu)
9 points
by
ceronman
12y ago
|
0 comments
247.
▲
by
ceronman
12y ago
I wonder how it compares with P2.js. Another nice pure JavaScript 2D physics library. https://schteppe.github.io/p2.js/
248.
▲
by
ceronman
12y ago
> The opposite: > * Node.js: it seems many consider the io.js fork based on up-to-date v8 js engine with ES6 support (nodejs 0.11/12 branch fork) and may leave the old nodejs 0.10.x behind It seems too soon to tell what's go
249.
▲
by
ceronman
12y ago
Note that Guido's proposal doesn't add any syntax changes. The idea is not to modify the language but rather to have a unified format for defining type annotations. Function annotations have been there for many years now, and the
250.
▲
by
ceronman
12y ago
Some advantages of type hinting: - Editors and IDEs can use them to provide better autocompletion for you. That way you can discover how to use APIs while you write code without having to look at the docs all the time. - Static analysers ca
251.
▲
by
ceronman
12y ago
When he explains how Perl handles an array passed as an argument to a function: my @list = ('b', 'c'); test('a', @list, 'd'); Which ends up flatting the @list array into the argument list
252.
▲
by
ceronman
12y ago
10 years ago GVR discussed optional static typing in Python [1]. He liked the idea but he thought it was really hard to properly implement. With PEP 3107 [2], some basic syntax constructs were added for this purpose, but no convention was s
253.
▲
by
ceronman
12y ago
I didn't know. Thanks for the tip.
254.
▲
by
ceronman
12y ago
I pay for Netflix every month. Still I use XBMCtorrent to watch most TV series and movies. Many things are not available on Netflix or a similar service. Even if they're available on Netflix, most of the time they don't have subti
255.
▲
by
ceronman
12y ago
The bug is triggered by using a custom memory allocator. It's clearly an edge case. There will be bugs that slip over code review and/or testing no matter what. That's a fact in software development.
256.
▲
by
ceronman
12y ago
One more story that appeared here in HN a few days ago: Bob Nystrom writes about the process of self publishing a book which is also available for free. http://journal.stuffwithstuff.com/2014/11/20/how-my-book
257.
▲
by
ceronman
12y ago
> Why should we care about people in India or China? Replace "India or China" with "Black or Hispanic" to see how sad this comment is. It still surprises me to see that we live in a world where racism is condemned but
258.
▲
Lumera: Add smartphone features to a regular DSLR camera
(kickstarter.com)
2 points
by
ceronman
12y ago
|
1 comments
259.
▲
by
ceronman
12y ago
I really like the idea of static type checking, but I'm not convinced about the usefulness of runtime checking. It will introduce a performance penalty and it will go against duck typing, which is one of the coolest features of languag
260.
▲
Gamergate: A Scandal Erupts in the Video-Game Community
(newyorker.com)
5 points
by
ceronman
12y ago
|
0 comments
261.
▲
Systemd will introduce a console daemon to replace kernel's VT
(phoronix.com)
3 points
by
ceronman
12y ago
|
0 comments
262.
▲
by
ceronman
12y ago
It depends a lot on the context. Richard Stallman defines hacking as "playfully doing something difficult, whether useful or not". In the context of hacking, change for the sake of change is perfectly fine. You don't always h
263.
▲
by
ceronman
12y ago
Many thanks to the Perl community for CPAN! Having an easy to access repository of reusable libraries has given us more power to develop cool stuff than any specific language features. That's why nowadays every important programming la
264.
▲
by
ceronman
12y ago
I really like Rust's pattern matching, but my opinion on this particular part of the code is exactly the opposite. I think it would have been more readable if it used simple if statements: if (width == auto) { ... }
265.
▲
by
ceronman
12y ago
There is a proper 'web assembly' instruction set. It's Google 's Portable Native Client [1]. The problem with this solution is that Google is the only one supporting it. But there other players in the web. Creating such
266.
▲
by
ceronman
12y ago
I love this editor and it makes me sad to see how the project is stalled. In 2002 the investors behind Blender launched the "Free Blender" campaign. They asked for 100,000 EUR as a one-time fee for open sourcing it. At the time th
267.
▲
by
ceronman
12y ago
Just a few days ago Guido proposed to adopt the Mypy syntax for type annotations in Python 3.5. There is a big discussion going on on the python-ideas mailing list about that and the general idea of having optional static typing in Python:
268.
▲
by
ceronman
12y ago
PEP 393 introduced flexible string representation which can use 1, 2 or 4 bytes depending on the type of the string: http://legacy.python.org/dev/peps/pep-0393/
269.
▲
by
ceronman
12y ago
Note that you don't necessarily use less memory using UTF-8. It only saves memory for languages that can be represented in latin1. Non-western languages usually end up using more memory in UTF-8 than in UTF-16.
270.
▲
by
ceronman
12y ago
String classes rarely use UTF-16 because it doesn't have fixed length code point representation. UCS-2 is often used instead, which uses two bytes to represent all the unicode points in the Basic Multilingual Plane (BMP), which is enou
More ›