News for hackers. Stuff that matters.

andrezsanchez

Re:Non-Topological Update Ordering Problem on Tuesday October 04, 2022 @09:50PM (#33090052)
A description of a phenomenon in state management software called the "Non-topological Update Ordering Problem".
This is a really cool idea, but it doesn't seem to work. I enunciated each of the tones, and the only one it recognized correctly was third tone.
He's saying they _can_. If you can make the case that foreign countries can influence elections via social media platforms, how much more then do the platforms themselves have influence?
Re:Rsync, GUIs, power, control, design, and decisions on Tuesday July 09, 2019 @02:06PM (#20394826)
> so you can begin a (regex) search with / and hit n to go to the next result or N to go back.

His point of that being slower still stands. I also find that just googling generally what I want can more quickly lead me to a stack overflow post with exactly what is needed, while MAN pages can be rather cryptic at times without reading the whole thing.

Re:My struggle to learn React on Wednesday May 09, 2018 @02:20PM (#17032371)
I got the impression that he's spent a bit more than an afternoon.
Re:Japanese writing system basics on Saturday August 20, 2016 @01:24PM (#12327471)
I think it would be interesting if there were a Latin equivalent of Chinese characters. Different roots could be represented as different characters, some could be used for each of the suffixes like "ly", "tion", etc., and the characters would be joined together to create words like in Chinese.

Different Romantic languages could be represented this way. In the same way that Mandarin and Cantonese use the similar character sets with different pronunciations, and with some characters specific to each one, different languages that have Latin roots would have a few of their own characters specific to their own language, but mostly drawing from the Latin pool.

The pronunciation for each would have to be memorized of course.

Re:Japanese writing system basics on Saturday August 20, 2016 @01:13PM (#12327420)
To be fair, you can also "come up with something" in Chinese. Since there aren't all that many sounds, you can write in generic characters for the sound of the word that you can't remember.
I did something like this a long time ago in a little competition for beating others' rock paper scissors programs, except I used the other players' moves relative to my own (e.g. my program could catch on to the other player choosing the move that would beat my last move) as well as their current pattern of winning or losing.
Re:How to Deploy Software on Tuesday March 01, 2016 @04:23PM (#11206176)
I personally like the idea of tabs better, but prefer spaces because it makes navigating the text less awkward when traversing tabs. It may sound stupid, but for my own stuff it's just more comfortable.
Re:Why do Chinese websites look so busy? on Sunday February 07, 2016 @08:01PM (#11055855)
> "Using pinyin as you suggest is actually hopelessly slow"

Everyone I've encountered in China seems to do it just fine. It is only hopelessly slow if you type one character at a time.

> "adopting an input method based on the character radical composition or handwriting recognition is much faster"

What character radical input method are you talking about? I can't imagine any input method using radical composition being faster, it would be comparable to using Latin roots to type out English words; there are just too many to be practical. You can actually do this on Pleco, but it takes forever, even longer than typing one character at a time in pinyin.

Handwriting could work assuming you can handwrite Chinese quickly (I would be deathly slow as I can't read a typical handwritten cursive note, much less write one). I think handwriting recognition is already pretty good, people just use pinyin because it's the easiest.

Re:Why do Chinese websites look so busy? on Sunday February 07, 2016 @07:30PM (#11055766)
There are also a lot of phrases that can be typed with just the first letter from each word, eg typing "bth" gives "不太好", "zmy" gives "怎么样", and there are endless more combinations like this.
Re:Beijing smog ‘red alert’ issued on Tuesday December 08, 2015 @04:16AM (#10695483)
I didn't even look at the levels when I came in September because everything looked fine, but lately it's varied a lot, between 100-350 the past few weeks.
Re:Beijing smog ‘red alert’ issued on Tuesday December 08, 2015 @04:07AM (#10695460)
The package says it blocks >=90%, which is still horrible for my health, but thankfully I'm leaving in less than 2 months. It certainly feels better though.
Re:Beijing smog ‘red alert’ issued on Tuesday December 08, 2015 @01:25AM (#10695105)
I'm studying abroad in Beijing right now, and my throat began to hurt even at lower levels of PM2.5 simply because I wasn't wearing a mask. I'm very surprised at the number of people who don't wear a mask; they either don't value their health or don't know how bad the air is because they've been accustomed to it.
Re:Vue.js 1.0.0 on Tuesday October 27, 2015 @02:12AM (#10456553)
Emphasis on "implemented" haha. At least this makes it more open since someone can come in and make their own implementation. As it currently stands I don't think you can use Facebook's implementation to transform JSX to a framework-agnostic object.
Re:Vue.js 1.0.0 on Tuesday October 27, 2015 @12:25AM (#10456312)
It would be neat if Facebook had implemented JSX as a framework-independent transform rather than a React-only one, that way other frameworks could use the pretty XMLish syntax rather than strings or JS objects.
Re:Brunch: Replace gulp, grunt and increase your dev speed on Thursday June 11, 2015 @10:36AM (#9699943)
You're correct that there is probably more excitement for them then there ought to be, considering the simplicity of bash. People ought to create more programs following the UNIX philosophy, which can be chained together using simple pipes.

There are, however, cases where you simply need to use code. In these cases I'd rather use the language I'm developing in rather than bash. I haven't used Brunch for more than a simple project, so I can't really comment on it too much. I have used Gulp though, and I commend its authors for creating great abtractions following the UNIX philosophy in this context.

Re:The Earl Grey programming language on Friday May 08, 2015 @03:16PM (#9513595)
I drink milk in my tea a lot so I'd be fine with it haha
Re:The Earl Grey programming language on Friday May 08, 2015 @12:06AM (#9509910)
Glad to see this addressed CoffeeScript's silly issue of variable scope by just requiring a `var` statement like regular JS.

Also, love the name :)

Re:Brisket – A new single-page application framework on Tuesday March 24, 2015 @01:38PM (#9258108)
Reminded me of @horse_js posts on Twitter haha.
Re:Lodash v3.0.0 on Thursday January 29, 2015 @03:07PM (#8968532)
I remember trying this a while ago and being disappointed at the amount of dependency code brought in for a rather trivial function, but the modularization is looking much better than it was last time I took a look.
Re:Lodash v3.0.0 on Thursday January 29, 2015 @02:41PM (#8968367)
That's an interesting perspective. I don't have any inherent problems with large libraries, but my problem with some of these 'monoliths' is that other libraries start to depend on the entire library when they only need a small piece of functionality that the library provides.

Substack wrote an article [1] explaining some of the problems that monolithic libraries cause in an ecosystem.

[1] http://substack.net/many_things

Re:Lodash v3.0.0 on Tuesday January 27, 2015 @02:29PM (#8955125)
I've tended to avoid both underscore and lodash because they're both in the slew of monolithic pre-npm libraries, however the lazy evaluation looks interesting. I wouldn't be surprised to find a library that handles lazy eval without all the extra features Lodash brings.
Re:You Don't Need JQuery on Tuesday December 16, 2014 @04:23PM (#8759597)
Imperative DOM manipulation is a pain one way or another. React does a great job of alleviating this pain by allowing for declarative DOM manipulation, but it would be great to be able to do this without needing the rest of React.
I have a hard time seeing what exactly the point of having another package manager is. We already have a very established way of managing front-end packages: NPM and Browserify. I don't see why you would want any of the features that are advertised in this package manager, namely using Github repos vs. npm packages, and manifestless packages. All it gives you is a more fractured ecosystem and code that won't run on the server.