HNHacker News
TopNewBestAskShowJobs

tom_mellior

4,934 karma · joined May 21, 2015

submissionscomments
tom_mellior··on [dead]
With HN recently devolving into a propaganda site for the lab leak conspiracy theory, recent UFO mania, and now long-debunked miracle cure truthers making a comeback, I guess this will be my last visit to this site. The chaff is just not worth the wheat anymore. Have fun everyone!
tom_mellior··on Jq is rounding 64-bit unsigned integers (2017)
Thanks for submitting this interesting issue. Out of interest, what system are you on, and did jq come from a package manager? If you build it from source, it should work: https://news.ycombinator.com/item?id=27362060
tom_mellior··on Jq is rounding 64-bit unsigned integers (2017)
For whatever it's worth, on a somewhat-current Linux Mint, with the test from https://github.com/stedolan/jq/issues/1387:

System jq:

    $ jq --version
    jq-1.6
    $ echo '{"number":288230376151711744}' | jq '.number'
    288230376151711740
Fresh compile from source according to the build instructions at https://github.com/stedolan/jq:

    $ ./configure --with-oniguruma=builtin && make -j8
    $ ./jq --version
    jq-1.6-137-gd18b2d0-dirty
    $ echo '{"number":288230376151711744}' | ./jq '.number'
    288230376151711744
Alternatively:

    $ ./configure --with-oniguruma=builtin --enable-decnum=no && make -j8
    $ echo '{"number":288230376151711744}' | ./jq '.number'
    288230376151711740
So the basic bug is fixed, jq has included a bignum library for > 2 years. I don't know if Mint (and thus presumably Ubuntu, and thus possibly Debian) includes an older version of jq or sets nonstandard user-unfriendly flags on purpose, but I'm somewhat underwhelmed in either case.
tom_mellior··on Belarus has temporarily banned most of its citizens from leaving
> I’ve long thought that a sensible constitutional guarantee would be the right to leave the country at any time.

In totalitarian regimes, constitutions aren't worth the pixels they are printed on. Rights guaranteed by laws must be enforced by the judiciary and the executive. But that only happens if (1) cases actually reach a court, (2) that court is independent, and (3) the executive is willing to enforce the court's decisions.

Indeed, according to https://en.m.wikipedia.org/wiki/Constitution_of_Belarus, "Citizens [...] have the right to protest against the government." Problem solved?

tom_mellior··on Jq is rounding 64-bit unsigned integers (2017)
Since jq does something completely different from a browser, it would be reasonable for it to try harder in some respects. A tool that is supposed to pass certain data through unchanged... Should not change that data. Even if we can expect that data to eventually be rounded by the eventual consumer at some later time.
tom_mellior··on [dead]
Every enterprise timesheet and expense system I've ever used was a slow, barely usable, confusing disaster. But I don't think that was because the VM failed to pre-allocate memory for some operations.

Without the superlatives and strawman attacks and with an actual description of how things should be done instead this would be an interesting read.

tom_mellior··on “Computer science is not about computers”
> I believe, computer science is a branch of mathematics that deals with large but finite structures (so they need an algorithmic description).

This is a strange claim since the entire field was founded upon the investigation of potentially (and often actually) infinite computations.

> Compare with most of "legacy" mathematics, which studies countable structures (so the description can use arbitrary series).

Define "most". Do it in a way that makes real and complex analysis and topology (and probably many other branches) the smaller part of mathematics.

Most importantly though, my problem with this kind of discussion is that the question itself is meaningless. Not everything can be classified into neat " X is a Y" relationships. Not everything needs to be classified into such relationships. Even if the discussion reached a consensus, that consensus would be meaningless. Computer science is a part of math? OK, but so what? Computer science is not a part of math? OK, but so what? Neither conclusion would tell us anything useful.

tom_mellior··on “Computer science is not about computers”
> Turing machines are arbitrary and rather unmathematical.

Thus proving the point that a field that studies them cannot be considered a branch of mathematics.

tom_mellior··on Please commit more blatant academic fraud
> If I'm reading conference papers, why would I worry about whether one of them is the product of review collusion?

