HNHacker News
TopNewBestAskShowJobs

zwetan

322 karma · joined April 12, 2010

submissionscomments
zwetan··on Ask HN: What are some good tools for keeping a software project on track?
simply look at the tools you can find on Github or similar: issue tracker, wiki, versioning of release, etc.
zwetan··on Without Flash the current web tech stack might look different
Adobe removed the need to have license afterwards
zwetan··on Without Flash the current web tech stack might look different
And yet the SPA (Single Page Application) of today share the very same flaws.
zwetan··on Without Flash the current web tech stack might look different
Then you should check FlexJS [0]

Also checkout the last FlexJS Summit at ApacheCon Miami 2017 [1]

[0]: https://cwiki.apache.org/confluence/display/FLEX/FlexJS

[1]: https://www.youtube.com/playlist?list=PL4EsaSA9xpnnraJX7NzpX...

zwetan··on Without Flash the current web tech stack might look different
About the open source AVM2, there are in total 3 versions:

The tamarin project on Mozilla mercurial with tamarin-central [0] and tamarin-redux [1]

Then after the project got abandoned, Adobe renamed it to avmplus and moved it to github [2] and made a couple updates.

Later on, they moved it to another repo [3], updated it on December 2015 to the equivalent of Flash Player v19.0 and updated it again on Mars 2016 to the equivalent of Flash Player v20.0 (codename rankin).

I maintain a fork/extension named redtamarin [4] which focus mainly on adding native API to make ActionScript 3.0 run on the command-line, shell scripts, server-side, etc.

imho FlasCC/Alchemy/CrossBridge did not take off because it is much harder for dev to produce a project in C++ than in AS3, also why redtamarin took an opposite approach: bring the C API to the AS3 context instead of forcing users to actually write C/C++ code.

[0]: https://hg.mozilla.org/tamarin-central

[1]: https://hg.mozilla.org/tamarin-redux

[2]: https://github.com/adobe-flash/avmplus

[3]: https://github.com/adobe/avmplus

[4]: https://github.com/Corsaair/redtamarin

zwetan··on Bilingual speakers experience time differently, study finds
interesting, and to put in relation with those other articles

Mother tongue may determine maths skills [0]

Does the Language I Speak Influence the Way I Think? [1]

[0]: https://www.newscientist.com/article/dn9422-mother-tongue-ma...

[1]: http://www.linguisticsociety.org/content/does-language-i-spe...

zwetan··on Electron is flash for the desktop (2016)
it is not the same security context between web/browser apps and desktop apps wether there is a VM involved or not.

A browser can load remote payload (not under user control) that can then exploit browsers flaw, Flash AVM2 flaw, etc.

On the desktop the user run a local exe/app which has de facto "full system access".

A bit surprised you don't know that, it's kind of basic ...

zwetan··on Electron is flash for the desktop (2016)
that does not apply to desktop app
zwetan··on Electron is flash for the desktop (2016)
considering Adobe MAX 2016 Resources about 8 Billions AIR Applications installs, I would not call that a flop

see here for more numbers and details https://discuss.as3lang.org/t/adobe-air-by-the-numbers/476

zwetan··on Electron is flash for the desktop (2016)
you still can, it is called a "projector", you basically merge the Flash Standalone player exe with a SWF into one executable.
zwetan··on Electron is flash for the desktop (2016)
well... actually "flash for desktop" best known as Adobe AIR is a pretty good alternative to Electron.
zwetan··on Cross-platform GUI Toolkit Trainwreck, 2016 Edition
Adobe AIR 2.6 does run on Linux
zwetan··on Cross-platform GUI Toolkit Trainwreck, 2016 Edition
no mention of Adobe AIR which can build GUI app for desktop and mobile

for example: Balsamiq Mockups [0]

also tons of case studies [1]

[0]: https://balsamiq.com/products/mockups/ [1]: http://www.adobe.com/products/air/showcase.html

zwetan··on I've been a software engineer for 10 years and I can't do interview questions
I reject all that too, the recruitment process is broken, it's not even the riddles it is the stupidity of some tests for the "less bright" companies.

But every problem is an opportunity :), now most of my freelance work are companies who "had a problem and couldn't find anyone willing to solve it" and me who asked "can I give it a shot?"

Showing you want to solve problem so far "works for me" much better than doing the guinea pig with riddles

zwetan··on Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
So that means you will use pre TLS v1.0 to support those browsers that can not deal with SNI.

You must feel very smart to be able to support old Android browsers like Gingerbread which represent 1% of the Android market share [0], and iOS pre v4.0 browsers which represent less than 0,1% of the iOS market share [1].

