Better HN
topnewbestaskshowjobs
Log inSign up

ajdlinux

4,470 karma · joined Feb 15, 2015 (11y ago) · 993 submissions

Linux hacker, Australian. https://andrew.donnellan.id.au
Submissions

comment 10y ago · link · parent

...because after {an exciting day of seeing all the wonderful attractions that there are to see in $COUNTRY, an exhausting day full of business meetings that you don't really want to go to but come with the territory of working for $MEGACORP}, maybe you just want a quiet evening with a movie to relax?

comment 10y ago · link · parent

For those who aren't familiar, the Productivity Commission is a major Australian Government advisory body/think tank that conducts public inquiries into matters of economic policy. The Government requested a broad report into the economic effectiveness of the intellectual property system.

This report is a draft - the Commission is presently taking public submissions that will be considered for the final report later this year.

Highlights from the findings and recommendations:

* 70 years after death is far too long a term for copyright - it would be more appropriate to limit copyright to 15-25 years after creation (noting that this has implications for international copyright treaties)

* Make it explicitly legal to evade geoblocking

* Repeal Australia's "parallel import" restrictions on books

* Replace Australia's present "fair dealing" exemptions with a US-style "fair use" clause which would be much broader in scope

* Ban software patents and business method patents

* Reform pharmaceutical patents in various ways

* Government should adopt an Open Access policy for publicly funded research

All of which seems in line with what I consider sensible policy reform. Of course, whether the Government will consider any of these recommendations at all is a completely different question...

873.

Australian Govt Productivity Commission: Draft Report on Intellectual Property(pc.gov.au ↗)

3 points · by ajdlinux · 10y ago · 2 comments

comment 10y ago · link · parent

For those of us who aren't in the know, apparently FOUT stands for "Flash of Unstyled Text": https://css-tricks.com/fout-foit-foft/

comment 10y ago · link · parent

PowerPC/ppc64el, System z and ARM/Raspberry Pi server images available at: http://cdimage.ubuntu.com/releases/16.04/release/

comment 10y ago · link · parent

If Lyft ever expands to Australia, I will make a concerted effort to use them over Uber.

comment 10y ago · link · parent

I've used emacs as my main text editor at work for the past 9 months, and I can safely say I am still nowhere near proficient. I'm getting better, but I can fully appreciate why emacs has the reputation it has.

comment 10y ago · link · parent

I'm glad I live in a country where it's illegal not to pay out unused leave entitlements upon termination, and where there is a sensible statutory minimum leave entitlement...

879.

Gone in Six Characters: Short URLs Considered Harmful for Cloud Services(freedom-to-tinker.com ↗)

495 points · by ajdlinux · 10y ago · 165 comments

comment 10y ago · link · parent

https://equipment.erac.gov.au/Registration/EquipmentSearch.a... isn't the database you're referring to?

comment 10y ago · link · parent

CAPI allows an FPGA connected via PCIe to be treated as a coherent peer to the CPU cores that is able to hold cache lines and also use address translation. Among other things, from the application programmer's perspective, the CAPI accelerator can basically be treated as if it were another thread, since it can use the application's virtual address space - the application can set up data structures in main memory and pass unmodified pointers to the CAPI card.

http://www-304.ibm.com/webapp/set2/sas/f/capi/CAPI_POWER8.pd... is a good intro.

[Disclosure: I work on CAPI at IBM]

comment 10y ago · link · parent

Some IBM Power Systems machines can now be ordered online (at least for US customers) - https://www.ibm.com/marketplace/cloud/big-data-infrastructur....

[Disclosure: IBMer]

comment 10y ago · link · parent

Neither does IBM as of last year - all IBM POWER chips are fabricated by GlobalFoundries.

884.

LKML: New syscall: leftpad()(lkml.org ↗)

237 points · by ajdlinux · 10y ago · 73 comments

comment 10y ago · link · parent

I doubt any game developer decides not to release a Linux version purely because "oh, Wine exists".

comment 10y ago · link · parent

Since when did the GPL not cover non-code artifacts?

The FSF's view at http://www.gnu.org/licenses/gpl-faq.en.html#GPLOtherThanSoft...:

"You can apply the GPL to any kind of work, as long as it is clear what constitutes the “source code” for the work. The GPL defines this as the preferred form of the work for making changes in it. However, for manuals and textbooks, or more generally any sort of work that is meant to teach a subject, we recommend using the GFDL rather than the GPL."

comment 10y ago · link · parent

A PayPal email address, as opposed to a credit card number + expiry, is insufficient to make a transaction alone.

comment 10y ago · link · parent

Linus once introduced Tanenbaum on stage when he was the keynote speaker at Linux.conf.au 2007.

comment 10y ago · link · parent

I consider myself extremely lucky to have a job in a city where I can afford (on my fresh-graduate salary) to live near the city centre, 15 minutes' walk from the office. I know I'll probably have to move further away if I find myself married with kids, but until then, I very, very much like where I am.

comment 10y ago · link · parent

Oh, yeah, only for leaf functions. Obviously not for multiple levels of calls.

My understanding is that PPC encourages register based parameter passing just by virtue of having a tonne of registers.

comment 10y ago · link · parent

a) Return address is passed in the "link register" - our call instruction is "bl" (branch and link) and return is "blr" (branch link register)

