Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
samiv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
331.
▲
by
samiv
2y ago
I'm sure you made the best judgement call given your circumstances. Of course from business perspective software quality is irrelevant. It's best achieved by letting the PR/marketing team take care of it. However, the problem
332.
▲
by
samiv
2y ago
So the library was full of bugs. (IMHO) The right thing to do would be to - Fix the actual bugs - Provide super visor and isolation as a protection mechanism and resiliciency. What you've now done is to essentially just hamm
333.
▲
by
samiv
2y ago
Sorry just have to pop in and say that the DPI scaling makes the concept of "resolution of the window" much more complicated since you have some logical resolution and then the actual rendering resolution and two may not necessari
334.
▲
by
samiv
2y ago
Here's an example of running Box2D physics in WASM https://ensisoft.com/demos/playground/game.html Still very small scenes of course so not much stuff going on. Yes, the GC pauses are a known issue in Lua.
335.
▲
by
samiv
2y ago
I think a lot of these issues are simply unsolvable given the current web infrastructure and the way everything is designed against adversarial programs. Like nerfing the APIs, IPC handoffs and such. The only GPU workload that works well he
336.
▲
by
samiv
2y ago
Actually in my experience running physics (Box2D) is relatively harmless since it's purely in WASM and doesn't need to interact with any JS API directly. By far the biggest headache for me is actually Lua. It has terrible perf nat
337.
▲
by
samiv
2y ago
Huh, can you elaborate what you mean by this "But then it's not trivial to write responsive/adaptive applications." Personally I prefer the widgets over QML mostly because QML is just too poorly typed and checked + you n
338.
▲
by
samiv
2y ago
Good luck to you. In my experience the web is a huge pain in the butt. But since it's there (and its convenient for distribution) it is an expected target for an engine like this. But really the problems that I've experienced are:
339.
▲
by
samiv
2y ago
The one thing I have to wonder is: How many people really want to spend time programming their UIs? I use Qt myself and one of the best things about the framework and toolkit is the UI tooling that allows me to drag and drop and visu
340.
▲
by
samiv
2y ago
Hot damn, I never heard of this term before but yeah that's exactly what it is. TIL, thanks.
341.
▲
by
samiv
2y ago
The whole story is 3-fold. We have - errors in the software itself, aka BUGS - logical conditions that are expected part of the program execution flow and expected state. some of these might be error conditions but only for the *user*
342.
▲
by
samiv
2y ago
Yes of course the key here is to understand the difference between BUGS and logical (error) conditions. If I write an image processing application failing to process an image .png when: - user doesn't permission to the file - fil
343.
▲
by
samiv
2y ago
How do you gracefully degrade when your program is in a buggy state and you no longer know what data is valid, what is garbage and what conditions hold ? If I told you to write a function that takes a chunk of customer JSON data but I told
344.
▲
by
samiv
2y ago
"I think the issue is that bringing the application down might mean cutting short concurrent ongoing requests, especially requests that will result in data mutation of some sort." Yes but what is worse is silently corrupting the d
345.
▲
by
samiv
2y ago
The most crucial thing that I've seen over the years is that most developers are simply afraid of bringing the application down on bugs. They conflate error handling with writing code for bugs and this leads to proliferation of issues
346.
▲
by
samiv
2y ago
Exactly. Only engineer and product oriented types think that quality has any actual value. Unfortunately it does not, even less so if your only USP is "quality". If your products only differentiator is that it's technically b
347.
▲
by
samiv
2y ago
You're conflating manipulating with engineering. Communicating with people can be part of a job but it isn't engineering. engineering noun the art or science of making practical application of the knowledge of pure scie
348.
▲
by
samiv
2y ago
"This positions OP for long-term success. I'm late in my career and can tell you that engineering skill only really matters in a few places and that what and who you know, as well as how you treat people/circumstances, is 99%
349.
▲
by
samiv
2y ago
Ok, wow really? Fresh grad, 6 months into their first job and working as a "tech lead". Are you leading anyone else but yourself? I know I'll get down voted but if you were really looking to grow you'd a) quit and get th
350.
▲
Show HN: 2D Game Engine and Editor (with demos)
(github.com)
3 points
by
samiv
2y ago
|
0 comments
351.
▲
by
samiv
2y ago
why not just use the original dependency walker then? It's minimal and if I remember correctly it's all in a self contained executable.
352.
▲
by
samiv
2y ago
With WebRTC the "without any server infrastructure" only refers to the P2P part. The session initiation is outside of this. So in practice this means you need a server for the initial handshakes and then the actual session is P2P.
353.
▲
by
samiv
2y ago
"Release early, release often", isn't that the often touted wisdom? Of course that has the problem is that you can make the "first impression" only once and when that said "first impression" is terrible it
354.
▲
by
samiv
2y ago
Who says they can't be tested? Of course they can be tested, that's just a question of the testing tools being able run the process and trigger the assert and then realize that the process has in fact asserted and exited. If you t
355.
▲
by
samiv
2y ago
I agree, also the source code viewer (not sure what it's called) has regressed tremendously. A few years back it was simple, quite snappy and just worked. Now it has become slow and bloated and barely works for me on the desktop and th
356.
▲
by
samiv
2y ago
Basically what you're saying is "If you never have an accident you don't need seat belts in the car, and since we test drove the vehicle in the factory parking lot and didn't have an accident we decided not to have the s
357.
▲
by
samiv
2y ago
Your example is an incorrect use of an assert. You never use assert for conditions that are logical (error) conditions that the program is expected to handle. For example your browser handling 404 HTML error is only an error from the user p
358.
▲
by
samiv
2y ago
Respectfully I completely disagree and I think you've got it rather backwards since you've had some bad experiences (understandable). Assert and (unit)tests are completely orthogonal and unrelated things in terms of functionality
359.
▲
by
samiv
2y ago
Just wanted to pop in as a fellow Fluxbox user that I have essentially the same setup. All the apps that I launch multiple times per day have their own global shortcut keys. And then for everything else I have a setup where pressing the Win
360.
▲
by
samiv
2y ago
"On a walk today I was thinking about something specific that I think is under-discussed. Yes people bikeshed etc. but when you create your own engine you are _fiercely_ aware of _everything_ it can and can't do. As part of this,
More ›