Now according to TLS/SSL support history of web browsers [2] your server is vulnerable to BEAST, POODLE, CRIME, etc.

Congrats your SSL cert is useless.

[0]: https://developer.android.com/about/dashboards/index.html

[1]: https://david-smith.org/iosversionstats/

[2]: https://en.wikipedia.org/wiki/Template:TLS/SSL_support_histo...

zwetan··on Hosting Multiple HTTPS Domains from the Same Server with Let's Encrypt and Nginx
"This means you cannot have multiple HTTPS sites hosted from the same IP address."

Is that some kind of joke?

Yes you can, unless you want to support very old browsers [0] which would defeat the whole purpose of using SSL/TLS in the first place.

Maybe have a look at Mozilla Security/Server Side TLS [1]

Also SSL certs are issued for FQDN, not IP addresses (unless the IP is public and owned but still it is considered deprecated now [2]).

[0]: https://blogs.msdn.microsoft.com/ieinternals/2009/12/07/unde...

[1]: https://wiki.mozilla.org/Security/Server_Side_TLS

[2]: https://www.digicert.com/internal-names.htm

zwetan··on JavaScript Start-up Performance
surprised about this specific part

"bytecode can increase your load-time (it’s larger)"

how come bytecode is larger than plain text?

I don't know the specifics of the V8 bytecode, but for the AVM2 which load pre-compiled ActionScript as bytecode, the load time is faster, faster than the JVM for example.

zwetan··on Ask HN: What “old” programming languages will you still be using in 2017?
ActionScript 3

purpose: sysadmin, automation, server-side programming, daemon, shell / interactive shell, command-line tools etc.

well ... it's not that old (cerca 2006) but it is considered dead LOL

zwetan··on Android user locked out of Google after moving cities
You, as a user, are geolocked, it's not only Google, it's everyone.

The only excuse they have to do that is the different countries legislation, but besides that, like any geolocking, it's just not fit for "I can access my stuff, my services, from anywhere in the world because ... internet!", nope ... you can't.

I had the problem with Google, google dev license with a wallet, moving to another country ? well then create another google account, no other choices, period.

Can't we have the option to be a google dev in 2 different countries ? no you can't.

Same for Google Ads, even more so if you connect ads to a bank account to get paid.

Same with Apple, same with Facebook, same with Paypal, same with Microsoft Xbox, etc.

Some tricks can work: using a Google Apps for your domain email when you move to another country, alter slightly your name or use your middle name to create another account for the same service but from another country (and a different bank account), alter your gmail with old google trick +something eg. username+fr@gmail.com and username+uk@gmail.com etc.

If you move often it get old pretty quick.

zwetan··on Blacknurse – Low bandwidth ICMP firewall attack
for those interested in detail etc. you can find a POC here

https://github.com/jedisct1/blacknurse

zwetan··on Ask HN: Any good resources for finding software jobs abroad?
I think the problem is not about finding resources but about culture of the country and their work culture

I'm French, long time ago as long as I was looking from France to work in the UK, about 9 out of 10 recruiters ignored me.

Once I landed in London and did the same search of jobs, interviews piled on me.

I'm not saying you can not find anything from remote and online, just saying it seems much much easier to find something once you are already in the country.

zwetan··on Dropbox Hasn't Learned Their Lesson
I completely uninstalled dropbox desktop client and replaced it with expandrive [0] which I was already using for mounting drives trough SSH

[0]: http://www.expandrive.com

zwetan··on Google HTML/CSS Style Guide – Omit Optional Tags
To me this just prove that wether a spec or standard is in place. it does not really matter.

In this case we have the weight of Google that says "oh it's in the spec so we can do it".

In other case we have a standard like E4X, that everyone happily not implemented (Chrome) or removed (Firefox).

They could as well say "If we don't like it we will not do it, if we like it we will do it", that would be exactly the same.

zwetan··on JavaScript Conquered the Web, Now It’s Taking Over the Desktop
"Adobe’s AIR system enabled developers"

it still does, AIR v1.0 was in 2006, we are now at v23.0

Electron is nice but a whole browser engine is a big bloat, you can easily reach 150MB.

Not to go into a debate JS vs AS3, but the AIR runtime have a lot of advantages : AS3 the language is one, the default native API cover a lot of ground, being able to extend those native functionalities with ANE (ActionScript Native Extension) is nice too.

I don't buy the kool-aid that you could use the exact same HTML5/CSS/JS code for both the browser and a desktop app, unless the app is trivial you gonna have to build your UI/UX specifically for the desktop with all the different subtleties between different OS.

