skysight-inc/HackerNews huggingface dataset:
I've tried out a few different GIT GUIs, and never really took to any of them. Settled for using the CLI + many BASH aliases. Anything I do frequently gets a concise alias to minimize typing. I have relatively short fingers, and I'm admittedly a pretty poor typist, so I really emphasize the concise part. Pretty much all the aliases are write only code. I do this for pretty much every other complex CLI application too, e.g., Docker, Heroku, AWS. A little abstraction really speeds up using the CLI. Aliases are my favorite feature of BASH, I think they've saved me literally months of typing at this point in my life.

Here's a few handy ones:

alias currentbranch='git rev-parse --abbrev-ref HEAD'
alias gpush='git push origin $(currentbranch)'
alias gsync='git pull origin $(currentbranch)'

alias ga='git add -A'
alias gc='git checkout'
alias gcm='git commit -m'
alias gca='git commit --amend'

# and my personal favorite (list recent branches)
alias gb='git for-each-ref --sort=-committerdate refs/heads/ --format="%(HEAD) %(color:yellow)%(refname:short)%(color:reset)" | head -n 20'
If you're serious about blogging, using Medium is a mistake, especially for programming blogs. Using a static site generator on Netlify is also free, and you maintain full control.

I would not have been able to sell one of my blogs if I had used a platform like Medium or Tumblr.

I've also seen someone's blog get deleted on a different hosted platform without warning and no way to recover the deleted content. If you don't control your application, you are at the mercy of another, unknown person's decisions.
The whole sleep rhythm thing; sorry, I've just read a handful of articles in the past few weeks talking about how alcohol disrupts our normal sleep cycles which prevents a lot of the brain's...I dunno, whatever hygiene it has to do when we sleep. And that is what the article is about.
Take these numbers with a grain of salt. That a rape kit was performed doesn't mean that a rape actually occurred. Some subset of these would have been from cases where prosecutors/cops determined that whatever happened didn't amount to rape. Evidence is collected before such decisions are made. Then there is another subset of cases where everyone agrees that a rape did occur, but prosecutors nevertheless decide not to prosecute. Sometimes that occurs because the likely perpetrator is already facing other charges. Or sometimes the victim decides not to participate. It is not uncommon for a victim to withdraw, to not want to testify. It's a horrible state of affairs but happens and alters the numbers.
It's your side project, do whatever you want!
You said ruby is fun for you then go with it.
Edit: One of the largest by population — 4th largest from the 1920s-40s.

I believe it also held claim to the largest city by land area. (Not counting metro area — just city limits.)
Thanks, we've removed that from the link.
Please post your results,

I'd love to hear them. Would probably make a great blog post in itself
Trying is easy.. Sticking to something new is what's really hard.
Awesome! You should add that, along with what looks like cleaner yarn.lock support than greenkeeper has, to your landing page under some sort of features section since this isn't the first product in this space and people will be looking for differentiating features :)
That has not been my general experience. It has however been my experience that the forum expects a degree of civility from its participants. This remark is, in addition to being generally false, also condescending and fails to advance the discussion. Facts are welcome, insults are not.
Alcohol consumption ruins your chance at good sleep.

https://pubs.niaaa.nih.gov/publications/arh25-2/101-109.htm

https://www.ncbi.nlm.nih.gov/pubmed/23347102

https://www.ncbi.nlm.nih.gov/pubmed/21323679
Couldn't your theory be validated by seeing large sums repeatedly moving to or from the same wallet IDs?
For me the big thing was learning to 1/ not work on master unless I’m alone and 2/ commit all my work incrementally

git pull —-rebase

&

git log
git rebase -i HEAD~n

So basically I want to make sure my work is pushed to remote as a separate commit before attempting to run any commands except the ones above. But you can do pretty much anything with the set above.
Make is only a fundamental tool if that's what your library/binary uses. You may have a mix of CMake, MSVC and language specific build tools like Cargo and others. By your logic I should be an expert in all of them.

Make's support outside of the posix world isn't that great(as opposed to CMake) so calling it fundamental seems that you are making assumptions about the environments that development happens in.
> It is absolutely way too much free market.

