HNHacker News
TopNewBestAskShowJobs

edko

886 karma · joined May 21, 2015

submissionscomments
edko··on Walking in L.A.
Except downtown LA, and some other isolated spots, there isn't much architectural beauty. Most of the city just feels like roads, box-shaped buildings, and strip-malls with ugly signs. At night, when it lights up, it has a certain charm that you do not find during the day. However, I have seen very few urban landscapes as beautiful as when the sun sets behind a horizon cut by its palm tree silhouettes. It is a city one loves more for its vibe and endless possibilities, and for the nature that surrounds it, than for its architectural beauty.
edko··on Servo nightly builds on Windows now available
Is there an accessible tutorial, for someone who is starting to learn Rust too, for embedding Servo within a Rust program? I haven't been able to find anything with a Google search.
edko··on Electron is flash for the desktop (2016)
Not really. Actually, however, there is a recent survey that shows that Groovy is the second most popular language on the JVM, behind Java. Myself, I use Scala, and would like to learn Frege.
edko··on Electron is flash for the desktop (2016)
Java also has JavaFX, which comes with an embedded Webkit browser. I can create my UI with React, or any other HTML/CSS/JS library, and make it interact with code written in Java, Scala, Groovy, Clojure, Kotlin, Ceylon, Frege, etc. very easily. I think this provides all the benefits of Electron, but is even more flexible and powerful.
edko··on Electron is flash for the desktop (2016)
If, instead of Swing, you use JavaFx (which comes included with Java) your UI will look nicer. It even has an embedded Webkit browser that can easily interact with JVM code. This means you can program your UI in any HTML/CSS/JS framework you want, and any other logic in any JVM language (Java, Scala, Groovy, Clojure, Kotlin, Ceylon, Frege, etc.)
edko··on Show HN: Xel, widget toolkit for native-like Electron apps
The JVM comes with an embedded Webkit browser (via the included JavaFX). This lets you code as much as you need/want in HTML/JS/CSS, but also gives you the option of easily interacting with Java, Scala, Clojure, Groovy, Kotlin, Ceylon, Frege, etc. I think this is more powerful than Electron/Chromium.
edko··on Phil Schiller, Craig Federighi and John Ternus on the State of Apple’s Pro Macs
Apple is no longer a cult, so it is natural that its leaders act more like normal business people than like prophets who come down from the mountain heights, once or twice a year, to enlighten the world with product revelations. Apple is the market leader, and its pro customers are losing faith. Giving some assurance about the future is the least its management could have done. In my opinion, it should have happened even much earlier.
edko··on Why You Can't Say
> If we're just agglomerations of atoms why should I believe that all human agglomerations are equally precious?

If we're just agglomerations of atoms, why would any agglomeration of atoms, human or not, be precious at all?