So sure you can use something like Electron to easily wrap an already existing web app for the desktop but imho either you are limiting the desktop features you could add or you will soon end up having 2 code base: 1 for the web and 1 for the desktop and that require more resources than just "wrapping it up for the desktop".

zwetan··on Ask HN: Who needs contributors?
Redtamarin: AS3 running on the command line / server side

Basically, based out of the Tamarin [1] / avmplus [2] open source project (not updated anymore) the goal is to develop the runtime to support more native functionalities and other system calls.

It is about the ActionScript 3.0 language and the ActionScript Virtual Machine (AVM2), and how to port those to the command-line and server-side and "compete" with many other languages like Perl, PHP, Python, Ruby, etc.

So yeah it is probably less sexy than to work on popular JS stuff :D

It's not about cloning V8/Node and do it with AVM2/AS3, it's more about providing the native calls, the tools to let other developers build their own clone of Node.js if they want to.

It's not about producing a "Flash Player clone" either.

Current release is 0.4.1, v0.4.2 coming up next week.

This project can do already a lot but have plenty more potential (at least we think so), if you want to have a "feel" of the project just browse the twitter timeline https://twitter.com/redtamarin plenty of posts, screenshots, and rants etc.

Skills needed: C/C++ (hardcore level), ActionScript 3.0 (advanced level), both or one of the other, any other skills also welcome (svn the odd stuff like marketing/sales)

Github: https://github.com/Corsaair/redtamarin

related Github projects: https://github.com/Corsaair/

Website: http://www.redtamarin.com (need update)

Twitter: https://twitter.com/redtamarin (the news channel)

Forum: https://discuss.as3lang.org/c/redtamarin

How to contribute: https://github.com/Corsaair/redtamarin/wiki/HowToContribute

[1] Tamarin project: http://web.archive.org/web/20110615150847/http://www.mozilla... [2] Avmplus project: https://github.com/adobe/avmplus

zwetan··on Browser Bloat (1996)
There is also pain to test web apps for numerous browsers (so much fun on mobile)

in term of security, popular browsers are in the top 10 of most exploited software

so yeah the delivery model is nice, the update model too, but still I'm not convinced that the web model for apps is the "end all, be all" of app development

I could even argue that more and more apps are coming back to native, first instigated by the mobile app stores, which then expanded to the desktop app stores.

There is room for everyone, web apps and native apps, but still I would not want to use something like gmail as a browser app on my mobile.

zwetan··on Browser Bloat (1996)
sure there are no browser exploits at all ...

Top 50 Products By Total Number Of "Distinct" Vulnerabilities http://www.cvedetails.com/top-50-products.php

#3 Firefox

#4 Chrome

#7 Internet Explorer

zwetan··on Browser Bloat (1996)
and yet 20 years later, the situation is not that better ...

each browser vendors is still fighting the other ones by adding features that make their browser the platform of choice like chrome API only available for the chrome app store

let's all kill Flash because plugins are bad, but let's not hesitate to add our own plugin, oh excuse me the politically correct word is "addon" as a native extension to cast things around.

when CPU, RAM and bandwidth are no more an issues let's cache aggressively everything so that bloated browser does not feel so slow anymore.

zwetan··on The French Number – Connect to a random French person and talk about anything
OK... french guy here and yep I gonna rant as french usually do

I don't really have any problem with the concept/idea (if there is an idea in the first place)

but why oh why someone in 2016 thought it was a good idea to call a phone number ?

"The call will be charged as an international call" I mean WTF?

did those guys ever heard of all the way you can connect people on the Internet for free ?

Really if I can stream live a gaming session on Twitch or whatever I should be able to, at least, use bit of that tech to talk for free without having to use an actual phone number right ?

I don't know... something like random Skype or random gtalk or random whatever chat that support voice ...

crazy idea right ? instead of using phone lines let's transfer voice over the Internet ...

so they "rely on digital innovation & UXs to promote tourism in France", so sure let's use phone numbers and pay international charges right ?

and let's make an horrible front page design while we are at it, here the concept put the french flag color everywhere: blue, white, red, simple!

It's look "cute" like that but please the clichés all over the place, like "Our Telephone Ambassadors commit themselves to speak in English (with the French accent of course!)" ...

oh and let's write "French" as a reverse hashtag eg. frenc#, that will make us French look so cool ...

zwetan··on Ask HN: Anyone here use a Hackintosh as one of their main machines?
I'm a big fan of mac minis but the RAM soldered on board is a "no go" for me and so also thinking of going hackintosh only for that reason.
← PreviousPage 3 of 7Next →