Because the one you are reading may have crowded out a better one. Even if the current review system is essentially random, replacing it with something that is essentially a contest of well-connectedness is worse. Young researchers with good ideas but fewer connections, or people from less well-known institutions would have their ideas suppressed.

So you should be worrying about stagnation, and about not reading what might actually be new and exciting.

tom_mellior··on Trials begin on lozenge that rebuilds tooth enamel
"Diet = dental health" is bullshit. My partner was raised sugar-free and has horrible teeth with many cavities. So does their entire family. I was raised on a diet which included many forms of sweets, and I have never had a cavity. Same for my entire family. Genetics or other biological predisposition seems to be a major factor. Diet might help a bit, but don't expect any magical effects.
tom_mellior··on Embassy Gardens Sky Pool
I hate to link to the Daily Mail, but this article actually has plan sketches for the movements that are accommodated in the plan: https://www.dailymail.co.uk/news/article-8945619/Worlds-tran...
tom_mellior··on Embassy Gardens Sky Pool
Thanks, I also found https://www.cnbc.com/2021/04/28/worlds-first-floating-sky-po.... So, unlike what some of the renderings suggest it's not an "infinity pool" but rather has high glass walls on the sides, which was one of the things I was wondering about. It also has those two... cables? running below that aren't on the renderings.
tom_mellior··on Embassy Gardens Sky Pool
https://www.embassygardens.com/sky-pool/ says this is "coming soon". It will be interesting to see how the actual thing will differ from the architects' renderings.
tom_mellior··on Y Combinator backed MMO metaverse game is a blatant scam
> I'm not certain whether they intend to allow users to upload their own content, or if UGC actually just means "build structures in game out of built-in assets". I suspect it's actually the latter.

