Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbb70
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
mbb70
2y ago
How would you randomly sample a table without a full table scan? If each row must be equally likely to be sampled you must touch each row. Unless you know the id range and select N ids ahead of time, then use an index to pull those. But I t
62.
▲
by
mbb70
2y ago
Your script requires over 3x the entire file in memory (text, lines, "\n".join(lines)) whereas the posts rust/python are line by line, so support arbitrarily large files.
63.
▲
by
mbb70
2y ago
Same as every other feature: political (understanding requirements, getting consensus, assigning priority, setting expectations), technical (configuration, connection, authn/z) and operational (monitoring, observability, evolution).
64.
▲
by
mbb70
2y ago
The splash page says it uses... a private blockchain? My understanding was blockchain can achieve distributed consensus among untrusting parties, which is very impressive. But what advantage does it have over any other consensus algorithm i
65.
▲
by
mbb70
2y ago
Hey I got 179, which the site says is 1 away from exactly halfway. Being good at the difference between green and blue is normal to want and possible to achieve!
66.
▲
by
mbb70
2y ago
How do you feel about ${INCOME}, ${SEXUAL_PREFERENCE}, ${RACE}, ${WEIGHT}, ${RELIGION}? Those categories are at least as broad as the ones you mentioned and are absolutely profiled.
67.
▲
by
mbb70
2y ago
I've used Vega as part of a complex dashboard builder (think Looker/Tableau) and it is quite powerful and flexible, but like all of these libraries once you stray from the well worn tracks things get tricky. For example, it was di
68.
▲
by
mbb70
2y ago
Denormalizing data always locks you into certain access patterns, regardless of your ability to evolve schema.
69.
▲
by
mbb70
2y ago
I never thought of this! I have an 'a' in my first name but just checked, 'rest of my first name + last name'.com is already taken. Oh well, I already have 'my initials'.dev, it'll have to do.
70.
▲
by
mbb70
2y ago
oncontextmenu and ondragstart are preventDefault'ed _unless_ you are in a input/textarea e.g. leaving a reply. Truly bizarre and pointless. I've done something similar in a nonsense corporate context to stop people copying ce
71.
▲
by
mbb70
2y ago
What were you checking in? I've worked in monorepos with a lot of generated code (millions of lines) and 10 years of commits and the total repo size never went over a few gb.
72.
▲
by
mbb70
2y ago
There is essentially zero cost for a user to switch airlines. The cost to switch clouds is astronomical for any decent sized org.
73.
▲
by
mbb70
2y ago
This is while pretty much all software that extracts structured data from PDFs throws away the text and just OCRs the page. Too many tricks with layouts and fonts.
74.
▲
by
mbb70
2y ago
Maybe not when I started, but after years of hard lessons working with HDFS, Cassandra and Spark (not to mention S3, Dynamo and SQS) seeing all those hard lessons pinned down like butterflies in a display case made me jealous of anyone who
75.
▲
by
mbb70
2y ago
Designing Data-Intensive Applications by Martin Kleppmann. It's my "this is the book I wish I read when I started programming"
76.
▲
by
mbb70
2y ago
If the customer wants a show, give them a show. Doesn't make it not theater.
77.
▲
by
mbb70
2y ago
Similar to 'If an article title poses a question, the answer is no', if an article promises a significant speedup of a database query, an index was added.
78.
▲
by
mbb70
2y ago
Deno charges for "inbound HTTP requests", so the DDOS can just query uuids till your checks start to bounce
79.
▲
by
mbb70
2y ago
Ruby has a `NilClass` and the best/worst part of it is the to_s is "", to_i is 0, to_f is 0.0, to_a is [], to_h is {} It's incredibly clean and convenient until you wake up one morning and have no idea what is happening
80.
▲
by
mbb70
2y ago
I believe the Arduino project used only a single hidden layer, whereas the authors quantization scheme allowed them to use multiple.
81.
▲
by
mbb70
3y ago
You will experience decline across many axis of your life as you age. An exercise that helps me accept this is to frame my identify in terms of things I will not lose. - I like to hike, but what I really love is to be in nature and surround
82.
▲
by
mbb70
3y ago
Interesting to compare this to https://knock.app/blog/zero-downtime-postgres-upgrades discussed here https://news.ycombinator.com/item?id=38616181 A lot of the discussion boiled down to 'this is a
83.
▲
by
mbb70
3y ago
Seems like the biggest edge they have over aws/gcp/azure is the ability to delay function calls to smooth demand. Not much other providers can do to match that.
84.
▲
by
mbb70
3y ago
Doesn't this list the words in the order that they are grouped? The article states that randomizing the words completely eliminates any successful results
85.
▲
by
mbb70
3y ago
A file cannot be 'Unicode'. Unicode is just a catalog of symbols one might want to express in writing. An encoding (like ASCII or UTF-8) describes how bytes are mapped to such symbols. ASCII only describes 128 characters whereas U
86.
▲
by
mbb70
3y ago
The sudoku logic is very simple: https://github.com/alabhyajindal/sudoku/blob/main/index.html... An empty grid is randomly filled in till it's solved, then a fixed number of cells are randomly clear
87.
▲
by
mbb70
3y ago
I'm as quick to jump on the Medium roastwagon as anyone else, but I will say Towards Data Science has a surprising number of quality tutorials running the full spectrum of data science tasks. That and they have great SEO, you basically
88.
▲
by
mbb70
3y ago
Another classic from jon is the venerable https://www.npmjs.com/package/isobject coming in at 30,000,000 weekly downloads for `function(val) { return val != null && typeof val === 'object' &&
89.
▲
by
mbb70
3y ago
I'm assuming that was the implication of the final sentence: > It has to be local, it has to know you, and it has to be smart enough to navigate the world that’s thrown at it. There’s only one real answer.
90.
▲
by
mbb70
3y ago
The extreme personalization of the internet/modern life can lead to a feeling of isolation. I recently was on a plane with broken inflight entertainment, so all you could watch was a single movie in lock step with everyone else. When t
More ›