HNHacker News
TopNewBestAskShowJobs

fizixer

1,022 karma · joined August 10, 2014

submissionscomments
fizixer··on Can Esperanto Make a Comeback? (2015)
Esperanto sounds and feels too Spanish. If you prefer to replace English supremacy with Spanish-ish supremacy, be my guest.
fizixer··on Paradigms of Artificial Intelligence Programming (1992)
Speaking of which, there is radio silence about the AIMA 4e in the community. No one appears to talk about it, no one appears to use it, no appears to be praising it, or criticizing it. It doesn't exist.

Fine then.

fizixer··on A 40KB Optimization Saved Us 50TB of Bandwidth
click-bait: No mention of 50TB bandwidth in the article.
fizixer··on Waypoint: Build, deploy, and release applications across any platform
What is that conf format? Looks neither YAML, nor JSON. (if your conf files are not a standard format, this project is likely not going to go anywhere IMHO).

edit: Apparently non-standard [0].

[0] https://github.com/hashicorp/hcl

fizixer··on Ask HN: Why are there no open source 2d printers?
> Do you remember printing in 2000?

Yes I do. No there were no "literally every printer was suffering".

1995-2000 was a perfectly fine era of B&W desktop laser printing (others can chime in about how it was before 1995). Go get some computer history education, or ask an adult in the room.

fizixer··on Why software engineering processes and tools don’t work for machine learning
First figure is a joke.

As many in the comments have pointed out about the actual situation, the two process models in the figure need to be swapped (better yet: replace ML model with the words "no rhyme or reason ad-hoc BS").

As it stands, ML, data-science, computational-science, acadamics are the worst offenders when it comes to following a sane s/w engineering model for whatever they're doing. (for crying out loud, some even refuse to use anything other than FORTRAN-77 ... !!!)

Every ML, data-science, academic team needs to hire at least one traditional s/w engineer experienced in proper modern s/w development.

And they need to take that person seriously instead of being jackasses thinking they have the PhD degrees, or are PhD candidates, and that person doesn't.

fizixer··on Why software engineering processes and tools don’t work for machine learning
This is a nitpick on "... not a single ..." claim by GP.

GP is otherwise right. First figure in the article is a joke. And that makes the article a joke.

Plenty of waterfalls out there. Even more non-waterfalls, aware of iterative, modern process, who will kick you out of the discussion if you try to sell them waterfall.

ML processes need innovation over those of traditional s/w dev. This article is the worst place on the internet to look for that innovation.

fizixer··on Custom Allocators Demystified
I agree (was just oversimplifying).

I'm starting to think the biggest selling point for Java and dotNET platforms is, not platform-independence, but code obfuscation.

In mid-1990s closed source was big, and Java provided a platform to obfuscate the code before shipment, while retaining the advantages of hardware-specific code-gen (final phase of a compiler), to make it harder for the user to copy the ideas.

These days open source is king, no need to obfuscate, and a reason C is making a comeback of sorts.

fizixer··on Custom Allocators Demystified
Tangential, but I just learned (TIL) that C is platform-independent in the following way, compared to Java:

- C is "write once, compile everywhere, run everywhere"

- Java is "write once, compile once, run everywhere"

fizixer··on Google is killing unlimited Drive storage for non-enterprise users
I anyone is selling me unlimited drive storage today, then I have a 1000 yottabyte bridge to upload to you.

There is no such thing as an unlimited drive storage offer.

fizixer··on Ask HN: Best HVAC system for a new house?
On further thought, two high vents, two low vents.

Winter: lower vents on (one inlet, one outlet). upper closed.

Summer: upper vents on (one inlet, one outlet). lower closed.

The vents should be far apart to ensure cirulation (definitely not next to each other).

fizixer··on AI Is an Ideology, Not a Technology
Every technology that hasn't materialized yet is an idealogy.
fizixer··on Ask HN: Best HVAC system for a new house?
By vent I meant both in and out (but one vent only doing one thing at a time).

On more thought, I guess making hot air exit from top is always easier. So no need to switch: air comes in from the bottom vent (hot in winter, cool in summer) and out from the top?

fizixer··on Ask HN: Best HVAC system for a new house?
Because hot air rises. If cool air came in from the bottom vent, all the cool air will accumulate in the bottom half of the room, hot air accumulates in the top half.

