News for hackers. Stuff that matters.

yamaneko

Re:City Generator on Monday February 14, 2022 @06:06PM (#30339699)
Watabou has created many great projects. Besides the already mentioned Pixel Dungeon, check out these other generators:

- Neighborhood generator: https://watabou.itch.io/neighbourhood

- One Page Dungeon: https://watabou.itch.io/one-page-dungeon

- ProcGen Mansion: https://watabou.itch.io/procgen-mansion

- Village Generator: https://watabou.itch.io/village-generator

- Perilous Shores: https://watabou.itch.io/perilous-shores

- Castle Generator: https://watabou.itch.io/castle-in-the-mist

- Fantasy Manor: https://watabou.itch.io/fantasy-manor

- Rune Generator: https://watabou.itch.io/rune-generator

And there are many others in his profile.

Re:Finishing my first game while working full-time on Friday November 05, 2021 @12:35PM (#29121609)
Can you elaborate on how you design your board games? How do you approach it?
Re:The Orbit of Planet Nine on Tuesday August 31, 2021 @01:28PM (#28370928)
Yes, thank you. It's been a while since I've watched the video, so calling it "opposing arguments" was a stretch. More like a healthy dose of skepticism.
Re:The Orbit of Planet Nine on Sunday August 29, 2021 @08:54PM (#28351883)
Veritasium did a video about Planet 9 [1] with one of the authors of this article, Konstantin Batygin. It also features David Jewitt with opposing arguments regarding the existence of Planet 9.

[1]: https://youtu.be/pe83T9hISoY

Re:ICQ New on Thursday April 09, 2020 @04:31PM (#22826891)
Does it still show your old profile? I use to log into my account but I'm not getting the password right anymore.

Last time I logged into my account a couple of years back, it still showed the last profiled update I filled in the 2000s.

Re:A Definitive Guide to Enabling Italics in Vim and Tmux on Monday March 30, 2020 @05:18PM (#22732384)
Mine only worked when I added [this][1]:

    set t_ZH=^[[3m
    set t_ZR=^[[23m
before `highlight Comment cterm=italic`.

I was recently wondering how I'd make some keywords italic, like VSCode, which italicizes `self.foo` and others in Python. This thread came at the right time. I found this [post][2] that may help, in combination with OP.

[1]: https://stackoverflow.com/a/21077380/

[2]: https://www.reddit.com/r/vim/comments/dgbvw4/how_can_i_have_...

Re:Soviet Venus Images on Friday January 10, 2020 @05:56PM (#22016530)
Past discussion: https://news.ycombinator.com/item?id=4360763

Also interesting, Venera 14 carried acoustic microphones which were able to record the sound of Venus. You can listen to it here: https://www.youtube.com/watch?v=8jZDW53U8qQ

Re:Spotify Form F-1 on Wednesday February 28, 2018 @07:29PM (#16488647)
I don't pirate music anymore for the same reason. However, I also don't listen to music as I used to. I usually use Spotify to listen to what I already know, not so much to find new stuff. Before, I used to dive in depth into an artist/band, starting from their greatest hits. Once I got the band vocabulary, I'd download the albums chronologically and listened to every track, sometimes more than once until I got familiar with it. Now I don't do it with as much scrutiny, which is interesting since Spotify has all albums very well organized and even the discovery playlist. It would be much easier and better.

Is IKEA effect at play? Without Spotify, I would only start another artist when I finished the current one. So, with Spotify it becomes an information management problem due to the large amount of albums available at a click. Or it could just be that my life has changed and I don't have a time slot dedicated to music anymore.

Re:How to Study: A Brief Guide on Monday January 22, 2018 @07:32AM (#16203873)
Re:NIPS 2017 Notes [pdf] on Wednesday December 13, 2017 @09:03AM (#15914220)
Smitha Milli gave a bit more of context about what happened. Link to her thread:

- https://twitter.com/SmithaMilli/status/940012716797739008

Re:Turning Corners into Cameras: Principles and Methods on Sunday October 22, 2017 @09:55PM (#15530150)
Paper is available here: http://people.csail.mit.edu/klbouman/pw/papers_and_presentat...

Abstract:

We show that walls, and other obstructions with edges, can be exploited as naturally-occurring “cameras” that reveal the hidden scenes beyond them. In particular, we demonstrate methods for using the subtle spatio-temporal radiance variations that arise on the ground at the base of a wall’s edge to construct a one-dimensional video of the hidden scene behind the wall. The resulting technique can be used for a variety of applications in diverse physical settings. From standard RGB video recordings, we use edge cameras to recover 1-D videos that reveal the number and trajectories of people moving in an occluded scene. We further show that adjacent wall edges, such as those that arise in the case of an open doorway, yield a stereo camera from which the 2-D location of hidden, moving objects can be recovered. We demonstrate our technique in a number of indoor and outdoor environments involving varied floor surfaces and illumination conditions.

Re:Tree Style Tabs Extension Ported to Firefox 57 on Monday October 09, 2017 @06:35PM (#15438000)
A bit late to the party, but posting for reference in case someone finds this post in the future. For Ubuntu, I did as the following:

1. Created the chrome folder at `~/.mozilla/<your-profile-id>.default/`

2. Created `~/.mozilla/<your-profile-id>.default/chrome/userChrome.css` and added

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
at the top of the file.

3. Added customizations after this line. The resulting file will be like:

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 
    /*
     * TreeStyleTabs solutions to remove tabs
     *
     * Solution by: https://news.ycombinator.com/item?id=15343940 */
    #TabsToolbar, #sidebar-header {
      visibility: collapse !important;
    }

    #TabsToolbar {
      margin-bottom: -21px !important;
    }
Thank you, this is a great insight.

> A better rule, however, is: do not try to time the market. Just invest when you can.

I'm not sure if I understood this one correctly. Is it like, instead of trying to find the best time to invest, like waiting for something huge to happen, just invest every now and then when you are able to do it. Is that it?

Re:Firefox marketshare revisited on Thursday July 20, 2017 @10:35AM (#14812811)
What are your thoughts on Vivaldi?

I try it occasionally and I'm enjoying it. Most tools come out of the box, like Adblock, screenshot, window tiling, and mouse gestures. Not sure if the Adblock is as good as uBlock origin, though. Some new features like an improved history (haven't used thoroughly yet) and tab stacking.

It still is a bit buggy for me on Ubuntu 16.04. Sometimes when playing videos the window flickers.

This suggestion by Michael Nielsen is also very good: https://news.ycombinator.com/item?id=666615
Re:Ask HN: How can I get better at bash? on Monday June 26, 2017 @10:56AM (#14637272)
Take a look at this tutorial [1]. It will teach you some shortcuts, a bit of shell expansion, and help you set sane defaults in bash. One that I'm particular fond is to set

  "\e[A": history-search-backward 
  "\e[B": history-search-forward 
in your ~/.inputrc. So, if you are typing a command which begins with "git", it will only search in history for commands that start with git (instead of returning all commands that may include the string 'git' like Ctrl+r). Having trouble trying to remember that option you passed to `git log`? Just type in `git log` and press the up arrow to find your last usages.

I think it is also helpful to learn Emacs or vim keybindings. I use Emacs keybindings in bash a lot (enabled by default). I have summarized the ones that I used more often in a previous comment [2].

[1]: https://www.ukuug.org/events/linux2003/papers/bash_tips/

[2]: https://news.ycombinator.com/item?id=13404262

Re:An Introduction to Support Vector Machines on Thursday June 22, 2017 @05:10PM (#14615394)
This class from MIT taught by Patrick Winston is also a great resource: https://www.youtube.com/watch?v=_PwhiWxHK8o

At the end of the class, he also gives some historical perspectives, like how Vapnik came up with SVMs.

Re:14 People Make 500K Tons of Steel a Year in Austria on Wednesday June 21, 2017 @11:10PM (#14609868)
Of course! I thought you were alluding to these ideas. And you could either come up to these conclusions by your own or through any other material.

I hope my comment didn't look like I was calling you out about these ideas. I was just excited at this coincidence and wanted to share it. They went completely unnoticed to me from watching just the movies. Makes them even better (including the sequels :P).

Re:14 People Make 500K Tons of Steel a Year in Austria on Wednesday June 21, 2017 @10:43PM (#14609767)
From some discussions I've seen, it seems that the human battery idea was introduced in the last minutes by executive meddling. The original idea by the Wachowskis was exactly what you described: a way of the machines protect themselves from humanity attacking them again, while also giving humanity a paradise as mercy and gratitude. It was never the machines' intention to rebel and attack the humans; they only attacked back as self-protection.

The [Machine War][1] describes how it was in the early days. The conflict started when a robot killed its human masters because they were planning to destroy it and replace by a newer model. That started a Machine Civil Rights Movements, but humanity had become lazy and arrogant due to the new lifestyle yielded by the creation of AI. Most humans refused to acknowledge the robots and the few human sympathizers who did were silenced. It's a great read/watch (if you see the anime), but I better stop here so I don't spoil anything.

After reading this, that has become my single concern about the future with AI: will humanity be able to treat and respect the machines as equals?

PS: I was reading about it just this past weekend. Such a coincidence. This thread was from where I got most of it: https://www.reddit.com/r/movies/comments/4h9ghg/in_the_matri...

[1]: http://matrix.wikia.com/wiki/Machine_War

Re:Org-mode reference card [pdf] on Friday June 16, 2017 @11:29PM (#14574126)
It is not the language per se, but the tools around it that makes it amazing.

After years hearing about org-mode, three months ago I finally decided to try it out. Here is how it went.

I started simple. First I watched a short tutorial which gave me the overall idea [1]. Then, I created a simple todo.org file and started fiddling with it. You add lists with * and nests them with more *

    * Project
    ** Code
    *** TODO Email my co.
    *** TODO Implement foo
    ** DONE Implement bar
As a side note, I think Markdown syntax is much better visually. org-mode has more clutter when formatting block code, inline code, and URLs. The good thing about * is that nesting is easy.

After that, I started trying out the keybindings: <tab>/<S-tab> folds lists; C-c C-t is a function to cycle between task states; C-c C-s schedules a task for a given day; C-c C-d sets a final deadline; C-c C-a shows the agenda (day/week/month); you can refile entire groups of tasks (C-c w), archive (C-c C-x C-a), move tasks around (M-ArrowUp/ArrowDown), increase depth (M-ArrowRight/Left). These are the main shortcuts I use. You don't need to memorize all, you can access most through M-x org- and hitting tab to see the functions available.

Another useful function: C-c C-l adds a link, which can be an URL, a file, a folder. Then, you can open that link with C-c C-o. It is great to add context to a task, like

    * TODO read hacker news article [[https://news.ycombinator.com/item?id=14571453][link]].
Seeing how customizable it is, then I searched how other people used org-mode to manage their tasks. I found two tutorials implementing GTD. I followed this guide [2] entirely, specially its workflow. And I incorporated some ideas from [3], like clocking my time in a task (C-c C-x C-i or M-x org-clock-in for clocking in, and C-c C-x C-o or M-x org-clock-out for clocking out) and the list of task states. Guide [2] suggests using remember-mode, but it has been replaced since then by capture-mode. capture-mode is a function that contains custom templates for adding tasks (like adding date+time of creation and filing to a given tree/asterisk) and writing notes, seamlessly without changing context in emacs.

The thing is, you don't need to learn and implement all at once. You will build your org file incrementally along with its tools, according to your demand. And there are tools for so many stuff.

Finally, there is Orgzly, which is an open source Android app to sync your org files using Dropbox. This was the best combo for me, as I have all tasks synced with me while it keeps all org-mode functionalities, as they are just text files.

A fair warning is that it might have been somewhat easier for me because I was an Emacs user prior to that, so I already knew the shortcuts to move around text.

[1]: https://www.youtube.com/watch?v=bzZ09dAbLEE

[2]: http://newartisans.com/2007/08/using-org-mode-as-a-day-plann...

[3]: http://members.optusnet.com.au/~charles57/GTD/gtd_workflow.h...

Older »