Not with the correct definition of that term. You can't have a free market if the customers don't know the cost of what they're getting.

> Every healthcare system that is better than ours has way less free market and way more government control.

Which systems are these that are "better"? Many have lower costs, but that's not the same as "better" since many outcomes and metrics (such as wait times for services) are also worse.
>The article is talking about minutes after all so there's likely no outside buyers fast enough to react.

The article doesn't talk about it, but there are campaigns organized over days and weeks to talk up a coin. It's not all about minute timescales.
You can't get downvoted by drivers for refusing to tip. They don't find out if you tipped until after they've rated you, unless you actually tell them, "I'm not tipping you."
yeah, I'd agree with that. But unfortunately in many situations you have to get it right the first time.
It is of course possible to come up with situations that are somewhat similar to what you'll have to face. However, I find it's often hard to approach these situations with the correct mindset.

For instance, if you want to train job interviews you could apply for a lot of jobs that don't really interest you. But there is no real motivation for writing compelling cover letters or making every effort in the interview.
The library should be in a library package manager, and the CLI tool should be installed separately with a dependency on the library. There’s no benefit to mixing these together.

If you hand me a .framework and a .app for macOS, it’s immediately clear which is which. This isn’t an unreasonable standard for distributing programs.
Exactly.

It's essentially an example of a benevolent dictator model.

Right now the people moderating are doing a great and largely unbiased job, but if you try to scale, you'll bring in new people, and gradually the quality of those moderators will vary with the larger group.
It would be one thing if he just wanted a single go file for one reason, but the repo already contains multiple files. I'm recommending he break up the main file according to concerns. (common in go)
Thanks for the info, I'll look into the project. I really believe EMRs need to work better for docs and be more open. I know a few physician-programmers who've built their own web apps but EMR integration obviously sucks. If they can build on top of something open source and a small medical group can save money without losing functionality with an open source solution, that could garner enough donations / financial support to for ex hire an engineer

