HNHacker News
TopNewBestAskShowJobs

nieve

1,134 karma · joined August 22, 2011

submissionscomments
nieve··on In-House Languages
That is the single worst looking syntax I have ever seen. How did they manage to do any significant amount of development instead of just bug hunting? IDE support?
nieve··on Journalist’s phone hacked: all he had to do was visit any website
It's more like going after people who make waterboarding kits and run logistics for kidnappings. Anti-DRM and p2p software aren't usually associated with aiding & abetting torture and murder of dissidents and journalists. Framing the two as equivalent elides what NSO group's employees are actually complicit in.
nieve··on Apple announces it will switch to its own processors for future Macs
I'm somewhat confused by this rhetorical question since the microcode of processor is vastly different than the userspace & kernel of Mac OS. Running an OS bare metal versus in a VM on top of Mac OS are different across a wide array of things. At a minimum performance is lower and less predictable on the VM; you now have two different OS's updates to worry about breakage with on top of their mutual interface (ask anyone who's done serious Linux dev work on a Mac); you have two different sets of security policies to worry about; the low level tools to debug performance in a VM don't have the level of access they do on bare metal; and if you're working with hardware for linux servers & devices in a VM you are going to have to go bare metall sooner or later.

The abstractions are leaky, the VM is not a pristine environment floating on top of some vaguely well-defined architecture. The software in one has two extra layers (VM software & OS) between it and the actual platform and all this is before you start hitting weird corner cases with cpu architecture differences in the layers.

nieve··on Facebook takes down Trump ads 'for violating our policy against organized hate'
I'm getting it on the first page as well, but I think you're missing some chronological logic: at the time they created the ad they couldn't possibly be seeing their own ad as the first results.
nieve··on As many as 6B Earth-like planets in our galaxy, according to new estimates
This was mentioned in the original article.
nieve··on Aging Problems at 5nm and Below
NOAA has a supercomputing center in Boulder, CO that has produced some analysis of this, but if memory serves they also have to deal with some low intensity radiation from the Flatirons formation they're up by. Get enough computers with enough RAM and all bit flip sources start counting.
nieve··on PsychOS: A Crazy Cool Distro That Pushes Linux Limits
The main thing I noticed was that it's trying to push farther back in time for hardware support. The article has a genuine point that some older distributions can't be installed at all now due to online dependencies and many more can't be update. I'm not the target audience, but i486 is a definitely a limit for most current distros in an era when Ubuntu is trying to kill off 32bit even on brand new hardware.
nieve··on Google adds experimental setting to hide full URLs in Chrome 85 address bar
I doubt that Ubuntu moving to having Chrome being a snap is a good sign for them doing the right thing with a custom Chromium.
nieve··on Flow browser passes the Acid tests
> However, for the browsers that we have now, bookmarks are much better for organization than tabs

By "browsers we have now" you clearly mean "Chrome, the only browser I care about". Firefox can handle literally thousands of tabs with lower memory than Chrome using one or two dozen due to different trade-offs. Very few people ever use that many, but the presumption that no better should be done on the memory front because your favorite doesn't manage it isn't supported by the facts.

Bookmarks aren't used in the same way as tabs by most people and it's telling that your workflow so easily conflates them that you're making criticisms based the rest of us using them differently. I get the impression that what you want bookmarks for would be better done with tab groups for most people? There are certainly a decent number of happy OneTab users out there who're probably closer to your preferred interface than the rest of us, but even on Firefox its userbase is minuscule.

nieve··on Design electronics like it is 70s at CERN
The Chibitronics kits are great for kids or really anyone who wants to play with laying out circuits and components by hand. I'm not sure there's anything else in the space, but they're pretty reasonably priced: https://chibitronics.com/lovetocode/

> Chibitronics is an evolution of Jie Qi’s passion for combining technology and art through making electronics using paper craft. The circuit stickers were developed as part of her PhD research at the MIT Media Lab. Together with Andrew “bunnie” Huang and Patricia Ng, Jie’s research has evolved into the Chibitronics toolkits.

nieve··on Intel and ARM Performance Characteristics for S3 Compatible Object Storage
If "lost a lot of money" means that they made a large investment that isn't paid off by just the first couple of months of the first generation there's no surprise there and their management would have been expecting it. It's pretty much impossible for their ARM chips to have paid off yet and it's a silly way to look at a long term strategy. It's a bit like a shipping company buying some new, gas-efficient trucks and being dinged because they haven't paid off their full cost in just a couple of months.

Plus this gives them more leverage over Intel on top of already being one of their biggest customers. I can't criticize an approach that puts the screws to them on price competitiveness.

nieve··on Jepsen Disputes MongoDB's Data Consistency Claims
One important note: make sure you carefully consider using atomic renames and such for manipulating the files! Overwrite in place is a great way to end up with a corrupted item if something goes desperately wrong and you're not protected by COW or data journaling.
nieve··on Jepsen Disputes MongoDB's Data Consistency Claims
I don't think anyone posted about their particular system, but it's not unknown now. If you google "filesystem as a database" there are some relevant hits. One super simple and probably not ideal, but at least balanced version uses a hash of some primary key like customer row id as the file index, then partitions the items into directories with all permutations at each level (or only populated ones) based on successive parts of the hash. For example an item key that hashes to a32c4214585e9cb7a55474133a5fc986 would be located somewhere like this:

  a32c/4214/585e/9cb7/a554/74133a5fc986
    a32c/
      4214/
        585e/
          9cb7/
            a554/
              74133/a5fc986
The advantage of this kind of structure is that you never need to manually scan a directory since you know exactly what path you're trying to open. You still incur the OS lookup time for the inode-equivalent in the directory entry, but a deeper heirarchy keeps that faster. You can trade off time to traverse the heirarchy versus number of entries in the final directories by adjusting the length of the hash chunk you use at each level. Two characters will put vastly fewer entries at a given level, but vastly increase your directory depth.

Basically if you're manually scanning the heirarchy for anything but a consistency check or garbage collection you've already lost.

nieve··on Jepsen Disputes MongoDB's Data Consistency Claims
Unfortunately eToys imploded a couple of years later (2001) and there were only a few people involved at that stage so it's possible none of them are in the industry anymore. You might start by looking at email servers, I believe there are a few that use a deeply nested directory heirarchy for much the same reasons. IIRC Apple also does something similar with the interior of the sparsebundles used in Time Machine backups, but I don't know if any of that code is opensource.
nieve··on Jepsen Disputes MongoDB's Data Consistency Claims
If memory serves the original EToys.com code treated the filesystem as tree-structured database using atomic operations (though no transactions). It worked just fine, then the rewrite with an RDBMS that should have been stabler and faster resulted in the famous meltdowns. Admittedly this is cheating a bit since you can name folders & files with semi-arbitrary or internally structured string keys. By 1997 standards pure disk access without having to walk the filesystem heirarchy was blazingly fast compared to many of the databases I was using.

[Source: I was friends with the guy who wrote it as well as other EToys employees. God that was a trainwreck.]

nieve··on Coming to Chrome: a new way to use tabs
You definitely have a windows problem! Do you end up using large numbers of desktops as topic workspaces for them?
nieve··on Coming to Chrome: a new way to use tabs
For finding things I just use search in Power Tabs. Filtering down usually leaves me with a list I can scan through quickly. When it comes time to clean up I cheat by using that as well - filter my tab list, then select individual or groups of tabs to close. Generally I'll start by closing all tabs from news sites like the NY Times and WaPo under the assumption that they're probably stale, then clear out a bunch of HN tabs, and most often then switch to digging through the github ones to see what's actually relevant anymore. StackExchange and Reddit tend to get slashed pretty hard as well. Basically filter, viciously select, then close and I can blow away a thousand tabs in a couple of minutes.

The highest I've ever gotten was around 6000 on old Firefox for Linux and I did see some slowdowns then, but that was on a seven year old laptop.

nieve··on Coming to Chrome: a new way to use tabs
Don't feel too bad about your tab hoarding, I'm at 3 windows with 4630 tabs and I'm pretty sure I'm closer to a stress test than a user. Chrome can't function with 1/20th of mine and Firefox runs smooth and fast. Restarting with loading all the session data takes seven or eight seconds total. It can't just be the different multi-process models so I'm pretty sure that the Chrome team can do better.
nieve··on Fixing Ellis Island's borders in the face of incorrect government data
I seem to recall that Newt Gingrich & company were convinced that the market was being unfairly stymied in providing maps, so they worked pretty hard to choke off funding and narrow the mission of the USGS. There's been far too small a budget to keep maps even vaguely up to date and my understanding is that current Republican lawmakers are keeping this situation going for the same political reasons. The US is huge and underfunding the USGS means that every part of the government that works with them is getting bad data. I can't imagine the FS is having an easier time when the base maps are ancient.
nieve··on ICANN board withholds consent for a change of control of the .org registry
Didn't they bring in a new management team from the for-profit world who talked up expanding into major new roles? If your leaders have a mindset shaped by puffing up stock prices every quarter you tend to be interested in big, sweeping changes even if they don't make much sense long-term.
nieve··on ICANN board withholds consent for a change of control of the .org registry
ICANN is incorporated in California, has their headquarters there, and does significant business. Any of the three would be sufficient, but the incorporation was called out.
nieve··on Software Folklore – A collection of weird bug stories
I eventually gave up without finding the issue, but somewhere deep inside one version of the Sphinx full text search software was a bug that would sometimes switch query got what result set. It only happened sometimes when queries were within a few seconds of each other, but it wouldn't happen with only one front end process even in multithreaded mode and would disappear if requests were _too_ close together. If I'd found a way to reproduce it I'd have submitted it to the Sphinx team, but after a few days of potentially private info leaking I gave up and moved to PostgreSQL's FTS.
nieve··on Boiling the machines when they needed to just chill
Many years ago a brand new server room with its own dedicated HVAC systems being used for electronic home arrest nationwide started having all the machines fail each night every weekend. As you can imagine this was a panic mode situation and they had some of the sysadmins stay overnight. It turns out that the HVAC people despite knowing what it was used for, told the and having in fact been in the room setting up the underfloor programmed the A/C to shut off over the weekend to save electricity. When drama flows downhill from the Feds no-one is happy and the resulting meeting was almost as uncomfortable as the one after Qwest deliberately cut both sides of a fibre ring and then tried to sell us service.

(We later found out Qwest's field people didn't want to cut a different carrier's fibre so they called back to confirm and were told to cut it or not come back in the morning.)

nieve··on Amazon scooped up data from its own sellers to launch competing products
Criminal conspiracies by corporate execs are not all uncommon in the history of business and presuming that you can't possibly run into one because you personally haven't is taking an unnecessary risk. One thing due diligence is supposed to look for is criminal behavior. This is not because they never find it.
nieve··on How do dat:// sites interact with servers? (2018)
I get the joke, but using a very common phrase and a well known url that's already heavily overloaded seems like a poor choice. Searchability and clarity are important for this kind of thing.
nieve··on Userscripts Are Fun and Are Still Very Much Relevant
Even easier, Firefox has a right click menu option for form fields it think might be searches to add the search keyword directly.
nieve··on I Want Decentralized Version Control for Structured Data
I'm a little concerned that the author is basing their approach on on Pijul given that its data loss issues are exactly what you wouldn't want for the "reliable" part of their priorities, but hopefully that's just an issue with Pijul's implementation of the ideas. It seems plausible that there aren't any major pitfalls in the theory itself instead of the code.
nieve··on Jitsi Meet Electron 2.0
Yes, as evidence for this web browsers sitting at an empty new tab page are generally still using at least 100-200mb to do nothing. The likelihood that most of that is not the part that's most vital and feature rich is low.
nieve··on Jitsi Meet Electron 2.0
Now if only we didn't have to worry about Discord arbitrarily banning accounts for daring to use a third party client..
nieve··on Jitsi Meet Electron 2.0
I had the freakish opposite experience where I went from an 8gb linux machine that was scraping the top of that to a 16gb machine at the same time I switched from openSUSE's standard release to their rolling release (Tumbleweed). My memory usage immediately dropped by 30-40% and the bits that didn't were all Electron-based. Even Waterfox with 4K tabs dropped significantly. I have no idea how they managed it, but it was a pleasant surprise at the same time it highlighted that if you use a lot of Electron apps there are no good options.
← PreviousPage 9 of 16Next →