Better HN
topnewbestaskshowjobs
Log inSign up

codys

1,284 karma · joined Oct 6, 2011 (15y ago) · 430 submissions

podcast-again-1k@icloud.com
Submissions

comment 6y ago · link · parent

The legislation is, honestly, difficult enough to parse that linking it with a non-specific comment ("sounds well thought out") just turns into a tar pit. I can't tell if you have specific agreements or disagreements, and the only approach available to discuss is to basically summarize it or link to it again.

On the ACCC response: it implies google made statements they did not, and seems to willfully ignore the reality of supporting the cost of a free service.

Do you have specific things you think this does or doesn't do? In the future it helps to start with those.

comment 6y ago · link · parent

Are you using snapshots in btrfs? Perhaps trying to use this feature was what caused it to be needed for my use case.

comment 6y ago · link · parent

> openSUSE has automatic snapshots with a fairly extensive retention policy.

Ah, so Fedora is limiting it's use of snapshots to avoid the need to have balances occur? Do you have some info on what level snapshot usage has to rise to before balances are needed on a regular basis? Is Fedora using snapshots at all?

comment 6y ago · link · parent

There are whole repos[1] dedicated to scripts to perform the delicate work of running `btrfs balance` in various ways to ensure space is recovered.

openSuse (a distro which notably defaults to btrfs) packages these btrfsmaintenance scripts [2], and it appears they may have included it in their default install (I can't find a list of packages). Their wiki page on disabling btrfsmaintenance [5] implies that if disabled, manual maintenance (presumably via running, among other commands, some form of balance) is needed.

There's also an entry in the btrfs wiki [3] that indicates running `btrfs balance` will recover unused space in some cases. It helpfully notes that prior to "at least 3.14", balance was "sometimes" needed to recover free space in a file-system full state. (The lack of precision here doesn't inspire confidence)

Another btrfs wiki page [4] indicates that running balance may be needed to recover space "after removing lots of files or deleting snapshots".

1: https://github.com/kdave/btrfsmaintenance 2: https://software.opensuse.org/package/btrfsmaintenance 3: https://btrfs.wiki.kernel.org/index.php/FAQ#What_does_.22bal... 4: https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-balanc... 5: https://en.opensuse.org/SDB:Disable_btrfsmaintenance

comment 6y ago · link · parent

To be clear: I was running a non-raid (single disk) setup where I found `btrfs balance` to be needed.

comment 6y ago · link · parent

My experience with btrfs is from a few years ago, so it's possible they've changed the semantics here since then, but this might be applicable:

Btrfs requires a regularly run administrative task via "btrfs balance". Balancing consolidates data between partially filled block groups, which will restore consumed space even if a block group is not entirely empty. Typically, one runs balance with a set of gradually increasing parameters to control the records affected (ie: bash script that starts with block groups that are more empty and proceeds towards ones with a higher percentage utilization).

In my experience with btrfs a few years ago, running a balance in some situations would result is incredibly high system wide latency.

The man page [1] does not appear to reference the free space issue directly, so I'm not sure if they've removed this need.

1: https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-balanc...

comment 6y ago · link · parent

The fact that go eventually fixed things doesn't really speak to the top-level comment on this thread that "The best thing about Go is how things are designed thinking ahead in the future and avoiding hypes."

That the things needed fixing (and especially in cases where there were previous ways of doing things that had to be entirely discarded) seems to go against the idea that there was thinking ahead in those areas.

comment 6y ago · link · parent

The one issue I've seen with using `-p` here is that `git log -p` has worse performance when compared to plain `git log` because it needs to calculate diffs, and when searching in less ends up searching the diff contents (even when this is not desired)

comment 6y ago · link · parent

No more than the alternates here:

- go tooling (ides, etc) have to be taught about the _specific_ embedding in the same way one could teach rust tooling about specifically `include_bytes()` (or any other specific macro in the same way one teaches go tooling to handle specific pragmas)