edko··on It’s now illegal in Russia to share an image of Putin as a gay clown
They would be surprised to know what "putín" means in the slang of many Spanish-speaking countries.
edko··on Congress’s vote to eviscerate Internet privacy could give the FBI massive power
Would states individually have the ability pass laws that restrict this Federal law in their territory, making it virtually inapplicable?
edko··on Flex
The name "flex" itself was based on the name of the original Unix lexer-generator "lex", just like its sibling parser generator "bison" was a play on words of lex's parser generator sibling "yacc" (which stands for "yet another compiler compiler"). Fun fact: one of the original authors of lex was Eric Schmidt, now executive chairman of Alphabet.
edko··on Stockfish – Strong Open-Source Chess Engine
Browsing the source code, I was not able to find an openings database. Is it so strong in openings theory that it is able to compute it on the fly?
edko··on Cross-platform GUI Toolkit Trainwreck, 2016 Edition
What I find a better alternative to Electron is to use the browser control of JavaFX (WebKit). You can program your UI in HTML/CSS/JS, and interact very easily with business logic written in Java, Scala, Clojure, Kotlin, Groovy, Ceylon, etc. (also JS, if you want). JavaFX comes included with the standard JVM. I imagine this approach will get even better with Java 9, especially the size of distributables.
edko··on Scala Native v0.1
No intention of arguing with Scala.js' creator :-) But, I do not think it has a "slow throughput" at all. In my experience, it's had pretty good performance.
edko··on A chess position to defeat computers?
Once the pawn moves to C7, black's king can play to B7. If white's king were not defending, black would be able to capture the promoted pawn in the next move.
edko··on A chess position to defeat computers?
White cannot force a win. However, if it manages to move the king to D7, and the black bishops leave the B8-H2 diagonal (a huge blunder), then white can move its pawn to C7, and checkmate in the next move, by crowning the pawn into a queen.
edko··on U.K. Parliament Gives Theresa May Permission to Start Brexit
I am not sure if all the Spanish. The Partido Popular is against, but I am not too sure about the left.
edko··on U.K. Parliament Gives Theresa May Permission to Start Brexit
I'm not too sure about that. Mariano Rajoy, until very recently, was still against.
edko··on U.K. Parliament Gives Theresa May Permission to Start Brexit
If Scotland were to have a referendum, and if they elected to leave the UK, would it be a possibility that, instead of Scotland leaving the UK, and then having to rejoin the EU, it was England, Wales, and Northern Island who left the UK, forming their own independent country, leaving Scotland as the "UK", and a member of the EU, and saving a lot of trouble for everyone?
edko··on New Features in C# 7.0
I wouldn't just yet. The platforms that you can reach with Scala, including JS, and soon LLVM, plus all the goodies that are being developed in Dotty, are pretty compelling for me to stay. Scala keeps getting better and better. It is very exciting to see that other languages, like C#, also keep adding excellent features.
edko··on ANTLR Mega Tutorial
I tried some of the earlier versions of the JS target (v4). Like you say: the happy path works well. What I disliked is that, in unpredictable cases, there were nulls in the generated output. This made me feel doubtful about using it, so I wrote my own parser by hand. It turned out to be a good decision: it was fun, and I learned a lot.
edko··on To fix L.A.'s traffic, we need tolls
So what happens, for example, with neighboring counties, where there isn't any mass transit? Do they also pay $5/gallon, to help solve LA's problems? Or do they keep current gas prices, and get their roads clogged with Angelenos looking for cheaper fuel?
edko··on Why I left Mac for Windows: Apple has given up
I have switched from Mac to Windows a few months ago. My biggest annoyance is privacy. I do not feel my data is safe while using Windows. I had to switch off too many defaults (keylogging, for example!), and I really do not know if I missed any, or if some update has sneaked in any new way for MS to spy on me.
edko··on Why I left Mac for Windows: Apple has given up
I do not agree that Windows is better than OS X. In my own personal opinion, I feel strongly it is the other way around. However, that is only a personal opinion. The Windows alternative clearly wins when it comes to hardware: you can choose the components you want, at competitive prices, and you can update them whenever you want. Also, Apple hardware's aesthetic advantage is not as big as it used to be. Many manufacturers can create thin pretty laptops now.
edko··on USCIS Will Temporarily Suspend Premium Processing for All H-1B Petitions
Mexico itself is composed of 31 states. Why are you suggesting that the whole country should join as only one state?
edko··on The European Parliament votes non-bindingly to reintroduce visas for Americans
In the past 8 years, the relations between the EU and the US had improved a lot (despite there being some high profile espionage scandals). I truly hope both sides can work together, and solve minor issues like these. It would really suck to go back to the times of "Freedom Fries", especially with the threat of inner rupture, and Russian pressure in the Baltics.
edko··on In praise of cash
In many places that are not "First World", cash (especially foreign hard currency) is a way citizens have of protecting their assets from the greed of corrupt politicians.
edko··on Show HN: JsonTree, a 3.53kb JavaScript tool for generating html trees from JSON
I noticed that your json2html function assigns the same id (top) to all non-leaf tree nodes. You might want to fix that.
edko··on [dead]
Reading the article, he said “How many times have we all heard people say ‘if that person is a Catholic, it is better to be an atheist’”. It is not clear from the article if he actually is in full agreement with this statement, so to attribute the saying to the Pope, as in the title of this article, is not accurate.
edko··on AMD Ryzen price and release date revealed
It would be nice. However, would they be able to still keep Thunderbolt?
← PreviousPage 4 of 9Next →