I am only a hobbyist programmer and am investing most of my spare time into learning new things, but if I ever get to the point where I felt I could add something to the open source community I'd definitely start with a project like this
Sure, if that's what it did, but that's not what it looks like it does. (no auth flow and they're on totally different domains)
Google testing Titan security in a USB key
Do you use it? I have it enabled, but when I tried to revert a few lines (which should be the simplest operation ever - NetBeans did it perfectly; may it rest in peace...) I got some horrific message that made me doubt what the operation will do. So I haven't gathered enough courage to try committing anything... With CLI at least I know what I did wrong.
You seem overly concerned with Hype Driven Development.

There's not a lot of new stuff coming out of these frameworks because of how mature they are.

Both languages/frameworks are comparable. Your end product will not be very different regardless which route you take. Both languages and frameworks will be maintained 10 years from now. The job market for both will exist 5+ years from now.

Pick one you like and get to work!
Uhhhhh I guess hacknernews doesn't let you delete comments or even edit them (wtf??) But it looks like I read the previous comment wrong and responded to something that wasn't actually said.
I’m bothered by the need to carry cash just for tips, kind of like how quarters function solely as special magic tokens for parking meters. Starbucks, for instance, does not have tipping activated on their electronic check out… Who knows why? I tip with every coffee I get, except when I’m unable to because of payment technology.
Not sure if I am misunderstanding the problem, but are you aware you can exclude terms from the search results? For example with google "baseball cards -ebay" will omit pages where ebay is mentioned.
The bans don't appear to be copied from one instance to another by the software, if that's what you're asking.

What the previous poster was likely referring to is the 5-10¹ instances that are banned by most other instances with the reason "allows controversial content" or "Free speech zone"².

¹: the number banned varies from instance to instance, but it tends to be the same ones.

²: this one was used by an "anarchist" instance that appears to have more rules than most other instances.
Do you have evidence of these?

Don't get me wrong, I believe you, but convincing evidence, even anecdotal, would be useful.

Of the big coins, not the hundreds of random ones with "To The Moon" Reddit comments.
Thanks! This looks interesting, especially since I can host it locally, and the fan out/fan in stuff looks just like what I want for testing across multiple configurations.
No worries, we understand the pain, we've all been there.

The abstracted network is a constant source of headache when dealing with kubernetes and containers.
The queen has armed active (not ceremonial) soldiers inside her home.

https://en.wikipedia.org/wiki/Queen%27s_Guard
All we would need is to send a bunch of fuel in parts, dock all of them and fire the strongest engine we have. It _is_ rocket science, but I don't think it's far out of reach if we have the money to spend on resources.
“Git gets easier once you get the basic idea that branches are homeomorphic endofunctors mapping submanifolds of a Hilbert space.”

— Isaac Wolkerstorfer (@agnoster)
Ep 23: Test Pilot to Astronaut – NASA
My version of gsync is `git pull --rebase origin ${currentbranch}`, since I hate having random merge commits.
Undoubtably the accumulated corpses of explorers from the sundry solar systems it has passed through during the past several billion years.
I don't get this habit of always blaming every problem in the world on NAT.

NAT has (almost) nothing to do with that.

The real reasons are twofold.

1. As others mentioned, the work of maintaining a self-hosted service. Nowadays you can add two extra related problems: people expect reliability (which is difficult and costly to provide, for a hobbyist or a lambda), and Internet has become an hostile territory you must defend against all time (it's "cavemen meet Wild West" level of civility, all day long, no rest).

2. The main problem with self-hosting, is that the throughput is often asymmetric, and rightfully so. From 75/1200 bps modems to ADSL, we have always needed more download than upload so systems were designed that way. When we write one message, we read hundreds of messages from hundreds of people, when we upload one picture, we watch a thousand of them, and so on. When you self-host, you reverse the roles, and your access is very quickly saturated, it gets unsuitable as soon as you have a few connexions.

Just enable the port-forwarding feature of your Internet Box, and you can host what you wish on your server(s); it takes 2 minutes in its web interface and NAT 'problem' is solved. But the other two remain.
You're always one git reflog away of undoing the brainfart. Once you know the CLI well enough, you manipulate the git data model easily. When you're using a code review tool like gerrit, it's impossible to do something you can't undo.
Certainly. I might have written, "A good title is necessary, but not sufficient. But still necessary! So don't neglect it."

But then again, that might not get as many retweets as, "Titles are 80% of the work." Popularity is merciless and entirely orthogonal to quality.
Since 1700, Wine Glasses Have Gotten 7 Times Bigger
This is nitpicking. The point is, Wayne county has a really really large population — this isn't some random rural county.
> […] It's very helpful and healthy to have everything in a single file if you consider that manageable.

SQLite has a different opinion — https://www.sqlite.org/amalgamation.html
Me too! I remember being able to predict that we were going to watch a movie in class because I could hear the CRT whine from the hallways before I even walked into the room.
There's a phenomenon where I think you can sense the physical reality of complex numbers. When to propagating waves meet, and they are of opposite phase, they cancel out. At the meeting point the combined amplitude becomes zero. Despite of apparently total cancelation the two waves emerge undisturbed on the other side of the "silent" point.
A wave can be described with rotating complex numbers of constant modulus. The two waves will each have its own modulus intact even at the point of cancelation. So the sum-to-zero real value is not really real.
I can understand the way people feel about blockchain but a backlash against what boils down to mathematics is a futile exercise.
One of the more fascinating parts to me was how little it took:

"If you're like 50 milliseconds too early, 50 milliseconds too late, then the storing mechanism actually doesn't work."
How traders pump and dump sub 50 btc volume coins is a more accurate title.

Manipulating a coin with 1k+ volume is significantly harder.
Since the start of the web, arguably. Usenet used to be really pleasant to use apart from the first few weeks in September when a new bunch of college students had to be integrated into the system. Spammers blew up something wonderful for a quick buck.
Their screenshots scared me away initially — it looked too similar to Jenkins.
>There is no actual need or advantage to giving people tips.

Sure there is. In tipped professions, tips go directly to the waitstaff the day they are earned. It's what makes being a waiter a fantastic starter job when you move to a new city, say, or get kicked out of your home by an abusive spouse, or just need to make money without waiting 2-3 weeks for your first paycheck. It also reduces the opportunity for your employer to cheat you out of wages earned: you settle your tips at the end of the night, in full view of everyone, instead of receiving a deposit or paycheck that may take weeks to "correct."
It would be way more effective to work a minimum wage job and buy some Bitcoin with that money.
I actually try to blog once a month, but this Dec I challenged myself to blog every week day: http://www.mooreds.com/wordpress/archives/2495 (and have been actually finding the time to do it on the weekends).

Love the idea of "long form storage of opinions". I actually think everyone should blog. If you can write a email, you can blog. Writing clarifies the thoughts, IMHO.
Not really an issue with git, but with OSX. In doing some research of git, I wanted to look at the first git repos. Those are torvalds/git.git and torvalds/linux.git. If you clone linux.git on OSX and run `git status`, you'll see this:

$ git status --short
## master...origin/master
M include/uapi/linux/netfilter/xt_connmark.h
M include/uapi/linux/netfilter/xt_dscp.h
M include/uapi/linux/netfilter/xt_mark.h
M include/uapi/linux/netfilter/xt_rateest.h
M include/uapi/linux/netfilter/xt_tcpmss.h
M include/uapi/linux/netfilter_ipv4/ipt_ecn.h
M include/uapi/linux/netfilter_ipv4/ipt_ttl.h
M include/uapi/linux/netfilter_ipv6/ip6t_hl.h
M net/netfilter/xt_dscp.c
M net/netfilter/xt_hl.c
M net/netfilter/xt_rateest.c
M net/netfilter/xt_tcpmss.c
Hmm facts were given you choose to remain ignorant of them. Which part is false? If you're going to call someone a liar back your * up.

I do love the rapid down votes on a thread that's dead. Cute that the rebuttals never contain facts :)
You should keep voting, so you keep the hope for a good candidate to come along, so you don't get out of the habit of keeping up with politics, and so you send a clear signal that you still believe in the democratic process for whenever it becomes relevant again.
Off the top of my head I can think of: JG Melon (1 Michelin Star), Grimaldis, Tile Bar, McSorleys, Alta, Lil Frankies, Peter Luger (1 Michelin Star), Artichoke Basilles.

Plus at least 2 more restaurants in my neighborhood that I like and are somewhat popular with tourists. And my barber. Really, it just comes down to the fact that I never know if I'll end up somewhere that doesn't take cards, so I prefer to have it. The bodegas where I work are also serious sticklers for the $10 credit card minimums.
> I heard so many times that JVM is much better than CLR, especially in the JIT area (Hotspot?).

I wouldn't disagree with this (I work at Oracle on VM research), but I've been told by other people that Microsoft or at least the .NET just generally prefer a simpler approach, without profiling, dynamic compilation, deoptimisation, and other complexity the approach used by the JVM brings. It's much more what-you-see-is-what-you-get from their JIT, rather than the mind-binding things the JVM manages to do with some code, and maybe that makes life easier for their use cases.

I'm not sure they want to add the same kind of complexity that the JVM has, even if it did bring them some better performance. But as I say that's second hand conversations.
You can edit a comment within during a certain period after initial creation (20 minutes, I believe). You can delete a comment during that time as well as long as no one has responded. You may have missed the edit window here, but you did the next best thing, make a comment with a correction or addendum.
Maybe we should have an app that allows us to give tips easily? I am still dreaming of a true mobile wallet, maybe Apple Pay
Hell, even if you want to stage every change, what you really want is `git add -A`, which stages deletes too (`git add .` ignores any files you've deleted or renamed, it only stages new files and changes to existing files.)
Generalization performance is typically defined in roughly this manner.

Assume your training data consists of a sample S of m elements from your full distribution D. Let L(S) be the average loss for your model (hypothesis is also a common term) on S, and L(D) be the average loss for your model on D.

Now, we say that training generalizes if your model that minimizes L(S) also achieves similarly low L(D).

In practice, we detect generalization by taking a separate sample (validation set) S_2 from D and using L(S_2) to approximate L(D).

I'm not familiar with any literature of generalization to arbitrary distributional shift between training and test. If you allow arbitrary distributional shift (say we decide that all dogs are now called cats and all cats are now called dogs), it's pretty clear that you can get arbitrarily poor "generalization".
The income tax rate in TX is 0%, which is very low indeed.
> there needs to be a force that checks these organizations when they step over the line.

Why? Consumers are not paying twitter for a product or service and use of twitter is not a necessity.
The first thing I did when I bought my house out in the country was to have the power company remove the security lights. Now it feels quiet and dark at night instead of feeling like a parking lot.
Here's a tunnel that's being used. It is an underground farm in an old air raid shelter 100 feet under Clapham High St. They have been running two or three years and are steadily expanding their fresh salad distribution through premium supermarkets and food shops:

http://growing-underground.com/world-1st-subterranean-farm/
Ha! That explains it.
Millennium prize problems
until we get self driving elevators... :)
Here is some research: https://www.fakespot.com/product/sony-sbh54-black-stereo-blu...
I'd say it changes your code to match that of a branch in your local copy of the repo.
> I'm fairly certain that blogs (and newsletters) are way more effective commercially when they dive deep on a topic.

Totally agree! It's the same as nicheing as a contractor/consultant. People don't want generic stuff, they want focused expertise.

That said, my career has been the main source of fodder for my blog and that career has been a general technologist (with a web/unix focus), so that's why my blog meanders.

If I consulted again, I'd probably try to narrow the focus to what I wanted to work on, because, as you say, focus == commercial success.
I don't think that's a good comparison to justify large code files:

a) it's automatically generated, so you can do dev work on the "easier" split version

b) Go comes with package management that helps solve the deployment issue

