HNHacker News
TopNewBestAskShowJobs

pjettter

98 karma · joined May 5, 2017

submissionscomments
pjettter··on The Web’s Missing Interoperability
It's not the web, it's computing in general that has not evolved in the right direction. A grid is not a grid is not a grid. An image is not an image is not an image. Etc. So rather than fixing the web, fix computing. It will fix the web too. If not, the web is even more in trouble.
pjettter··on Lotus 1-2-3 arbitrary resolution
Interesting! I do this on paper a lot because that's how I learned in college. Thinking of it. It's composing converters. That should be fairly easy to automate!
pjettter··on A recent poll of employees who are working remotely
Thanks. That partly confirms my feelings. Now with Covid here in Sweden at my company, everyone is remote. It works (equally bad and equally good) for everyone.

I think if a company is serious about a mix, there needs to be optimization around this. Like, remote Mondays and Fridays, if you want to be remote. Meetings on Tue/Thu. Something like that.

pjettter··on Pony – High-Performance Safe Actor Programming
I like Elixir, Erlang. There is Lumen, an OS initiative to bring the BEAM to the browser (WASM).

Does Pony have such ambitions (I mean, the Pony team)?

My UC is an actor system in the browser and the ability to create a DSL created using the same language used in programming the actor system.

Pony is not dynamic but statically typed? Maybe it can be overcome by substituting actors since any actor can create any other actor?

Plus I'm interested in graphics. I googled but didn't see any examples of integrating either web or desktop graphics, like Skia.

pjettter··on A recent poll of employees who are working remotely
For some, WFH is more attractive and more productive than for others. But why does it have to be an either or? There are advantages with sitting next to colleagues. There are advantages with being able to skip the commute and being able to concentrate at home. Ideally, someone would choose what's most productive, which is probably a mix of WFH and working on site.
pjettter··on A recent poll of employees who are working remotely
But what if their workers are more productive those days when they are working remotely? That should pay down on the investment sooner! I never understand shortsightedness...
pjettter··on Ask HN: How to Find a Mentor
I wish I'd had a mentor ever since I was a teenager (80's).

The reason I answer is because I just had an idea. This doesn't help you, personally, right now, I suppose.

Google had a 10% rule (not sure if they still do) where 10% of the time, an employee could spend time on personal projects.

What if a company said, 10% of the time, you mentor. Those who seek a mentor can just apply to the company and get in line and wait.

Possibly, these mentored people could be future hires, and the employees are improving their abilities/knowledge by having a "teacher" role.

If I was Google's or any company's CEO, I would try this!

pjettter··on Apple's MacBook revival plan: Bring back old features
Perhaps some day we can just present from our phones and even use them as a pointer at the same time.
pjettter··on Lode Runner
I wish this was available on PlayStation!
pjettter··on Lode Runner
I'd be at school, creating levels on graph paper and playing them in my head. Then at home, with the level editor test them out. Some levels really took an hour to play. This was on a C64 with a digital joystick, which I found more playable than on an Apple II with an analog joystick.
pjettter··on Elon Musk moves to Texas
This is how it works (or at least used to work) in The Netherlands.

If you receive Stock options, you pay taxes over the gains, i.e. the money you would have made if you exercised on that date. Even if you have not exercised. So the options were free, but suddenly you have to find a lot of money to keep them. Or you exercise a part of them.

pjettter··on Six Months of Tiny Projects
A domain name can help you keep focus. Then when you need to pivot, you can just buy another one, ad nauseum.
pjettter··on An updated daily front page of The New York Times as artwork on your wall
Hm. Cool. Expensive.

What about a projector that shoots an image to a persistent sensitive surface. That would be reinvention of photography! Let's say, reset with one frequency of light, then flash with an image that holds for > 24h.

Hm!