The Kickstarter (https://www.kickstarter.com/projects/playdreamworld/dreamwor...) says (emphasis mine, also highlighted in the article): "Creator centric crafting economy : Using simple tools and guided by quick tutorials, you can learn how to create your own 3D models for items that you and others might need or want in your builds and adventures. Imbue them with useful function like lighting, extra damage, low weight, knockback, and a plethora of exciting magical properties! Not artistically inclined? Import 3D models from anywhere online, and DreamWorld will help you turn them into exactly what you were looking for."

We'll see how much of this actually ships.

Thanks for the Second Life information.

tom_mellior··on Future of work will be 5-hour days, 4-day workweek, flexible staggered schedules
Newspapers have always had opinion sections.
tom_mellior··on Future of work will be 5-hour days, 4-day workweek, flexible staggered schedules
> The key is to require some defined overlap of working hours.

Sure, that's not what I'm disputing.

> When someone has to wait until the next day to get a response to any blocking questions, work slows to a crawl.

Blocking questions should be an absolute exception in any case, even if the person who can answer them is just down the hall. It's on engineering management to organize work and documentation practices so that people can find answers on their own.

tom_mellior··on Future of work will be 5-hour days, 4-day workweek, flexible staggered schedules
> Superstar engineer only works a couple hours per day?

Replace the superstar with someone working "normal" hours but in a time zone offset by >= 5 hours to your own. You seem to be saying that cooperation with such people cannot work. But that is simply not true, many companies do make it work.

Is it always easy? No. But it can work very well.

tom_mellior··on Why Is JRuby Slow?
Thinking about this more, we know that the author saw a hot "write" method in the profile for the fast run and doesn't have a profile for the slow run. The slow versions could be spending most of their time in a completely different place.
tom_mellior··on V8 Sparkplug – A non-optimizing JavaScript compiler
By "the entire thing", do you mean an entire file, without knowing if all functions in it will be used? I'm just baffled because there are several posts here from V8 developers, and quotes from the FAQ, saying things of the form "this is like FullCodeGen, except X", and the "X" is never "FullCodeGen was not a JIT". Which suggests to me that the people closest to development of these things don't think of them in the same terms as you do, which is why I'm trying to understand your terms.
tom_mellior··on Y Combinator backed MMO metaverse game is a blatant scam
If it's going to be a hodgepodge anyway due to user-generated content, wouldn't that be another argument for not trying too hard to develop their own integrated visual theme?

(Not that I think that "user-generated" content will work well. If any of it is owned, or merely claimed to be owned, by litigious copyright holders, that's a good way to get YouTube to ban gameplay videos. There goes your free advertising. I wonder how Second Life deals with this.)

tom_mellior··on Why Is JRuby Slow?
> Here's the summary: [...] But running multi-process is heavy on the JVM as it has to load the virtual machine and JIT for every process start, special when the processes are short lived.

This is a valid summary of some facts, but not of the article or facts relevant to the article. Some quotes:

"Jekyll is not forking processes, so that is not the issue."

"The area where JRuby and TruffleRuby shine are long running processes that have had time to warm up. Based on suggestions I put together a repo of a simple small Jekyll build being built 20 times by the same process in a repo here. After 20 builds with the same running process the build times do start to converge, but even after that MRI Ruby is still fastest."

tom_mellior··on Why Is JRuby Slow?
We don't know that it's really I/O, as in "pushing some bytes to the system". All we know is that the author saw a hot method called "write" and stopped the analysis there. It might well be something like messing around with character encodings to get those bytes in the first place.
tom_mellior··on Y Combinator backed MMO metaverse game is a blatant scam
> default unreal 4 templates, art from asset packs

I don't understand this criticism. Using existing asset packs seems sensible to me. It's a tiny team that seems to have more software engineering than graphic design experience. Focusing on the game itself first and using placeholder assets allows them to make progress for now. It can be made pretty later, when there is an actual game. If it were the other way around, people would be criticizing them for focusing on looks first instead of writing game code.

All that said, the rest of the criticism appears damning.

tom_mellior··on V8 Sparkplug – A non-optimizing JavaScript compiler
> With a compiler (not jit), the whole bytecode would be further fully compiled to some C apis before being executed, making it effectively an "ahead of time" compilation.

This hinges at least on the question of what you mean by "the whole bytecode". If the source is made up of N functions, and you compile all N functions ("the whole bytecode" of the entire program) to machine code before you know if any of them will be executed: Yes, I'd agree that that's a form of ahead of time compilation. Is this what full-codegen used to do?

On the other hand, if the source is made up of N functions, and you only compile "the whole bytecode" of each of them to machine code one by one, only those that will actually be executed, and only when you are preparing to actually execute them: That's JIT compilation. Even if it is the very first execution (i.e., you have never even interpreted), even if the compilation doesn't use fancy profiling or sophisticated code generation or whatnot.

> since the code never was executed, there is very little static information to work with, so the compiled output is often just a giant unrolled interpret loop

I think you mean "dynamic" information. And "the compiled output is often just a giant unrolled interpret loop" is pretty much the definition of what a baseline JIT compiler produces.

tom_mellior··on Radar data confirms: USS Omaha was surrounded by swarm of UFOs
Statements of the form "there is X on the Internet" are typically more convincing when accompanied by links.
tom_mellior··on V8 Sparkplug – A non-optimizing JavaScript compiler
> full-codegen was not a jit

By what definition?

tom_mellior··on Beads: Computer language and toolchain
So it's Basic for 99% of the overall programming, with something like CSS or Android's layout engine thrown in to solve the remaining 1%, specifically laying things out on a screen? Maybe you forgot to link to a convincing example.
tom_mellior··on Beads: Computer language and toolchain
Where do I need to look for declarative examples? This: https://github.com/magicmouse/beads-examples/blob/master/Exa... looks like good old imperative Basic.
tom_mellior··on Let's Build a Regex Engine (2019)
Cool, thank you for the quick fix!
tom_mellior··on USB-C is about to go from 100W to 240W, enough to power beefier laptops
> defective or damaged. Which is true of every type of charging cable or connector.

Yes, that's my experience with USB-C as well.

(Seriously, my Dell laptop and Dell dock connected by a Dell cable can't keep up a reliable connection. People are saying that the spec is fine, but a spec that's this hard to implement well is maybe not fine.)

Page 1 of 34Next →