Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
javcasas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
151.
▲
by
javcasas
1y ago
Were you using the ocamlopt compiler? By default, ocaml runs in a VM, but few people figure that out because it is not screaming its name all the time like a pokemon (looking at you JVM/CLR). But ocaml can be compiled to machine code w
152.
▲
by
javcasas
1y ago
It also uses double semicolon because single semicolon is already used as statement separator kinda like C. So double semicolon is top-level statement terminator.
153.
▲
by
javcasas
1y ago
`let` defines a value. Some values are "plain old values", some are functions. The syntax is `let <constantname> <parameters> = <value> in <expression>;;` where `expression` can also have `let` bindings. So
154.
▲
by
javcasas
1y ago
I have seen this quite often. I blame it on the obsession with UML along with the limitations of UML. I/E in UML every one draws boxes that have arrows to other boxes, but no one draws boxes that have boxes inside them. Instead, you dr
155.
▲
by
javcasas
1y ago
TCO stands for "TAIL call optimization". It will obviously not save your arse if the call is not in the tail of the function, exactly the same as "python generators will not help you if you are doing C++".
156.
▲
by
javcasas
1y ago
So a tree is easier to do recursing vs iterating in some cases, whereas in other cases recursion and iteration have roughly the same level of complexity. Kinda shows that recursive data structures are usually better dealt with recursion. Wo
157.
▲
by
javcasas
1y ago
Recursion deals with recursive data structures, and iteration deals with "plain old" data structures. When you use one to process the other, you get into trouble. For example, you need to manage a stack to do iteration on your bin
158.
▲
by
javcasas
1y ago
mm/dd/yyyy is cursed. You parse it naively with momentjs, and some times it parses (wrong), other times it doesn't parse. It's the reason our codebase is filled with momentAmerican, parseDateAmerican and parseDatetimeAme
159.
▲
by
javcasas
1y ago
> ho, he, yo, yo_, yo__, yo___, ... yo__________, ha Is that some kind of meme I don't understand? I mean, it kinda looks like all the combinations of a bunch of operators that can be combined.
160.
▲
by
javcasas
1y ago
https://jsonforms.io/ https://rjsf-team.github.io/react-jsonschema-form/docs/
161.
▲
by
javcasas
1y ago
18 quintillion grains of rice? That is not going to happen. Just for reference, 18 quintillion grains of rice is roughly 500 times the global production of rice in 2022.
162.
▲
by
javcasas
1y ago
> Then we can both get to talking human-to-human. No. That's when you get to talk to my second AI.
163.
▲
by
javcasas
1y ago
Scroll positions of lists, toggleable widget status, partial form fills. You say all of that needs to be stored in the server? That is how you make a big server crawl with just 100 users, regardless of the programming language of the backen
164.
▲
by
javcasas
1y ago
> Some have even suggested the young are unhappy having BS jobs. That is such crazy level of spin it would make electrons orbiting atoms ashamed. So the young are expected to be happy to waste their life doing something they know is even
165.
▲
by
javcasas
1y ago
A tsunami is not a "bigger" wave like the ones that crash on the beach every minute. A tsunami is a single wave that crashes and crashes and adds more and more and more water for several minutes non stop, not pausing or pulling ba
166.
▲
by
javcasas
1y ago
> "the user can enter their email address” That only defines one of the things the user can enter. Should they be allowed to enter their postal address? Maybe. Should they be allowed to enter their friend's email address? Maybe
167.
▲
by
javcasas
1y ago
You are obviously affected by this ailment called "science-based critical thinking". It is bad (for business) so you should consult an astrologist or a zen furniture arranger to seek remediation.
168.
▲
by
javcasas
1y ago
> it was a mission and purpose Is this "we are a family here" for the people that don't fall anymore for the "family" con?
169.
▲
by
javcasas
1y ago
You mean this? https://adamconn.com/product/8w8-connector It's 8 pins, so, sorry, I'm not accepting it as DB9-of-doom. Maybe DB-8-of-doom.
170.
▲
by
javcasas
1y ago
"DB" already means 25 pins, so well, it's quite hard to both have 25 and 9 pins at the same time. That is still pedantically different from a DB-25 of which we ripped out pins until it had only nine. The result would be "
171.
▲
by
javcasas
1y ago
Maybe, or maybe not. All we know is what happened after the CIA did its thing. We cannot know what could have happened if they didn't.
172.
▲
by
javcasas
1y ago
> Pianists don't press the white keys all the way at the back, do they? I do, and I'm not even a good pianist. Many chords will need it, just pick any chord that required the thumb or the pinky (or both) in black keys.
173.
▲
by
javcasas
1y ago
So the XOR initial trick is: use a hash to partition the data into batches so that each batch has up to 1 missing element. Can't we use this again? I mean: 1. Partition the data so that some batches have up to 1 missing element. 2. Rec
174.
▲
by
javcasas
1y ago
I always despised how much MS tries to lock you into their toolset. > so everybody uses copilot ... the only way to make sense of them… is by using copilot I see nothing has changed in the age of AI.
175.
▲
by
javcasas
1y ago
It can be better. On slop detection, shadowban the offender and have it discuss with two AI "maintainers", and after 30 messages go and reveal the ruse. Then ban.
176.
▲
by
javcasas
1y ago
I'm sure it does. But would you like one every other week like the llm slop?
177.
▲
by
javcasas
1y ago
Plus moving stuff into the VM, opening a vnc connection, testing that it doesn't show properly, uploading a tweak to see if it improves, testing again, and so on. 10 cents is the smallest of the associated expenses. You are ignoring al
178.
▲
by
javcasas
1y ago
So the difference between the two is just luck? I apply to a thousand job offers, get rejected every time => I'm stubborn. I apply for job #1001, I get the job => I'm persistent.
179.
▲
by
javcasas
1y ago
Are we going to blame the next RCE we find in some application on XML just because that application uses XML somewhere? If so, then I agree on blaming this on YAML.
180.
▲
by
javcasas
1y ago
I'm trying to use local models for privacy reasons. Also, at some point, one of the employers out there will start suing people because those people shared code with a commercial model, and the commercial model decided to train on that
More ›