b) We have 32 general purpose registers - the ABI defines a certain range of registers (8 general purpose registers + a bunch of floating point and vector registers) for passing parameters

c) The register range allocated for passing parameters is designated as "volatile", so the caller can't rely on them coming back unmodified. This gives you a few registers to play with.

(NB: I'm not hugely experienced in PPC assembly programming, I've just had to touch it a couple of times and so I've read bits and pieces of the ABI, don't trust what I say here...)

comment 10y ago · link · parent

I have a lot of fun explaining to people that the architecture I work on (IBM Power aka PowerPC) uses calling conventions that for many function calls doesn't touch the stack whatsoever. :)

comment 10y ago · link · parent

To be clear, Temasek Holdings is owned by the Singapore government proper, not by any one political family, though the company's CEO is the wife of the prime minister and it's a vehicle through which the government and the ruling party exert a lot of influence over the "private" sector in Singapore.

comment 10y ago · link · parent

"make help", as the Linux kernel does.

comment 10y ago · link · parent

It's pretty much all done by emailed patches with git am - I maintain a personal tree on GitHub and one privately in my company, but they're purely for experimentation, not for sending pull requests. Email is how we submit code, discuss code and review code. You use git send-email to fire your patches off to the appropriate maintainer + mailing list, you make your modifications/rebase it/etc then send off V2, V3, ... V14 of your patch until everyone's happy. Among other things, we tend to be quite picky about getting commit messages right, and making sure that patch series are "structured" in a "nice" way - so git rebase -i is one of the most common commands I run on my private branches...

Maintainers all have their own tools and scripts to help automate and track the whole process - in the area where I work, we track things using Patchwork (see http://patchwork.ozlabs.org/project/linuxppc-dev/list/). When the maintainer's happy with a patch, it gets applied and pushed to one of the trees they use (e.g. with powerpc, we have powerpc-next for feature development and powerpc-fixes for important fixes). Eventually, they send Linus a pull request, and it makes its way into the kernel mainline.

It's a bit of a tricky system that requires understanding of the kernel community's social norms to get right - which I'm not entirely happy with but I don't think it'll change particularly quickly. However, it's also surprisingly effective - the kernel is one of the largest and most distributed individual projects in the open source world, and as a community we keep pushing out releases.

comment 10y ago · link · parent

The one hackathon event that I regularly participate in (GovHack) generally closes down between 11pm and 7am or thereabouts.

comment 10y ago · link · parent

Huh, didn't know that - I'm starting to like GitLab more and more!

comment 10y ago · link · parent

It's true that at the top level, most of Linus' commits are merge commits. However, on a per-subsystem level, we very much favour a nice linear history. In most parts of the kernel, it's rare to go beyond 2 levels of merging, which given that the kernel has something like 1500+ developers and well over 10k+ commits per release cycle, is fairly linear...

comment 10y ago · link · parent

Of the 9 commits listed there, 2 are removing LGPL headers, 2 are adding LGPL headers to scripts which aren't linked into the kernel, 1 is relicensing a header file so it can be used outside the kernel, 1 is changing from linking against an external GPL3 library to an LGPL2 library without changing the licence of the tool that's in the kernel tree, 1 is an author noting that he's bringing in some external LGPL code which he wrote and is relicensing, 1 is a commit removing a driver and noting that an LGPLed userspace replacement exists, and 1 is noting an external LGPL userspace tool in the MAINTAINERS file.

So of all of those, literally 1 is changing the licence to LGPL.

A better search is https://github.com/torvalds/linux/search?utf8=%E2%9C%93&q=%2..., which reveals 147 results in the code.

This is still tiny, given that the kernel is a ~20 million LOC codebase, so yes, I would call LGPL code in the kernel an unusual thing.

comment 10y ago · link · parent

I have fond memories of browsing the Austext service when I was younger - was sad but understandable to see it go in 2009. :(
1
293031
34