Hacker Newsnew | past | comments | ask | show | jobs | submit | hebz0rl's commentslogin

I use » instead which has been working well for me (zsh + alacritty on archlinux)


Is there any locale in which » is a shell metacharacter? Or is the set of shell metas fixed regardless of locale?


It was defined by POSIX [1] - of course anyone can extend POSIX functionality (and does), however I'm personally unaware of a locale which would break this specific convention / definition as it would almost assuredly break a lot of scripts in the world.

[1] https://pubs.opengroup.org/onlinepubs/009604499/utilities/xc...


It's a quoting character, so any environment that intends to use » semantically would probably not use it as a redirection character


Right, I was wondering if locales can influence the set of thing that behave as if they were ascii "


What do you mean? Rust and cargo are in ports so you can just install them.


Yeah, but the whole kernel hasn't been rewritten yet.


And there are probably packages as well if s/he doesn't want to wait a hour or so for rustc to build. This is a bit out of date but still:

http://system.joekain.com/2015/07/04/rust-and-cargo-on-freeb...

It's probably even easier today.


Yeah, you don't need to do that anymore on FreeBSD: we officially distribute x86_64-unknown-freebsd (as tier 2) and i686-unknown-freebsd (as tier 3) versions of std, rustc, and cargo these days: https://doc.rust-lang.org/stable/book/getting-started.html#p...


Where can I download cargo for i686-unknown-freebsd ?


https://static.rust-lang.org/dist/index.html is where all the builds are stored. https://static.rust-lang.org/dist/rustc-1.11.0-i686-unknown-... should have both the rustc and cargo for 1.11.


It doesnt have cargo there, only rustc. cargo still doesnt build on FreeBSD platforms.


Very strange, I must have opened the wrong one. I thought I saw it? I wonder why the docs are wrong here, then...


Only on amd64.


You could try tikz with latex which works very well and is very slick: Example Gallery: http://www.texample.net/tikz/ Handbook: http://mirrors.ctan.org/graphics/pgf/base/doc/pgfmanual.pdf


I've once redone a simple Metapost diagram in TikZ and was surprised how similar these languages are. At least for such a simple task that it was.


You can use iptables for that:

  $ sudo iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH

  $ sudo iptables -A INPUT -i eth0 -p tcp --dport 22 -m state --state NEW -m recent --update --seconds 60 --hitcount 8 --rttl --name SSH -j DROP
Copied from http://kvz.io/blog/2007/07/28/block-brute-force-attacks-with... but I agree that pf ist just much more sane config wise.


Since nftables is supposed to be backwards compatible, I'd guess it can do this too. I wonder what it'll look like for that. A lot of the other syntax looks nicer, i suspect that this will be better too.


I mean we have to look at the conext here. Programming a game has very different goals than for example writing a service which should never crash.


About the I want to put a float where I define it problem maybe look at: http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Capti...


You can always define a template via `--template=MyTemplate`. You just have to place the template in `.pandoc/templates/MyTemplate.[latex|html|...]`.


Economics is not money. Its about how to allocate the limited resources in the most efficient way. Money is just a tool used for example in capitalism.


> Economics is not money. Its about how to allocate the limited resources in the most efficient way.

At least some presentations of Star Trek (or, at least, Federation) "economics" were that it was not economics; not having money was a symptom of that, but the fundamental thing presented was that scarcity was solved because resources were not practically limited (which is why they didn't have money.)

(Of course, there was a whole lot presented at other times that seems to be at odds with that.)


When you have technologies like replication and warp drives and your federation is off colonising multiple planets in an area 8000 light years wide your civilisation is not worried about limited resources

interestingly enough in star trek they still have constraints on things like dilithium, and of course wars are waged over territories


You're always going to have things that are scarce. They might not be the things that are scarce today, but not everyone can have everything.


>You're always going to have things that are scarce. They might not be the things that are scarce today, but not everyone can have everything.

you forgot the Continuum - they have no scarcity at all, so no economics (yet, surprise!, they still have politics)


but no constraints on ham sandwiches


Just encrypt your laptop hdd?


That's what DNS is for.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: