HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Rotten194

no profile record

comments

Rotten194
·6 năm trước·discuss
I think they're referring to this?: https://twitter.com/kuschku/status/1156488420413362177

disclaimer: found on Google, unsure of context / if these people are core developers, just sharing for those who like me were also confused
Rotten194
·6 năm trước·discuss
Iirc it’s moving the reference to answer, not the value.
Rotten194
·6 năm trước·discuss
Actually being able to find your photos, especially if you have friends and family who share photos with you and aren't willing to adapt to your organizational scheme. Google Photos really shines when you give up trying to organize your photos and let the AI take over. If I want to find a photo of my wife from 3 months ago -- I just tap on her face and it shows up, whether she took it or I did or her mom did, without needing to get everyone to collaborate on a photo organization scheme.

If I could get that from a self-hosted option, given Google's... track record... I'd definitely be interested, though it doesn't seem this is quite there yet.
Rotten194
·6 năm trước·discuss
The long-arm sewing machines to do the actual quilting (where the top gets sewed to the backing over the whole face of the quilt) are pretty expensive and not really the domain of typical hobbyist, though. You'd have to find someone in your area who's willing to quilt it for you for a fee, which can be hard if you're a newcomer and not in any classes or forums. Or, you could hand quilt it, but that takes forever, especially for a beginner.
Rotten194
·6 năm trước·discuss
rustdoc has the ability to embed usage examples in the doc comments, and automatically test them. also module-level documentation is doable via doc comments in the module main file. rust doesn't force you to write good documentation, but the tools are all there and I often see great documentation for rust crates that was generated with cargo doc. For example the Rocket docs are full of code examples on both the module and function level: https://api.rocket.rs

I think there's something to be said for javadoc, cargo doc, etc encouraging documentation to hew closely to the structure of the code as opposed to a free-form documentation system that can include multiple pages about tasks, getting started, etc. But the vast majority of projects don't bother to set that up, and the javadoc approach makes it very low friction to add docs to existing code that probably already has comments explaining how to use it.
Rotten194
·6 năm trước·discuss
Is it possible to use on a private repository? It says "Free for public repositories" but I can't find any information about a non-free option, the github page seems to only list the free tier. Is it not available yet?
Rotten194
·6 năm trước·discuss
Is this signed? Is it possible the website got hacked and someone is trying to phish? Seems strange that this person would have all their coins in one wallet, or that the wallet would only be on a laptop and not backed up with a paper key... not saying it's impossible, but just seems like there's potential for something else here.

Edit: also no mention of this on the PF reddit account: https://www.reddit.com/user/PineappleFund
Rotten194
·6 năm trước·discuss
What is "it"? Things that are controversial? Where do we draw the line on that?

Most people would agree that talking about your flight "around" the world is OK, even if it takes a side in the somehow-controversial debate on the shape of the earth.

What about talking to your coworkers idly and you mention "Oh yeah I've been keeping my kids at home cause I'm worried about coronavirus". Controversial, some people think that's fake.

Talking about how you got married last month? If you're gay, that's suddenly controversial.

Talking to your manager about how you need to take time off because a family member died, they ask what happened, turns out they were shot by the police? Suddenly very controversial...

Politics isn't some weird abstract thing, it's life and the events that are happening around us every day. If we live in a world where literally the shape of the earth is a marker of political identity -- how do you expect people to avoid mentioning topics that people might find controversial? Or do you think it's possible to draw a stark dividing line somewhere between "shape of earth" and "police reform" that can be justified in an objective way?
Rotten194
·6 năm trước·discuss
I wrote a more detailed answer to GP: https://news.ycombinator.com/item?id=24576616, but basically: yes that's totally natural, but in edited writing / speech sometimes should be avoided for clarity reasons. But I didn't blink twice at the comment myself.
Rotten194
·6 năm trước·discuss
I read it as "it" being the situation. e.g., "was it a child who painted this?"

it isn't bad grammar, though you could argue it's poor writing because it's confusing. it's using a feature of english called it-extraposition. some examples here: https://www1.icsi.berkeley.edu/~kay/bcg/extrap.html

basically, it-xp lets you delay a constituent in certain circumstances using "it". sometimes this is required to make a sentence grammatical.

    "(What to do next) is not clear"
    "It is not clear (what to do next)"

    *"Was (who painted this) a child?"
    "Was it a child (who painted this)?"
We can combine this feature with clefting the end of the sentence to make something that seems to refer to a person by "it", but actually refers to an elided constituent:

    Discourse: "I don't know the gender of the writer"

    R1: *"Was (who wrote this) a man?" (can't have wh-phrase here, needs it-xp)

    R2: "Was it a man (who wrote this)?" (OK, but the last part is redundant. Discourse already includes we are talking about a writer. Grice's maxims suggest we will usually drop it.)

    R3: "Was it a man?" (looks weird, but sounds perfectly normal in context)
I'm a linguist / syntactician by training, but also nonbinary and use they/them, so I have some skin in this game. I think the GP was being obtuse, maybe purposely, but not malicious.
Rotten194
·6 năm trước·discuss
If you're interested, I wrote a blog post a few years ago about how to implement a syscall (getcwd) on Xv6: https://vgel.me/posts/pwd_command_xv6/
Rotten194
·6 năm trước·discuss
Nitpick^2: You are probably saving a few cycles due to loop overhead around pointer offsets and bounds checking, + not having to load the items into cache twice, if the sequence is too long to fit into cache.
Rotten194
·6 năm trước·discuss
Yeah I tried to use Emacs, but the LSP had way worse performance than in VSCode and was very glitchy. I was disappointed because I really enjoyed Emacs in other ways, but I couldn't get that to work reliably. Maybe I was doing something weird.
Rotten194
·6 năm trước·discuss
Tax dollars go vastly more to dropping bombs on civilians in the middle east and ICE and the NSA than they do to any positive social program (ignoring things like social security that are funded by a separate tax that billionaires wouldn't pay much into under most schemes). I don't love the outsized influence on society that billionaires have, I certainly don't love the Koch brothers -- but I think looking at the $X pool of money spent on philanthropy by billionaires per year, it is probably much better distributed than that same pool of money would be if it was paid as income taxes.
Rotten194
·6 năm trước·discuss
The problem to me with that approach seems two-fold:

1, companies all expect you to work in the traditional way with local repos etc. All their tooling is geared towards that. If experienced users who set the standards aren't being migrated over, then they'll reinforce that status quo, and so will people who learned on repl but were forced to migrate off (monkey ladder experiment style).

2., using older tools is a point of pride. There's definitely a strain of "if you use repl.it / etc. and not emacs / vim / vscode you're a noob." This obviously is toxic and not great, but it does exist, and acts as another obstacle to online IDE adoption I think.
Rotten194
·6 năm trước·discuss
from the end of the article:

Take small checks. People writing small checks is something that's very common in Silicon Valley. I love having a bunch of founder/operator investors to tap in to when we need help. You can see from the image above, we raised over $700k from intros that originated with a small $5k check. If we hadn't taken that small check, we likely would not have connected with many of those other investors.
Rotten194
·6 năm trước·discuss
You should look into the English Resource Grammar:

http://moin.delph-in.net/ErgTop

Online demo:

http://erg.delph-in.net/logon

It has all that information in the generated feature structure -- even more than you can view in the web interface. There's a development environment you can download, as well as a headless linux tool called ACE you can use on a server. The ERG is complex, but far and away the most sophisticated tool in this space.