pjettter··on How Satya Nadella turned Microsoft around
I spent $10k on a computer in 2008 to get rid of latencies. Now computers are so much faster and some latencies just get greater? It's Windows that is broken. I don't see the same thing happening often on my Mac or iOS.
pjettter··on How Satya Nadella turned Microsoft around
Plus they iterate faster than anyone else out there and upgrading is painless (VSCode, not Windows)
pjettter··on Commodore 64 Program Discovered on 35-Year Old Vinyl Album (2019)
Yes, 646 it was. Now I won't forget again!
pjettter··on Commodore 64 Program Discovered on 35-Year Old Vinyl Album (2019)
Wasn't POKE 686,0 something?
pjettter··on I Invented the iPhone in 1977
So what. I invented half of the patents being submitted by Apple, all in one short story I wrote in 1994.
pjettter··on Rob Pike's Rules of Programming (1989)
I recommend Domain Modeling Made Functional by Scott Wlaschin. It's analaysis first, DDD, then coding (in F#) Best intro to functional programming imo.
pjettter··on Rob Pike's Rules of Programming (1989)
In our system, contracts have an expiration date/time. The only actors are Swedish. 12:59:59 must always be 12:59:59 on a certain date. It may never become 6:59:59 when someone in the company traveled to NY and prints out the contract.
pjettter··on 1991 Macintosh Quadra with Mac OS 8.1 as an Electron App
You must like running Doom on Windows 95 inside Minecraft: https://news.ycombinator.com/item?id=23960028
pjettter··on You've only added two lines – why did that take two days?
I once reduced the amount of code for a client by ~75% and added usability and fault-tolerance. I wasn't even half done and they thought it was good enough. LoC is no measure.
pjettter··on Software Engineering Within SpaceX
Webassembly
pjettter··on I won’t buy ebooks anymore
Get burned once...

When you pet a snake and get bitten, you don't pet snakes anymore. But since you already were afraid of snakes (who isn't), you don't have to test petting it to find out it bites.

So the author doesn't have the eBook instinct. e-book. In other words: "electrified book", "less of a book", "not a real book".

Then, he's not using standard tested consumer channels like Amazon Kindle etc, so then he's on his own. He doesn't need to brag about having to set up a VM and going to darknet to hire a Korean hacker gang and buying a DM cracking botnet to crack DRM. He was just being cheap.

pjettter··on The ideal tech stack for a personal developer blog in 2020
I dunno. Lately I've been into static sites based on Blazor with json files in blob storage. Fast, C#, no server. And no JS. Just C# to WebAssembly. In VSCode I can do dotnet new blazorwasm, then dotnet publish then publish to Azure blob storage via extension and presto. Yeah you can also put MarkDown files in DropBox and have some app pick it up and put it in your blob storage. No forms. Just your favorite Markdown editor.
pjettter··on Ask HN: What's your quarantine side project?
I'm writing an actor system in Webassembly (C#/Blazor). Once it's in place, it can be used with a rendering backplane (SVG). The ultimate goal is to make the actors be able to move to where they are needed (moving the code to the data instead of the other way around). One important aspect is that the system is completely message driven. An actor can become anything by sending it a message. Yes, there is a security aspect to that :) It should also be compositional, in that the behaviors of it's essences compose.
pjettter··on Build Software from Front-to-Back
Hm. Maybe. In my experience, tests is just more code, more bugs, more maintenance. If you need to write many tests, you're writing your code wrong. "Just my opinion, man" ;)
pjettter··on Build Software from Front-to-Back
I always write "front-to-back". I write the code that uses a module, abstraction, api, etc. Then I write that layer until the code works. This goes on layer to layer.

To make it not become a tour-de-force, I start with a golden path, then various aspects (validation, additional operations on data besides rendering, etc). If the data doesn't exist yet, it's mocked. Then later, it's implemented (or made 'live') according to the mocked "schema".

It's not exactly TDD (I rarely write a test except for integration tests or the occasional "let's make sure it's not off-by-one"). It's not top down either, exactly. Perhaps you could call it "needs driven development" or "user driven development". You need it from the start and you use it as soon as possible. From then on, it's just improvements.

If you work back-to-front, you won't have anything working until late in the game. You're constantly imagining all the non-consequential "what-ifs".

But in a way, front-to-back is like TDD except you're not testing via unit tests. You're testing by using. And you will be using it so much that it will be tested thoroughly. You iterate continuously while the top layer / front end keeps working.

Sure, there can be an overarching design. There can be an architecture. There should be. But after that, it's about slowly molding the system towards that design. If you have understood the design, you know when you're veering off course. For sure, it's not like building a bridge.

pjettter··on SUVs parked on cargo ships reveal scope of U.S. auto market glut
cash on sundays worked well for me in the past...
pjettter··on Ask HN: What is your strongest argument against remote work?
You generally miss the out of band communication, i.e. the conversations between other colleagues that you overhear, as well as the 'waterfountain' chat. Sure, these spaces can be created online, but in my experience the threshold is too high for such spontaneous things to happen.
← PreviousPage 2 of 3Next →