Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brasic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
brasic
4y ago
This was written by matz some time between 1993 and 1994. It appeared in the very first preview release of ruby, version 0.49. The original tarball has the file modification timestamps: $ curl -s https://cache.ruby-lang.org&
62.
▲
by
brasic
4y ago
You're quite right -- the author of that code *was* very new to the language when he wrote this, but then again, so were we all. [0] [0] https://github.com/ruby/ruby/commit/3db12e8b236ac8f88db8eb46...
63.
▲
by
brasic
4y ago
I work at GitHub. This is not new, and I promise it’s not a dark pattern. As a sibling comment noted, someone with sufficient permissions in this repo used the “minimize” function on these comments. This is normally intended for disruptive
64.
▲
Sign your Git commits with 1Password
(blog.1password.com)
16 points
by
brasic
4y ago
|
0 comments
65.
▲
by
brasic
4y ago
Making a substantive point using humor != trolling. What form of grid/utility energy storage do you expect will dominate in 20 years? I provided a reference to back up my assertion. Do you have any?
66.
▲
by
brasic
4y ago
> Storage cost is falling even faster than generation, Citation please. The high demand for EVs and other battery-hungry devices has led to a situation where grid scale energy storage costs are currently increasing year over year
67.
▲
Better suggested pull request description from commit message
(github.blog)
3 points
by
brasic
4y ago
|
0 comments
68.
▲
by
brasic
4y ago
At the risk of belaboring my point, even if what you say is true this attitude is a root cause of this unfortunate situation. Good journalism isn’t fungible — it costs money to produce. When we actively choose to not pay for media, we have
69.
▲
by
brasic
4y ago
An aside: On https://scotrail.datasette.io/scotrail/random_apology I see heavy use of: order by random() limit 1 I understand that in more or less all databases this is quite inefficient: it runs `random()` fo
70.
▲
by
brasic
4y ago
Why is it ironic? One reason all these services are introducing ads is consumers’ learned unwillingness to bear the full costs of the services they enjoy. I might argue that the true irony is grumbling about a news provider very reasonably
71.
▲
by
brasic
4y ago
Read the primary source: https://www.michaelhorowitz.com/VPNs.on.iOS.are.scam.php This includes WiFi as well.
72.
▲
by
brasic
4y ago
A fun thing is that the full gitrevisions syntax used by `rev-parse` is supported many places on GitHub where you would normally put an object id or ref name. For example, https://github.com/git/git/tree/maste
73.
▲
by
brasic
4y ago
Hi, I work on the PRs team. Happy to answer any questions about this change! This was posted in the changelog section of our blog, where posts aren’t attributed. Our roadmap, including PR improvements and features is here: https:/
74.
▲
by
brasic
4y ago
To add some nuance to the sibling reply, the SEC has extensively laid out its legal argument for why many (not all) of the coins traded on crypto exchanges are securities under US law, including specific examples. See the recent insider tra
75.
▲
by
brasic
4y ago
I thought that AWS availability zones were intentionally not canonically named to prevent everyone from adding stuff to AZ “A”. So my us-east-1 zone “A” might be your “B”. But that system breaks down here when you need to know whether you a
76.
▲
by
brasic
4y ago
This is shipped for github.com! See https://github.com/github/docs/commit/37df8eadb1f3bd0c260653... which is now live on https://docs.github.com/en/search-github/searching-on-github.
77.
▲
by
brasic
4y ago
That’s very interesting! I use a very simple shell script plus git rerere [1] to keep PR stacks up to date with the bottom element’s base branch. [1] https://git-scm.com/docs/git-rerere
78.
▲
by
brasic
4y ago
Chrome has a native reader mode as well, it’s just feature flagged off for some reason: https://knowtechie.com/how-to-enable-google-chrome-reader-mo...
79.
▲
by
brasic
4y ago
For anyone watching this thread, shoot me a DM if you’d like to test this change. It should be enabled in all repos within a week or two.
80.
▲
by
brasic
4y ago
Definitely! In ruby it’s even easier for most gems where source == build
81.
▲
by
brasic
4y ago
Definitely. See Lady Bird Lake or Lake Travis in Austin: basically just parts of the Colorado River.
82.
▲
by
brasic
4y ago
Thanks!
83.
▲
by
brasic
4y ago
This is such great news for ruby. Here’s hoping with these resources rubygems and bundler can add improved support for signature verification. Rubygems supports gem signing but without a good scheme for trust, key rotation, etc it is not pa
84.
▲
by
brasic
4y ago
I checked and you're right: The endpoint that returns the file list has a hardcoded set of excludes and pays no attention to `.gitattributes`. I think it's reasonable to respect the linguist overrides here so I'll open a PR t
85.
▲
by
brasic
4y ago
Yes! Use `<pattern> -linguist-generated` (the minus sets a negative override for any gitattribute). Here's a test demonstrating that this usage works: https://github.com/github/linguist/blob/32ec19
86.
▲
by
brasic
4y ago
> Not applicable to GitHub etc though. GitHub (disclosure: where I work) does respect some directives in a repo’s .gitattributes file. For example, you can use them to override language detection or mark files as generated or vendored t
87.
▲
by
brasic
4y ago
Perhaps you misinterpreted my reply. I didn’t intend to dispute parent’s claim, merely to correct a mechanical detail. Git signatures are more or less only as secure as SHA-1, although the properties it relies on are not yet compromised a
88.
▲
by
brasic
4y ago
> Instead gpg signs the SHA-1 commit digest directly A minor correction: when signing a commit, gpg does not sign the SHA-1 digest of that commit. This is impossible since the signature becomes part of the commit header which is one of t
89.
▲
by
brasic
4y ago
This test seems to be a good example of the vulnerability: https://github.com/rubygems/rubygems.org/commit/58c755a7a62a...
90.
▲
by
brasic
4y ago
That's completely fair. I think the analogy to SQL as an API is very apt. No one would argue that full SQL access isn't a powerful API but it takes some legwork to understand the schema and write queries to get the data you need.
More ›