c) Question: Does the concept of a "compilation unit" affect the Go compiler the same way?
Whichever party won the election would be the one bought by corporations and championing repeal of net neutrality, while their opposition would be for net neutrality.
The example is too trivial, which is why it looks like it might be better. Here's a real world example, not even complete. A restaurant booking might have:

- A venue associated with it
- A user who booked it
- A menu
-- With courses (starter, main, dessert)
--- of Menu items (steak)
---- with Menu item option groups (think, 'pick one of', 'choose at most 3', etc.)
----- of Menu item options ('rare', 'medium', or 'extra chips', 'onion rings')
- Guests
-- Guest.User
-- Guest selections of menu items
--- Guest selection options
- And Many more! (payments, events, offers, postal addresses, etc.)

There are loads of things that are optional, or even extremely rarely filled in (say, an associated special area of the restaurant, or perhaps an assigned waiter, or a third-party partner who placed the booking). And we can just let the EF load that in lazily. It knows a nullable int means nothing to load, but if there is a third party supplier, it can go off and load that lazily (and extremely cheaply).

As for the query, you can load them in chunks (which we do), but the way the EF works you're limited on how you can do that.

If you try loading that all in one go, you get a very, very slow query. It's beyond the limits of the execution planner to do it well.

Because of the nature of ORMs, the EF can also make decisions which result in horrible sub-selects, or terrible joins of sub-tables where the execution planner can't use the right indexes, especially when you're trying to do groups, counts, sums, etc.

This makes it often better to load things separately and to selectively use the lazy loader to do certain things.

Other scenarios include where say you have a complex object that you've only partially filled in, but in 1 in 5 cases you want to send an email using that object.

Now you could write your email function to load all the data again, or you could let lazy loading do its thing and, overall, save time and decrease db load, because you've already got 80% of the data, it just needs to fill in the missing 20% with some simple queries.

Answer to earlier question: I use to hand-code my db upgrades as my opinion is that having correctly structured data is king and I understood relational db design. But it turns out EF Migrations are wonderful when you know how to use them. I still check every single one to make sure they're doing exactly what I wanted and expected though, and take them up and down manually. Good way of catching mistakes.