Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mbell
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mbell
2y ago
> Rails has started to show its age amid with the current wave of AI-powered applications. It struggles with LLM text streaming, parallel processing in Ruby Not at all my experience, actually it was incredibly easy to get this working sm
2.
▲
by
mbell
2y ago
Armchair aerospaceing here, but it feels like he's a whole class of positioning sensors in this analysis. It seems to be you only need GPS and related absolute positioning systems to get you close to the tower. At that point, what you
3.
▲
by
mbell
2y ago
> Sqlalchemy stands out as a library having probably one of the most complete and pragmatic APIs for database access across all languages. I can't disagree more. Identity map based ORMs are _awful_ to use, in almost every way.
4.
▲
by
mbell
2y ago
I'm not sure what the current state of things are since I haven't use MySQL recently but this used to be a perfectly valid thing to do. The issue was that MySQL doesn't use a full int to store enums. If your enum has 8 values
5.
▲
by
mbell
3y ago
"If addition doesn't work, I have no way of reasoning about anything in a program." Hardware addition is filled with edge cases that cause it to not work as expected; I don't see it as that much different from the memory
6.
▲
by
mbell
3y ago
We used InfluxDB back in the 0.8/0.9 days and it worked really well, scaled nicely with the large number of metrics we were storing. The switch to a tag based architecture in 1.0 completely broke the database for our use case, it could
7.
▲
by
mbell
3y ago
I've tried using OpenAPI a few times, it's been...lackluster... I probably won't use it again. Here are my gripes: 1) For me one of the biggest selling points is client code gen ( https://github.com/OpenAPITool
8.
▲
by
mbell
3y ago
The biggest issue with current attempts at typing in Ruby is the choice of a nominal type system. If there ever was a language that called for structural typing, it's Ruby.
9.
▲
by
mbell
4y ago
> Our test harness didn't catch it (weird combination of reasons, too long ago for me to remember the details) & it rolled out. This is why I'm pretty dogmatic about variable comparison in tests. This is dangerous and stuff
10.
▲
by
mbell
4y ago
(500mi / 6.5mpg) * $5.313 = $408.69 6.5mpg - I just Googled average MPG for a fully loaded Semi, could be wrong. $5.313 - Most recent highway diesel price ( https://www.eia.gov/petroleum/gasdiesel/ ). I'd
11.
▲
by
mbell
4y ago
Client side validation, regardless of the technology used, is a performance and UX optimization. The backend must always validate and it's this validation that matters for any sort of 'security' or data integrity issue.
12.
▲
by
mbell
4y ago
> In React 17, React automatically modifies the console methods like console.log() to silence the logs in the second call to lifecycle functions. However, it may cause undesired behavior in certain cases where a workaround can be used. I
13.
▲
by
mbell
5y ago
"Any idiot can build a bridge that stands, but it takes an engineer to build a bridge that barely stands." - Someone
14.
▲
by
mbell
5y ago
Not with PG. A couple weeks ago I was working on a project that used truncation cleaning, the test suite took 3m40s. I switched it to cleaning with transactions and the the test suite ran in 5.8s. Truncation cleaning is extremely slow, not
15.
▲
by
mbell
5y ago
Truncating the DB between every test is indeed horrifically slow. However it's much faster to wrap the test in a transaction and roll it back at the end. Transaction based cleaning also allows parallel testing. That mostly leaves the a
16.
▲
by
mbell
5y ago
I would say that pulse-density modulation is more of an abstract concept and sigma-delta is a particular implementation. Or in other words, sigma-delta is a one technique used to produce a pulse-density modulation.
17.
▲
by
mbell
5y ago
Tablespaces allow you to store tables in defined directories on the file system. What I was talking about is controlling the ordering of the rows within a table on disk. If you are going to be reading some group of rows together often, ide
18.
▲
by
mbell
5y ago
Notion seems like an interesting data storage problem. The vast majority of the data is in the `block` entity, which are organized into a sort of nested set, written/updated individually (user edits one at a time) but read in ranged ch
19.
▲
by
mbell
5y ago
That quote is a bit of a cherry pick resulting a wide interpretation that isn't supported. The actual ruling is something more like "Epic failed to prove that Apple is a monopoly in the market the judge decided is the relevant mar
20.
▲
by
mbell
5y ago
Is there is a solution for using `docker-compose` on mac with podman? I know that podman supports it natively now, and there is `podman-compose`, but I couldn’t find much on getting either working on a mac due to the remote setup.
21.
▲
by
mbell
5y ago
Regarding Devise + Rails cookie session store: 1. Logging out deletes the cookie, you are really logged out. If your session cookie got stolen, you have other issues but I don't think this is really a matter of being 'logged out&#
22.
▲
by
mbell
5y ago
That was true of older systems, most newer adaptive cruise control systems I've used have no issue with stop and go traffic.
23.
▲
by
mbell
5y ago
What I use for https: $ ruby -r webrick/https -e "WEBrick::HTTPServer.new(Port: 9001, DocumentRoot: '.', SSLEnable: true, SSLCertName: [%w[CN localhost]]).start"
24.
▲
by
mbell
6y ago
> I just think that this person just spent hours upon hours of their life working around a quirk in our current society. I think this is a truism. Much human activity could fall under 'working around a quirk in our current society&#
25.
▲
by
mbell
6y ago
You are talking about string _literals_, there is no motion nor interest I'm aware of in making all strings immutable in Ruby, thankfully.
26.
▲
by
mbell
6y ago
Sorta - There is translation layer in software but the reason the M1 is so fast at executing x86 code is that it has hardware support for switching to the x86 memory model. This is something no other ARM processor I'm aware of has.
27.
▲
by
mbell
6y ago
One use case I've used them for is when you have a table that is 'under fire', and you need to add bulk data to it. Doing a large insert into a table like that can cause various issues. Instead I a partitioned table and each
28.
▲
by
mbell
6y ago
I feel like the article misses most of the 'meat' of bulk loading setups. e.g. Using partitioned tables, attaching partitions with little to no locking, indexing after loading, `COPY ... FREEZE`, etc. One other note: > Goto sol
29.
▲
by
mbell
6y ago
> 13" MBP is a 4GHz part running at 1.4GHz. 16" MBP is a 4.8GHz part throttled to 2.3GHz. Apple's thermal solutions could be better, but they are designed within Intel's power envelope specs. e.g. The i9-9880H in the
30.
▲
by
mbell
6y ago
> The information available around Big Navi (The GPUs expected to launch next month) put them at a +50% performance jump from the last generation and likely able to compete with the Nvidia flagship 3080 I guess it depends on what benchma
More ›