HNHacker News
TopNewBestAskShowJobs

madethemcry

559 karma · joined May 7, 2012

submissionscomments
madethemcry··on Angular 13
I think that's a pretty good point about maturity. If it's just working people use it without talking much. Similar to Ruby on Rails (RoR) for example, although Angular still changes a lot more than Rails these days.

Another point going into the same direction especially for Angular: It's a very important framework for big enterprises in industries like banking & insurance and probably more I'm not aware of. There are large networks of developers organized in isolated or self-hosted GitHub Enterprise or GitLab instances of enterprises working with Angular, but most of them are not able to talk publicly about it.

I'm sure there are hidden projects based on React, Vue or Svelte too, but I have the feeling the biggest enterprises rely a lot on Angular but don't talk about it, which skews the way people perceive the overall framework landscape.

madethemcry··on How many flies are in my apartment?
This reminds me of the flocking boids algorithm by Craig Reynolds [0] which is based on three principles:

  + separation: steer to avoid crowding local flockmates
  + alignment: steer towards the average heading of local flockmates
  + cohesion: steer to move towards the average position (center of mass) of local flockmates
The algorithm was used to animate the bat swarms in Batman Returns (1992) [1].

I love this algorithm, it's easy to develop and experiment with and the results feel beautiful & natural.

  [0]: https://www.red3d.com/cwr/boids/
  [1]: https://en.wikipedia.org/wiki/Boids
madethemcry··on Cloudflare Network Performance Issues
The internet is designed to withstand a nuclear attack. It's so sad to see half of the internet going down because of a single system failure.
madethemcry··on Scratch 3.0
That's Scratch 1. Scratch 2 (2013) is based on Flash so it can be distributed in the browser (via Flash Plugin) and as a desktop application (Adobe Air).
madethemcry··on Scratch 3.0
I teach kids from 6 to 12 years with Scratch (and other tools) in my spare time. If you are a developer you should try it out. It's amazing how creative kids are with a tool like Scratch. My programming career started with Flash 4 and allowed me to work with sound, audio and animations together with the possibility to program and to easily distribute it (there was a single swf file).

Scratch is like the distilled version of it optimized for kids. I would have loved it as a kid and I see how natural children can work with it. Mitchel Resnick and his team did a great job with Scratch and it's amazing to finally see it working in HTML5 - after being a Flash based application.

Teaching coding to kids is important and as a developer it's easy to say so. Some day I made the decision to think about the why to better explain people why I do the teaching. The end product was a 25min talk I gave at the JSConf EU 2018 in Berlin. Maybe that's of interest for parents reading here about Scratch and of course fellow developers interested in teaching coding to kids.

https://youtu.be/t0m5rrKKMOA (About Coding Kids and Screaming Carrots — JSConf EU 2018)

Here the slides and all information I mentioned in the talk: https://github.com/georgiee/coding-for-kids

My summary why a kid should learn coding:

  > It's about teaching kids to be producer instead of a consumer 
  > so they can build their own games, tell their own stories 
  > and create their own music.
madethemcry··on Scratch 3.0
Scratch is a tool with the freedom of creating whatever comes to a kid's mind. The block based programming style in Scratch relieve the kids from fighting the keyboard and it prevents syntax errors so they can focus on programming. You can use Scratch to build own games, stories, movies, music applications and you can connect it easily with hardware like MakeyMakey or even Lego. It's about producing not consuming and Scratch is the perfect tool to do so.

I don't know the platform you mention but it looks like the advanced (because Python) version of games you find on code.org. So I expect a linear progress, where you tackle task after task. This can be fun and also creative but in a limited fashion. You should not withhold Scratch from the kids so they can experience the freedom of building their very own things. Be critical and ask yourself why the kids don't have so much fun and why they get lost.

Maybe you can start with easier exercises, try out other tasks and challenges you never used and let the kids be creative already in the beginning: Teach one or two new blocks, give some rough ideas and let them do whatever they want. No blueprint or solution sheet required in this case. Coding kids have so many ideas - they will make it fun by themselves.

I think there are many ways to do it. I just wanted to point out the difference between Scratch and game based learning platforms. I also teach kids in my spare time and I think we are doing something very important for every single child. So thank you!

madethemcry··on Introducing the Dweb
Seems to be a teaser for more articles about dweb yet to come. So here two links for people interested in this topic:

1. "Decentralized Web Summit 2018" is happening just now (July 31 - August 02 https://decentralizedweb.net/. I'm looking forward watching the talks once released.

2. This year at JSConf EU 2018 Tara Vancil talked about Beaker (https://beakerbrowser.com) an experimental peer-to-peer browser. This was really fascinating to listen to.

Here is Tara's talk: https://www.youtube.com/watch?v=rJ_WvfF3FN8

madethemcry··on Ask HN: What are the things keep in mind while giving/preparing for a tech talk?
There are quite some people who are writing full scripts. That's also what I prefer. It goes like this:

Before creating a single slide, write down sentence by sentence, word by word, what story you want to tell. You can use tools to get a very rough metric of how long your written text will translate being spoken. Stop when you reach your talk length.

Once you are done, you can start creating slides. Choose what you like the best and what fits your story. Few slides, many slides (e.g. Pecha Kucha), no slides.

I would never do live coding but show small videos instead. I have seen live coding fail more often than being a great success. But if you want to do so, have a fallback video at hands.

Now your rehearsal: Not 1 full, not 2 full rehearsals, do as much as you can! For my last and very first talk for a conference I did like 20 full rehearsals, 5 of them in front of people, some in the living room, some in front of the mirror. I bet this can be less in the future but it got me super confident. Rehearsal matters! Don't be lazy and you will be amazed how confident you can go into your talk.

When you black out during your talk, don't panic because you have a full script which you could theoretically read word for word. That always calms me down.

Good luck and have fun.

madethemcry··on Learn how to design large-scale systems
I stoped after the fourth paragraph just to tell you that this article hit the nail. Really interesting article so far.

Thank you so much!

madethemcry··on Learn how to design large-scale systems
Yeah that might be the reason I have never seen this. But whatever works for oneself is fine and worth to share.

There are quite nice deck ideas:

  + Facts about friends
  + Standard Library of your programming language 
    (https://ankiweb.net/shared/info/3937203746)
  + Bird Voices
    (https://ankiweb.net/shared/info/2088996377)

More here: https://www.reddit.com/r/Anki/comments/5ka1ny/what_have_you_...
madethemcry··on Learn how to design large-scale systems
Oh interesting, I have never seen Anki (https://apps.ankiweb.net/) being used for large blocks of source code.

Anki is an open source application (desktop + mobile) for spaced repetition learning (aka flashcards). It's a very popular tool among people who want to learn languages (and basically anything else you want to remember). There are many shared decks (https://ankiweb.net/shared/decks/). Creating and formatting cards is also possible and pretty easy.

If you are planning to learn a language or anything else give Anki a try. I used it for all of my language learning efforts. With this least my vocabulary is rocking solid.

madethemcry··on How to build an NPM worm
And that's how it was compromised:

The maintainer whose account was compromised had reused their npm password on several other sites and did not have two-factor authentication enabled on their npm account.

I wonder how many accounts the attacker checked before hitting this account. This will definitely get a nice place in the bucket of examples I throw to people, when I see they are still reusing passwords.

madethemcry··on Walt Disney's MultiPlane Camera (1957) [video]
Oh yes you're right. The feeling of texture and natural imperfection is a big part of my feelings.

I love to spot the shortly being animated parts of an animation movie. Those parts always show a slightly different coloring so that you know that something is happening soon.

I bet this is coming from the classic layering shown with Mickey at the beginning in the video.

madethemcry··on Walt Disney's MultiPlane Camera (1957) [video]
I can only imagine how much work is put into modern 3D animated movies and that it's far from being easy or quick to produce.

On the other side, if I look at the creation process of hand-drawn animation movies and the involved physical man labour, which is so vastly different from labour in front of a computer, that makes it so much more worthy as a memory than any modern animation movie. Or is this simple nostalgia tricking me ?

Regarding that MultiPlane Camera. I never though about the parallax effect in those old movies and just dismissed it with "well they just draw it frame by frame". Watching this was a real eye-opener.

madethemcry··on Why can’t women get pregnant without the menstrual cycle? (2016)
I first wondered if OP means that first answer with the obscure and horrible programming analogy then I found the real answer by Suzanne Sadedine which is an amazing read.

That was the creepiest part:

Some fetal cells find their way through the placenta and into the mother's bloodstream. They will grow in her blood and organs, and even in her brain, for the rest of her life, making her a genetic chimera

and this is a wonderful summary of evolution:

In other words, it's just the kind of effect natural selection is renowned for: odd, hackish solutions that work to solve proximate problems

madethemcry··on Heisenbug
One of the first heisenbugs I encountered was IE8's console.log.

That object/function was only defined when the developer tools were open. Otherwise you would get an exception (but of course you couldn't see that exception in any place).

Daily effect was funny: When you forgot a console.log in your code your page JS would hang. When you tried to debug it by opening the developer tools everything worked- and you started to doubt your sanity pretty soon.

I wasted hours of my life with that.

madethemcry··on Show HN: Hacker News Classics
I also stumbled upon this too. The article was archived, I wonder why it's not redirecting. Now I'm finally enjoying this post too.

http://yorktownhistory.org/wp-content/archives/homepages/190...

madethemcry··on Phaser 3.0: HTML5 game framework
There is also a huge community around Phaser (as well as Pixi, the huge 3D gaming framework Babylon.js and many more) hosted by Richard who is developing Phaser.

http://www.html5gamedevs.com

It's a wonderful place to stroll stroll around even if you don't have a concrete question in mind.

madethemcry··on Phaser 3.0: HTML5 game framework
It's finally custom build, Richard payed a guy called Felipe to work full-time for quite some time to help developing it. See the devlog [1] for more details. I loved reading it over the months. There is also a wrap-up post by Richard to summarize all of this [2]

[1] http://phaser.io/phaser3/devlog

[2] http://phaser.io/news/2016/12/phaser-in-2016-and-beyond

madethemcry··on WeWork is set to become the No. 1 tenant of London office space
Allianz also has the Global Digital Factory. A startup like place to develop IT ideas in Munich. Looks just as fancy as your example.

https://globaldigitalfactory.allianz.com

madethemcry··on 34th Chaos Communication Congress (34C3) Tuwat
Look at the introduction from the timetable.

Tim talks about the current usage of computers only for surveillance, smartphones and cars. Believing that computers can be used for more useful things ending with the invitation of us computer freaks for the event:

    Damit wir als Komputerfrieks nicht länger unkoordiniert
    vor uns hinwuseln, tun wir wat und treffen uns am 
    27.12.17  in Leipzig, Seehausener Allee 1 (TAZ-
    Hauptgebäude) ab 11:00 Uhr
"tun wir wat" translates to "let's do something".

The word tuwat can be interpreted as "tu wat" which translates to "do something".

Be aware this language is not German but more like Berlinerisch- the dialect spoken in Berlin.

madethemcry··on Camera Logic in a 2D Platformer
You might have missed the conclusion:

  All this results in a dynamic camera behaviour that works
  95% of the time, while giving you the tools to manually 
  design the camera’s behaviour in those remaining
  situations for gameplay reason or dramatic effect.
No neural net black box will give you this amount of accuracy. Not to mention the ability to manually design exceptions.
madethemcry··on Camera Logic in a 2D Platformer
Reminds me of this well written blog post also on gamasutra which was pretty exhaustive regarding camera systems.

https://www.gamasutra.com/blogs/ItayKeren/20150511/243083/Sc...

madethemcry··on What's this? (example.com/pension)
Hey thanks for the response, I already had a conspiracy in mind :-) I searched for some parts of the plain text but couldn't find an answer so I just dropped it here with success. Thanks mirages.
madethemcry··on Snakisms
The game is a great opportunity to scan through the definition of each of the scientific terms and get an understanding. And your list is a perfect motivation to compare my comprehension with your summary of each game variant. Thanks.
madethemcry··on Introducing Netflix Stethoscope
This is related to employees only right? I would have thought a large company like Netflix is using something like G Suite and therefore can just use Google Apps Device Policy to simply enforce the best security settings (6 digit code, software updates and so on) on Android devices. And I bet there is something comparable for iOS devices isn't it?

https://play.google.com/store/apps/details?id=com.google.and...

madethemcry··on Etherplay: Play Skill Games on Ethereum
I voted you up. You could have written more instead of linking to an excerpt of yours. But after reading it with the great examples of bugged contracts you gave I must say: thank you. I especially love the GovernMental example (https://www.reddit.com/r/ethereum/comments/4ghzhv/government...). Small bug but the involved ether will stay in nirvana forever.

I only knew about the failed DAO up to now. All those smaller failed contracts fit perfectly in the image the DAO left. I mean I love the idea of ethernet and its contracts but I see no solution to the inherent software bug problem. You can't do a hard fork for every bug.

madethemcry··on Using neural nets to recognize handwritten digits
This is fermatslibrary.com a platform to annotate scientific papers. But I don't understand why that paper you cited is there - it's easy to read already.
madethemcry··on New method exploiting the way that the Apple iPhone operates with other devices
The shown 'attack' happens mostly in China at the moment and the victim's iCloud account must already be compromised. Anyway I think this is an interesting impact.
madethemcry··on Spotify and the Art of the Playlist
I'm a huge fan of the Discover Weekly playlist. Most of the time it is so good that you can get in touch at least with 2-3 new songs. Sometimes I also have a lucky day where nearly every single song matches my taste but was unknown to me. This is a really great example of what algorithms can do. But it also proves that more is not better. If I imagine the playlist would be refreshed every day as planned or a list of 100 songs instead of 30- I wouldn't use it anymore. It simply would be to much to progress each week. The current amount is perfect to start a working week and I do so since that playlist started.
← PreviousPage 2 of 4Next →