Hacker News new | past | comments | ask | show | jobs | submit | more austinpray's comments login

For instance if you run this on your desktop you could bookmark "http://local-desktop-ip:3000" on your mobile device and be able to download videos while on mobile.


I use zsh daily but type `xonsh` any time I do something in the shell that would normally require a google.

“Uh ok so I have this JSON file. When I pipe this to `jq` I forget: to pivot an array of objects to an object keyed by array[x].id is it like `to_entries` then chain it to `map`? Uhh let’s look at the docs...”

However in Python I can write that function at the speed of thought. It may be a couple more lines of code but I’m also 100% confident in the output.

Like I understand some people can legitimately program in bash [0]. But I just can’t bring myself to practice. Why would anyone inflict this language on themselves?

[0] https://github.com/docker-library/python/blob/master/update....


> Like I understand some people can legitimately program in bash [0]. But I just can’t bring myself to practice. Why would anyone inflict this language on themselves?

Bash has a lot of pitfalls, but once you learn how to deal with them, it can also be quite superb for some tasks. Piping the output of a complex set of loops into GNU parallel and watching your computer process stuff at blazing speed is a very nice experience. Doing the same in python would be many time more verbose.


> I use zsh daily but type `xonsh` any time I do something in the shell that would normally require a google.

Personally, I stopped using `jq` in favor of python oneliners, they a bit more verbose but also cross-compatible, works out of the box (not everyone has jq, but most of people have python (pre)installed on their machines) and it is easy to implement a oneliner, i.e.:

   curl -X GET "https://httpbin.org/json" -H "Accept: application/json" | python -c 'import sys, json; print(json.load(sys.stdin)["slideshow"]["author"])'
Do xonsh helps you write a tar command without googling [0] or browsing a man?

[0]: https://xkcd.com/1168/


Bash combined with utilities is like a swiss knife of scripting, you won't be doing any major woodwork with it but it sure is a heck of a useful tool.



It's probably being replaced with a more complete file, since the original one had its ending cut by mistake.

There's always the raw recording if somebody needs to watch it right now: https://streaming.media.ccc.de/34c3/relive/8941


The embedded video here[1] is removed too. I have a feeling there's something more to this.

[1]: http://wololo.net/2017/12/29/nintendo-switch-kernel-exploit-...



It's back.





I was to “go to person” for my university’s natural language processing research group. I built a database and accompanying REST API for bulk loading audio and transcription data for one of their projects. I was quite pleased with it.

When it came time for the researchers to submit transcripts I had the pleasure of reviewing probably the worst python program I have ever seen.

1) The request JSON was manually built using strings and string substitution. One immediate bug I saw was that the researcher forgot to wrap one of his keys in quotes. `{key: “val”}` is not valid JSON of course.

2) The python program did not actually make the web requests. It generated curl commands as strings and then printed them to std out.

3) The researcher then took all these generated curl commands and evaled them.

You seriously can’t make this stuff up.


I had the pleasure of hanging out with the Sentry folks in SF for a couple days last week. Honestly a top-notch group.

It was eye-opening to see what is possible when you have an organization like theirs where you have a lot of talent and pride in your product across the board.


WordPress is a cms first and foremost.

edit: lol today I learned cms != blog


I'd say "sort of". It does support custom field types and custom post types. But you have to either write code, or use some 3rd party plugin to manage/use them.


No. WordPress is a blogging platform. A CMS is much more than that. If you need a CMS you probably want something more than WordPress.


Have you used it recently? What you say was true 10 years ago, but what features does it lack compared to a "true" CMS today?

I've built several high-traffic e-commerce sites using it, none of them had a blog. Compared to something like Drupal it's a total pleasure to use.


Same here, I built and oversee 3 WordPress online stores that together do more than $1m/month during peak season (summer).

WordPress has the ability for pages as well as posts (along with versioning of those items). User account management with permissions. Custom fields. What exactly does "true CMS" mean?

And I'd argue the easiest-to-use admin area out there, or so my clients lead me to believe.


I have moved wordpress stores to other e-commerce platforms and seen an instant improvement in sales.

Thats why wordpress is a blog and not a CMS because the only content it handles well are blog posts and basic wall of text pages. A CMS will not limit or put a definition on the content it manages, thats up to you. As an example, how complicated would it be to model the content of a store, store manager and then the relation ships between them, this is basic stuff for any other CMS.

If you don't show your clients anything else they will think its great. My clients say the same thing about wordpress, until they see something else then they wonder why anyone uses wordpress.


I think this is an outdated perspective. You can easily train the WordPress CMS to handle any content you could possibly want to throw at it, including your above example (which would take like ten minutes, tbh), for sure. Took a bit of time to figure out all the moving pieces, but WP is a fully mature CMS at this point.

Interested in what other CMS's you would recommend? You aren't being very specific.


>to other e-commerce platforms

Which platforms? What was different about them that made them better than WP?

>because the only content it handles well are blog posts and basic wall of text pages

Unless you use post types. Now since 4.7 post types can apply to everything, including page templates. Have you tried using this and failed before you made your comment?


That's like saying WordPress is a forum because you can install bbPress.


That's like saying WordPress is a great CMS to manage the content for your forum, using a plethora of great plugins or custom post types to output the content in a forum-like view.


>A CMS is much more than that.

Can you explain?


Why do you then still get a blog when you install it?


Legacy behavior nobody bothered to update ;)


wordpress.org says its a blog in the title, it's the first word.


Haha and what's the last word? "Blog Tool, Publishing Platform, and CMS"

WordPress is a flexible, multipurpose software platform.


That definitely stood out to me.


Pokémon on 3DS is wonderful for learning Japanese. It's a game for kids so it's made up of a lot of kana with some low level kanji.


Unfortunately, even Japanese children are native speakers. I wouldn't recommend going into native material unless one has grammar points and some vocab nailed down, even if the kanji is easy or rare.


Your advice is common amongst educators these days, but the general consensus in language acquisition research is completely the opposite. If you can understand something, with enough repetition, you will acquire it. Free reading of native material is hands down the most effective way to acquire a second language that we know about.

There are quite a lot of scholarly works accessible from the internet on the topic, so if you are interested I recommend taking a look. I was going to link some examples, but it's probably better for you to find your own way without my biases.


...um even if you are entirely swamped and way confused by the dialog it's still pokemon.

You'll be fine.


My niece set her language to German when she played (and beat) Pokemon X. She was probably 6 or 7 at the time, and didn't know a lick of German.


Most text in Pokemon is either completely formulaic ("A wild <Pokemon> appeared!" "Charmander used Ember" "It's not very effective") or a one-off pre-combat joke from a trainer ("I like shorts!"). It's pretty easygoing stuff.


On my mac I used tmux and vim for years. However, only after building a little arch linux box did I realize I actually wanted a tiling window manager and an ide all along.


At one point I was using a tiling WM and tmux. But between the WM, tmux and vim windows.. well, I don't really need 3 layers of tiling, so I got rid of tmux.


Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: