HNHacker News
TopNewBestAskShowJobs

elnygren

627 karma · joined January 26, 2015

submissionscomments
elnygren··on Viper: a new programming language from Ethereum
> if a language is decidable it can't be Turing complete

mentioned in a different comment in this thread!

elnygren··on Show HN: Moon – a tiny 6kb Javascript library inspired by Vue.js
I had a very quick glance but it seems that RE:DOM is smaller, better documented and more mature (but probably otherwise similar). https://redom.js.org
elnygren··on Key differences between Python 2.7.x and Python 3.x (2014)
The "proof" (benchmarks, yeah, I know) is in the provided link. Feel free to shoot them down.

Anyway, slower or not, writing a small async service is still easier in Node.js. You can trust that no libraries block your event loop and I'm not sure there's quite anything like Express (simplicity+popularity) for async Python just yet.

elnygren··on Key differences between Python 2.7.x and Python 3.x (2014)
Python3 is a totally different beast nowadays from Python2.

The reason is async/await. It can handle Node.js style event loop / asynchronous code very well -- with uvloop, python 3.5+ is actually faster than Node.js (close to Go).

https://magic.io/blog/uvloop-blazing-fast-python-networking/

IMHO: after 3.5, we are clearly in the next iteration of the language.

elnygren··on System76 is moving product design and manufacturing in house
The problem with this is that you either do something like what Apple does (and receive the hate for it) or then you do "what people want" and get this https://twitter.com/JonyIveParody/status/850350499840888833

AFAIK this whole System 76 blew up because of the disappointment in the newest Macbook Pro. People say they'd wanted bigger battery and more connectors -- however, I'm a bit skeptical if those would be enough to choose a much heavier, uglier and bulkier model when actually buying a laptop.

The way laptops are built, I'm not sure a 10-20% increase in battery size would mean only a small change in the size of the laptop (everything fits pretty tight in there...).

elnygren··on A Competitive Programmer's Handbook
This book is being used for an optional undergrad algorithms course at University of Helsinki. We have programming competition style assignments: pass/fail tests on a server with time and memory limits. Really fun challenges (and hard!!). Nice to see the author getting some recognition at HN :)

You can find the course material and assignments from https://cses.fi/alon/ - however, it's all in Finnish.

elnygren··on Host Your Own Content
In other words: suffer from NIH and DIY because you are so butthurt that someone makes money with you in a symbiotic relationship.

yeah, this is how I see it:

Most of the time when you write something, it's because you are either promoting something (directly or indirectly), building a brand (your or your company's) or because it makes you feel good to "spread the word" on something. Whatever the reason, you gain some value out of this.

Platforms provide you with tools and audience so that you can create that value. In return, they want something too. Is this really so bad?

I'm a quite a capable web developer, but I'm not going to host or build my own blog. That time is better spent on actually figuring out what to write (and writing it).

elnygren··on Launch HN: Sudden Coffee (YC W17) – Instant coffee that doesn't suck
Hi Kalle, the best coffee I ever had was an espresso macchiato at Freese Coffee in Freesenkatu (Helsinki, Finland - and yeah, that guy's lastname and company's name matches the street name due to some history). I used to live couple blocks away. Awesome stuff :)

Please, don't offer these only with subscription. Let me do one-off purchases and you have me as a customer.

elnygren··on The Mumps Programming Language
1. Doesn't this make business logic quite a mess because normal and standard abstractions are missing? Won't new coders make horrible solutions to "reinvent the wheel" problems?

2. It would be trivial to implement a key-val data structure that is persisted to disk in almost any nice modern language. And there are very good No-SQL key-val stores to choose from that are backed by very large and credible industries.

The Node.js drivers. Are you sure those are not mainly due to legacy integrations rather than "we really just wanted to use the MUMPS db" ?

http://thedailywtf.com/articles/A_Case_of_the_MUMPS

elnygren··on Irssi 1.0.0 Released
Can I also use a desktop client on my Mac and have private messages etc. synced properly to both Mutter and some-desktop-client-x ?

I remember having problems with this in the past using ZNC and separate mobile/laptop clients.

elnygren··on Modern software is at its worst
This. I spend probably 4GB+ RAM only to send IMs to people. (I run WhatsApp, Telegram, Slack and Chrome/Facebook)

The sad fact is that the general public only seems to care about the fancy buttons. And from a business standpoint, cheap software (high level langs/tools that are bad for perf) and following current design trends are more important than CPU cycles.

Perhaps we'll see some kind of "back to the basics" movement in the future where UI and software becomes much more simpler.

elnygren··on The lack of a case against Python 3
> who have no experience of anything else ...or who have no burden of the past to bear

Don't take me wrong though - I'm not trying to say experience is bad. Just saying it alone is not sufficient.

elnygren··on The lack of a case against Python 3
People still stuck in python2 and arguing that python2 is better than python3 is weird.

I get it, more features does not mean better and newer does not mean better but seriously, just do the jump to python3. It's not that much work and the language is much nicer to work with.

I've built a library with python2/3 support and do most of my work in python3. Maybe my web dev background biases me somehow, but I can't remember the last time I had problems with a major library not supporting python3.

To me this seems more like tradition/age/generation -related. Those who started back in python1/2 are the ones with problems moving to python3, while young people who started with python 3.x are already running 3.5/3.6.

ps. like the author said, there will always be large corporations stuck in very old techs - that doesn't mean the rest of the world too has to use Cobol or MUMPS.

elnygren··on New MacBook Pro outsold every competing laptop in just five days
So pretty much nobody cared about the ddr4/32gb ram and some ports missing. What a shocker.

This always happens with Apple, over and over again:

product event -> disappointment -> mad -> fomo -> surrender -> buy it because still the best thing in town.

Which phase are you in? :)

elnygren··on MacBook Pro
Why is everyone so disappointed? This is still by far the best laptop out there - let's go through the painpoints:

- no 32gb RAM. Name one laptop (a laptop, not a battleship) that has 32gb. Dell and Lenovo have a couple monstrosities with trackpads from the 90s with that amount of RAM.

- no ESC key. C'mon, obviously the toolbar has it when running macvim or iTerm (or some other terminal) with vim.

- no Intel something, no Nvidia this and that. So? With regards to GPU and CPU this is probably the best laptop in the market that is this thin and light.

- 10h battery life. MBP already has the biggest battery that is allowed in airplanes. Nobody can do better with same amount of computing power.

- USB-C. In a way this is valid, however, the world is better off with less connectors (it's Apple, everyone's gonna follow suit). For MagSafe, look at something like ZapTip.

To people saying they are abandoning Apple after a decade of use: why?

- still the best keyboard and trackpad BY FAR in the market

- still the best build quality, design and dimensions in the market

- excellent display

- excellent software

- an actual laptop that you want to carry around instead of a Dell/Lenovo plastic monster battleship

I think other people already did the comparison against Microsoft. Surface Books are much more expensive ($/performance) with only the touch screen going for them.

elnygren··on Solu - Social Computer
From what I've seen/heard the OS itself is built on top of Linux and Android and apps can be developed with the HTML5 stack (and I suppose with Android's tools ?).

The main problem with this project is that the SoluOS itself is mainly a UI/UX innovation, but for some reason they had to provide HW and OS too. Why can't I install this on my Mac/Linux laptop ?

the main idea in SoluOS is that apps, files, etc. should be organized in "projects" instead of them all just being there in the same Applications folder and files in Documents or whatever. It makes switching between projects easy - imagine having "project environments" where all the correct files and apps are easy to reach.

ps. I'm not affiliated with them but being Finnish and in Comp. Sci. I kinda couldn't have gone without noticing these guys in the tech scene over here :)

elnygren··on Solu - Social Computer
yeah, they will need to be really careful with incentives.

For example, if money is given based on how much people use the different apps, there is a large incentive to do very simple apps that have a high ratio of people using them vs. short time to dev the app.

So maybe trivial mobile games like 2048 and the like will flood their store and complex software like Photoshop won't ?

elnygren··on Solu - Social Computer
You might want to think it as "SoluOS". Solu a is the Finnish word for "cell" (as in the cell in biology) - the team behind this is from Finland.

I totally agree with you on the lack of concrete info. From what I've seen/heard the OS itself is built on top of Linux and Android and apps can be developed with the HTML5 stack (and I suppose with Android's tools ?).

To be honest even after seeing some private technical demos, I was still left quite confused...

The main problem with this project is that the SoluOS itself is mainly a UI/UX innovation, but for some reason they had to provide HW and OS too. Why can't I install this on my Mac/Linux laptop ?

elnygren··on Why isn't 'American' a Language?
Well, "Asian" or "European" or "African" are not languages either. Why would "American" be? ;)
elnygren··on Django 1.8 and Python 3: Complex app tutorial, end-to-end
the boilerplate seems to ignore django's "multiapp" project layout:

|-manage.py |-MyApp/ |---- settings.py, urls.py, wsgi.py,... etc. |-AnotherApp1 |---- urls.py, models.py, views.py, migrations/... etc. |-AnotherApp2 |---- urls.py, models.py, views.py, migrations/... etc.

This might make it not-that-suitable for actually complex projects.

EDIT: ah, looks like the formatting here did't support what I tried to do...

elnygren··on Ask HN: The purest skills needed to become a programmer?
If typing speed is the bottleneck in your programming, you are doing way too easy and trivial stuff. Start thinking about how to make more advanced tools/frameworks/architectures/whatever-it-is-you-do that allow you to think more and code less.

OK, I do see that it will never be a bad thing to be a fast typer. However, spend a year learning to type faster or spend a year learning more math, logic and advanced progamming concepts ?

← PreviousPage 4 of 4