When you stand up, your face feels hot, feet are cold.

fizixer··on Ask HN: Best HVAC system for a new house?
Plan your circulation: in every room, one high vent, one low vent, both with smart open/close,

Winter: warm air comes in from the bottom vent, goes out from the top vent

Summer: cool air comes in from the top vent, goes out from the bottom vent

This dual inlet/outlet role from the same vent will have to be managed by some kind of valves/directer-plates inside the ducts.

a smart thermostat in every room

Vent open/close percentage controlled by each room's temperature (essentially vent acts like a per-room thermostat, while the main thermostat controls the overall/average temperature).

Disclaimer: I'm not an HVAC person.

fizixer··on The Serverless Revolution Has Stalled
There should be platform-independent abstraction that is not backed by the big three (AWS, GCP, Azure), and preferably neither by the less big N.

That abstraction should allow you to develop serverful, and allow you to go serverless with minimal effort.

fizixer··on The Serverless Revolution Has Stalled
> ... stack is vue/python/s3/lambda/dynamodb/stripe

Did you chose python for backend dev? Any framework like flask or django?

Also no preference of single-language for both backend and front-end, by using node.js backend?

Just trying to get into web-dev.

fizixer··on LLVM 11.0
llvm is a bloated piece of ... mess ... built on a bloated language (C++) ...

Avoid at all cost.

fizixer··on The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of the Linux Kernel
What you're describing sounds like a binary blob masquerading as C header files.
fizixer··on The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of the Linux Kernel
Why would you check-in generated code and not the meta code?

> Eventually, the checked-in code gets changed.

Doesn't have to be. Especially with giant headers like in AMDGPU, it should be much easier to change the meta-code if there is a need to make modification in the generated code. Essentially you look at what needs to be changed, and work backwards to figure out what change in the meta-code will result in the same change in generated code.

I believe you might be referring to stuff like boilerplate code, the whole purpose of which is to be generated for further development. In which case I agree with you, but then boilerplate codes don't balloon the way AMDGPU header files did.

fizixer··on The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of the Linux Kernel
I'm not saying a line-of-code calculating program like cloc should change its behavior.

I'm talking about the right way (IMO) of assessing the software complexity of the codebase.

And I'm also talking about the fact that it is trivial to make cloc match my definition of source code size "if" ... the developers are willing to do a small amount of work by moving code-gen into the build process and not committing pre-generated code into the source, but the metaprogram scripts instead.

fizixer··on Rust After the Honeymoon
Wow, thanks for opening my eyes.

Time to clear out the next two years so I can learn half a dozen special snowflake randos that contribue ZERO to the problems and projects I'm working on.

fizixer··on The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of the Linux Kernel
Yes. Despite being an avid code minimalism and refactoring advocate, I have zero problems with auto generated code size, as long as the size of "the source that generated the code" is reasonable.

Here's how I count the size of the code:

So if a codebase is 1 million lines, but 900k was autogenerated using, let's say, a 10k line 'metaprogram' (which is otherwise not included in the source), the real size of the code is 100k + 10k = 110k.

Now, with the stupid vcn_* .c duplication, that I have serious problems with. But what you could do is take a diff of the two vcn_* .c files, keep those diffs as part of the source code, plus only one version of vcn_* .c file, but now add a small script that generates the remaining vcn_* .c files during the build process by using the diffs, e.g., using the patch command. Now the size of the diffs and the size of the patch script, plus the size of one vcn_* .c files, is a better measure of the size of the code.

Of course this is a short-term workaround. There's still a need to refactor the code properly.

fizixer··on Rust After the Honeymoon
Rust, and Go, and Julia, and D, and Swift, and what not, should have a shouting and fighting match with one another.

When they are done, they can let me know who won and then I'll take that language a bit more seriously.

In the meantime I'm a humble coder sitting in the corner with Python + C + CUDA (plus some scheme and assembly), doing useless things like AI, robotics, IoT, etc.

fizixer··on CSV Reader Benchmarks: Julia Reads CSVs 10-20x Faster than Python and R
This is great. I'm definitely going to keep Julia in mind the next time my languages self-review comes up, in about 2030. Could even happen as early as 2029.
fizixer··on MathJax
Thanks.