In the world of rust build scripts, there is tooling that exposes information about which files are used if dependency info is all that is required (I don't know to what extent imperative macros are able to expose similar info).

The core of how I see the comparison here: if we restrict ourselves to the capabilities of go pragmas in rust, the same level of support is possible, but even without that restriction there are ways to obtain (though with more work) the same info.

comment 6y ago · link · parent

While I agree that browsers generally currently appear to exercise poor control over resources like cpu time and memory amount, I'm not sure that aiming to cripple all sites equally is the right tactic here. It seems like better "scheduling" and other resource management would be something that needs work regardless of whether we expose tools to improve web application performance to websites.

comment 6y ago · link · parent

Can you provide some details on your binary rewriter to add shadow stack support? Was this a pure software approach, or was it designed to take advantage of the support in new intel microprocessors? Do you have a write up of or can you give a quick overview of your methodology? Is the source code published somewhere?

comment 6y ago · link · parent

> The metcal PS900 is actually cheaper now than the equivalent bottom end Weller TCP units and much much cheaper than the Hakko FX951 irons.

- Hakko FX951 is listed for $269.77, less tips

https://www.hakkousa.com/products/soldering/hakko-fx-951-sol...

- Metcal PS-900 is listed for $275.93

https://www.mouser.com/ProductDetail/Metcal/PS-900

The statement that the PS-900 is much much cheaper does not appear to be accurate now.

comment 6y ago · link · parent

As exmadscientist noted, these use the 1wire bus.

The general mechanism (to use 1 io pin as both an input and an output) though is to have the io-pin operate in "open collector" mode. Essentially: it assumes that there is something external "pulling up" the io _line_ (normally a resistor attached to the positive logic level), and all devices attached to the io-line only "pull down" (ie: output the 0 logic level, normally 0v) on their io-pin. The io-pins, thus, have 2 states: low (ie: 0v), and hi-z (high impedance, ie: not driving the output in any direction)

This ensures that no device on the io-line will directly push/pull against the level being driven by the other device (because all devices only drive 0v, and none drive the the logic 1 level, they rely on the pull up).

Then to allow communication to occur reasonably (without both ends pulling the io-line low all the time), buses like 1wire specify how the devices decide which one "wins" (ie: gets to transmit it's data), or which one goes first, or which one directs the other devices to "talk".

comment 6y ago · link · parent

This particular name originates from BSD 4.2 [1], which was released in 1983. (For some context, GCC 1.0 is from 1987, pcc was used to build BSD 4.2. The first Linux release was 1991).

1: https://github.com/dspinellis/unix-history-repo/blob/0f4556f...

comment 6y ago · link · parent

I also noticed the "Q" in the video opening, but youtube appears to indicate the video was uploaded 10 years ago (Sept 4, 2009). Wikipedia's page on QAnon [1] indicates it began in October 2017. It appears the video is a promotional from the Dillon Aero company, and the "Q" graphic appears to be something they included (again, based on upload data, 10 years ago). It seems plausible the "Q" in the video is meant to refer to something different.

1: https://en.wikipedia.org/wiki/QAnon

Edit: also see the same video from 2007 from another uploader:

https://www.youtube.com/watch?v=AowpYoYhzEI

It appears "Q" might refer to the product here. Or perhaps it is a James Bond reference.

comment 6y ago · link · parent

This assumes that video encoding latency is lower than the audio latency.

comment 6y ago · link · parent

"safely abstracting `unsafe`" is the important concept with respect to rust and it's use of `unsafe`.

`unsafe` occurs in rust source code where the author of some code needs to do things in a way that can't be directly proven to the compiler to be safe. These include things like calling C functions and ASM code (both cases where we can't infer all the information necessary to ensure safety). The author of the unsafe code then provides an "safe" abstraction around the unsafety that ensures that when one uses the "safe" interface, no undefined behavior occurs.

At the lowest level there is always some unsafety: system calls, libc function invocations, asm, modifying various memory mapped registers. What rust provides vs C or C++ is effective isolation of the unsafety.

comment 6y ago · link · parent

I run sway too, but I've kept firefox using X11 instead of native wayland due to the trackpad scrolling in firefox under wayland not being exact (ie: it jumps as if I had a mouse with a clicky scroll wheel instead of exactly following finger motion). In x11, I set `MOZ_USE_XINPUT2=1` to get exact trackpad scroll.

comment 6y ago · link · parent

It looks like there's a copy in the library of congress [1]. Unclear how one would go about making a copy.

1: https://www.worldcat.org/title/spontaneous-assembly-for-cc-a...

comment 6y ago · link · parent

The immunity enjoyed by Legislators is similar to but distinct from the Qualified Immunity enjoyed by government employees.

In the case of Federal Legislators, their immunity is written into the constitution explicitly.

No such explicit provision exists for government employees.

comment 6y ago · link · parent

qmake is has very poor handling of dependencies between generate header files, like those used with protobuf.

https://github.com/jmesmon/qmake-protobuf-example

comment 6y ago · link · parent

Yes, it could make a lot of sense to enact price control boards like those of the WW2 era to allow some level of price changes without allowing price changes to the extent that it is harmful to the national interest.

comment 6y ago · link · parent

> should we not allow trucks on the road?

Perhaps not ones designed for carrying ballistic missiles.

Though this still isn't a perfect comparison because it ignores the fact that drone usage can be targeted to individuals, which is a factor that makes it more dangerous in our context of homeland operations.

comment 6y ago · link · parent

Since v3.0, Linux has treated the first _2_ numbers of it's version as something that is incremented sequentially (in the v2.6 era, the _3_rd number was used, prior to v2.6 there was a even/odd stable/unstable split)

For example, we have normal releases v4.19 then v4.20 then v5.0 then v5.1. There will never be a v4.21.

Stable releases use the third number. v4.14.81 is a stable release of v4.14.0.

So the v4.20-rc2 statement just dates the work:

    $ git show v4.20-rc2
    tag v4.20-rc2
    Tagger: Linus Torvalds <torvalds@linux-foundation.org>
    Date:   Sun Nov 11 17:12:54 2018 -0600

comment 6y ago · link · parent

Not the parent, but `auto` in c++ improves the situation wrt implicit conversions as variables now automatically get the type of the thing assigned to them. IOW: less unintentional implicit conversions.

comment 6y ago · link · parent

The TI-84 Premium/Plus CE uses a larger RSA key that has not been factored.

comment 6y ago · link · parent

Only for copyright claims. Patent claims are not diminished by publishing items and asking for review. We can see this in the various video codec and other standards that publish a bunch of info that is covered extensively by patents.

comment 6y ago · link · parent

The standard for Linux gpu access is the dri/drm kernel interface, not the new wsl specific api they've added.

Their porting Mesa to use a proprietary library that interacts with the wsl only kernel interface isn't that same as behaving like a standard Linux gpu

comment 6y ago · link · parent

For linux I believe you mean D-Bus instead of DCOP. (that said, it's largely similar in concept)

comment 6y ago · link · parent

It is trying to make the linux kernel more real time capable. Having periods of time where preemption isn't enabled (due to having interrupts disabled, etc) results in more variation in when tasks are scheduled, including real time tasks.

The reality is that "real time" as a definition covers many "features" and design choices because many ducks need to be in a row for real time tasks to run properly. Decreasing variation in the scheduling of (real time) tasks is one of those items.

As a result, it's entirely reasonable to call "linux-rt" "linux-rt".

1
789
15