News for hackers. Stuff that matters.

voaie

Re:Stroustrup's Rule and Layering Over Time in Rust on Sunday December 18, 2016 @04:37PM (#13207796)
> Verbosity is so much worst than syntax complexity because you ends up having dozens of different patterns that do the same thing overall but with subtile differences on edge cases.

So vague.

> As long as you introduce syntax to help with what people are actually doing (and not juste because it looks cool) syntax addition enhance the code readability.

So you are saying Rust's syntax is doing just right. But this has nothing to do with other language design. Just open your mind.

Re:Ask HN: Why doesn't Adobe just kill the Flash Player? on Sunday December 18, 2016 @03:59PM (#13207605)
Agree. Just need more enhancement of security, accessibility (for the disabled), and user privacy, yeah by open-sourceing it.
Re:Why Kakoune – The quest for a better code editor on Tuesday December 13, 2016 @07:44PM (#13172799)
Finally, the legacy burden of vim and neovim gone, and a whole new world :D Thank you a lot!
Re:Bye Bye Emojis: Emacs Hates MacOS on Monday November 21, 2016 @11:52PM (#13011711)
There is a special char to disable colorful emoji but seems no way to deal with the font issue.
An authorization protocol like OAuth. By means of e-mail, people can contact the service provider too. Similar tools include mobile phones, accounts on Facebook/Google/Twitter/etc. but many will also require us to provide an e-mail address for password recovery.
Something like Mail2Tor@onion?
Yeah, would be great if it is easy to implement an e-mail client (without bloat). The current situation is depressing.
Re:MacBook Pro on Friday October 28, 2016 @02:45AM (#12813628)
Even on rMBP, but feel very bad for the WiFi, Thunderbolt, and the screen resolution. Damn proprietary hardware. How do you solve these problems?
Re:Eve-Style Clock Demo in Red, Live-Coded on Thursday September 22, 2016 @12:21PM (#12557931)
After some experience with Factor (a very interesting concatenative language with great C FFI support), I think Red is the next exciting language for me to try. Just waiting for the I/O module. :)
Re:Announcing new tools, forums, and features on Wednesday September 14, 2016 @04:51PM (#12501101)
Re:Bugs in the YAML specification on Monday September 05, 2016 @04:16AM (#12428870)
TOML don't even have a clear and definitive standard/test suits. It seems unmaintained but some people are trying to push it to 1.0 no matter what.
This is the second time I see this project, and I've already seen some other similar projects, but readability is still a problem.

Anyway, the source code is tiny and educational. :)

> whereas free software is primarily about protecting the freedom of people.

That's why people often misunderstand the redefined/restricted freedom of GPL. I don't even want to associate GNU with "free software". Just replace "have the freedom to ..." for "have the right to ...", this way the philosophy of GPL would sound better to my ears.

Re:Richer command line interfaces on Saturday July 23, 2016 @09:49AM (#12149442)
Re:China issues edict to ban ad blockers on Friday July 22, 2016 @01:44PM (#12145241)
Just look at this rule:

> 第十六条 互联网广告活动中不得有下列行为:

>  (一)提供或者利用应用程序、硬件等对他人正当经营的广告采取拦截、过滤、覆盖、快进等限制措施;

16.1 Provide or use any computer program, hardware, and etc. to block/filter/replace/skip/... legal ads.

However there is no rule about the punishment about the violation of this rule.

Well, did I ever say some ISPs shamelessly plug their ads to people's webpages for years?

Re:Languages: Why we must save dying tongues (2014) on Sunday July 03, 2016 @11:34PM (#12028773)
Agree. Culture is what makes the language more beautiful. When a small town turns into a big city, the language will gradually lose its power if everyone goes for profit without the culture carried forward.

Also, like what @gkya said, if the government aggressively enforce an official language on the people, other languages will die more quickly.

Re:Languages: Why we must save dying tongues (2014) on Sunday July 03, 2016 @11:17PM (#12028733)
People talk about this topic around the world. HN is just a small place.
Re:Show HN: GitHub v3 API implemented in VimL on Thursday June 23, 2016 @02:28PM (#11963289)
Please mention the "curl" dependency in the readme.
Re:UTF-8 Everywhere (2012) on Sunday June 19, 2016 @08:15PM (#11935414)
I think the Unicode standard should not limit the use of fonts. Instead, let the font or the additonal locale datafile tell us how to deal with those locale issues.
Re:UTF-8 Everywhere (2012) on Sunday June 19, 2016 @07:58PM (#11935359)
Given more and more custom fonts in the OSes/websites, maybe by using some new APIs, we don't need to specify everything in the Unicode standard. We can design a new font format or just a separate datafile, to store those locale-specific information. The Unicode code points then becomes parking slots for different fonts(with locale info to be registered). And We can use the standard/default datafile to keep the old info about the current unicode standard (say Unicode 8.0).

This is just my first thought. Seems that the job of ICU is transfered to the OS or web browser.

Re:UTF-8 Everywhere (2012) on Sunday June 19, 2016 @07:24PM (#11935234)
Right, there will be less common languages. The faded ones could be kept in the digital world by using special fonts.
Re:UTF-8 Everywhere (2012) on Sunday June 19, 2016 @02:48PM (#11934082)
May be off-topic, I wonder if anyone is planning a redesign of Unicode for the far future? or is there a better way to handle characters, so we don't require a giant library like ICU?
Re:We need constrainable lightweight markup languages on Tuesday June 07, 2016 @02:52PM (#11856782)
I mean you make the subject too broad. You can see this file in their repo:

https://github.com/mbakeranalecta/sam/blob/7f9eece97b30a2a5f...

It is like YAML+Markdown+(Custom Schema for Semantics). They are also considering embedding LaTeX document, not replacing LaTeX. "Lightweight" as they said.

Re:We need constrainable lightweight markup languages on Tuesday June 07, 2016 @05:49AM (#11853396)
Have you really read that article? Their main focus is on how to enforce customizable writing styles/rules/constraints. They want a lightweight markup language like XML+DTD.
Re:GitHub Thinks I'm a Robot on Sunday June 05, 2016 @09:24AM (#11840821)
I can only guess that "obscurity" is an excuse for the defects of GitHub's machine learning of spammer detection. The spammers can always check if their accounts have profiles even if there is no notification.

(Don't know why you and all my neutral comments are downvoted. Angry GitHub employees here?)

Re:GitHub Thinks I'm a Robot on Saturday June 04, 2016 @03:54PM (#11837709)
However this is not the first time GitHub bans "spammers" by hiding their profiles, repos and comments.

Older »