For context, as somewhat of an outsider, I knew about Crockford 'JS: The Good Parts' and knew the community cared about working within the limits of a sane "subset" of JS.

A few years later, I hear Typescript is everywhere and JS folks love it. I didn't pay attention to what it really claims to be, but made a connection with the Crockford book, and started mentioning in discussion with acquaintances that it's a subset of JS (it must be because that's what the community wanted).

Lo and behold, one of them heard TS is a "superset", not a subset, and dissed me as a knowledgeable tech person, despite himself knowing so little that barely weeks ago he didn't know the difference between Java and Javascript.

Sorry, I'm done with this mess.

fizixer··on MathJax
(edit 4: my comment is off-topic, sorry)

Mathjax reminds me of the AJAX hype. What happened to it? These days no one talks about AJAX. There was material design a few years later but that was just the looks.

Is AJAX now replaced with React.js? or a combination of other stuff (like HTML5 and modern-JS and React.js and stuff)?

edit: I just looked up Angular and apparently it was rewritten in Typescript, a strict superset of JS. This doesn't make sense. JS is known for massive amounts of cruft. An improvement would've been a scripting language that compiles to "JS: the good parts", i.e., a subset of JS. But now we should have "Typescript: the good parts" because TS inherited all the bad parts of JS?

edit 2: It turns out, there is valid JS that is invalid TS [0]. And yet, TS is described on wikipedia as "a strict superset of JS" [1]. (invalid TS == non-error-free TS).

edit 3: Further confirmation about error-free TS not being a strict superset of JS [2]. Such a lie can only be expected from a company like micro$hit.

edit 5: even with-error TS is not a superset of JS (the behavior is different) [3].

edit 6: Typescript is an opinionated-yet-spineless Javascript!

[0] https://github.com/microsoft/TypeScript/issues/38546

[1] https://en.wikipedia.org/wiki/TypeScript

[2] https://stackoverflow.com/a/53698835

[3] https://news.ycombinator.com/item?id=18942886

fizixer··on You weren't meant to have a boss (2008)
I'm sorry customers are no boss.
fizixer··on You weren't meant to have a boss (2008)
The one who puts up with the risk doesn't have a boss.

- Investors don't have a boss.

- A founder/CEO who owns 100% of a private company doesn't have a boss. But (s)he is putting up with very high risk, betting on self, and living with the consequences.

fizixer··on Arch Conf 2020 Streaming [video]
Stay with Ubuntu LTS. Arch is garbage. Seriously.

In ubuntu, when you update, you just update.

In arch, when you update, "It is your responsibility to first go to arch website and see if there is any breakage or issue that needs to be handled manually. If yes, follow the instructions. If they're unclear, spend hours on Arch Wiki. Then go ahead and update."

But wait, there's more. If you don't do arch updates regularly, like if for some reason you couldn't update for 6 months, all bets are off. You'd be lucky if your update works at all. In the 99% chance that it doesn't, "they" advise you to take the snapshots (that are archived every few days) and update snapshot-by-snapshot. So if it's 20 snapshots you've missed, you update from snapshot 0 to 1, then 1 to 2, then 2 to 3, and so on. And if during any of the updates, there was some required manual fixup, you're SOL.

If you are in the mood for going hardcore, just clear up your weekend, get a spare hard drive, and do LFS [0]. Once you've completed that project, trash that install (it was only for your learning), and go back to Ubuntu as a daily driver. Now you can tell arch fanboys to go eat a carrot, cz 99.9% of them know jack compared to what you know now. (side note: doing LFS would be enlightening enough that you'll start having ideas and/or future projects of your own. Have at it).

If you don't like Ubuntu cruft like bloated desktop, snap, cloud-init on ubuntu server, what not, there's a gazillion ways to go about it. You can simply 'purge' (remove completely) then after install. Or do minimal server install and then install only the packages you want. Or you can pick a sane Ubuntu variant like Xubuntu. If you're a tiling wm user, just pick regolith [1] (it'll make your life so much easier).

If Ubuntu LTS packages aren't recent enough and you need to use the latest version of some package, you can either install it in your home directory, or use a docker image if available (or build your own).

[0] http://www.linuxfromscratch.org

[1] https://regolith-linux.org

← PreviousPage 2 of 27Next →