Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cle
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
cle
2y ago
Sure! A really simple (and common) example would be a setup w/ treatment A and treatment B, your code does "if session_assignment == A .... else .... B" . In the else branch you do something that for whatever reason causes m
92.
▲
by
cle
2y ago
It still misses the biggest challenge though--defining "best", and ensuring you're actually measuring it and not something else. It's useful as long as your definition is good enough and your measurements and randomizati
93.
▲
by
cle
2y ago
This is a double-edged sword. There are often cases in real-world systems where the "reward" the MAB maximizes is biased by eligibility issues, system caching, bugs, etc. If this happens, your MAB has the potential to converge on
94.
▲
by
cle
2y ago
I can't help but wonder if this is intentionally ironic. (From TFA: "There's a certain kind of person who's attracted to a shallow, exacting kind of moral purity, and who demonstrates his purity by attacking anyone who b
95.
▲
by
cle
2y ago
Use whatever's lying around. Some more ideas: - A shoebox - An old binder - A food container - Some coasters - Egg carton - Jenga blocks - Cereal box - Legos - Picture frame - Tennis ball (cut it in half) - Door
96.
▲
by
cle
2y ago
Stick a book under your laptop.
97.
▲
by
cle
2y ago
I do know how to profile my code, and I'll also continue to bias towards not doing it now . Even if it could mean more pain later. I think part of the problem is that the pain it causes is quite visceral, but the opportunity cost is p
98.
▲
by
cle
2y ago
I think framing people "staying put" in a solely negative light paints an incomplete picture. I'd bet that the biggest reason people stay put is not anti-social but pro-social--tight community, cultural, and family bonds.
99.
▲
by
cle
2y ago
The answer is that it's not binary, despite everyone's insistence on framing it as such. We are a part of nature, but we do have some degree of power and responsibility over it that other species don't. It's not absolute
100.
▲
by
cle
2y ago
For me, there are many cases where I copy-paste stuff I've written in the past b/c some tool is a pain-in-the-ass and I can't afford the mental context switch. I usually do understand what's happening under the hood, b
101.
▲
by
cle
2y ago
We are agreeing, I'm arguing against that dichotomy from the other direction—you don’t always need to know everything under-the-hood. You also can’t always ignore everything under-the-hood. Sometimes you can get the job done by using a
102.
▲
by
cle
2y ago
We're just arguing about abstractions. Do people need to always understand "under the hood" of abstractions? Obviously not, most of us don't know how ADC works or how CPU instructions are pipelined or how light pulses en
103.
▲
by
cle
2y ago
The main disagreement is who the "owner" is in the first place.
104.
▲
by
cle
2y ago
I think you have to distinguish between a model, its implementation, and its weights/parameters. AFAIU: - Models are processes/concepts, thus not copyrightable, but are subject to trade secret law, contract and license restricti
105.
▲
by
cle
2y ago
I'm in a similar boat but it's more like "I have nothing I can hide". These days I just tell friends & family to assume that nothing they do is private.
106.
▲
by
cle
2y ago
Yep totally agree these are problems. I don't have a good alternative proposal either, I'm just disappointed with what we're converging on.
107.
▲
by
cle
2y ago
The same author also makes a Python binding of this which exposes a requests-like API in Python, very helpful for making HTTP reqs without the overhead of running an entire browser stack: https://github.com/lexiforest/c
108.
▲
by
cle
2y ago
> Automatic Reconnection I wouldn't characterize this as "automatic", you have to do a lot of manual work to support reconnection in most cases. You need to have a meaningful "event id" that can be resumed on a n
109.
▲
by
cle
2y ago
> I find types helps massively with this. A function with well-constrained inputs and outputs is easy to reason about. One does not have to look at other code to do it. However, programs that leverage types effectively are sometimes cons
110.
▲
by
cle
2y ago
Efficiency has always been the key. Fundamentally it's a search through some enormous state space. Advancements are "tricks" that let us find useful subsets more efficiently. Zooming way out, we have a bunch of social tricks,
111.
▲
by
cle
2y ago
New is an immediate "nope" to a whole lot of people when it comes to legal risk.
112.
▲
by
cle
2y ago
This back and forth is so tiring. I have built web services used by many Fortune 100 companies, built and maintained and operated them for many years. But I'm not doing that anymore. Now I'm working on my own, building lots of pro
113.
▲
by
cle
2y ago
Getting people to respect that is even harder. And in most cases it isn't even actionable.
114.
▲
by
cle
2y ago
What’s special about server-based services vs other services? Should they also be obligated to publish their IP if they cease operations?
115.
▲
by
cle
2y ago
> However, reducing traffic speeds in cities could be a positive intervention for enhancing access to nature. Technological solutions, such as the widespread adoption of hybrid and electric vehicles, and urban planning strategies like in
116.
▲
by
cle
2y ago
Here's the full list, base64-encoded (since HN doesn't support spoilers...) QSBSb29tIG9mIE9uZSdzIE93biBieSBWaXJnaW5pYSBXb29sZgpUaGUgTWFuIFdpdGhpbiBieSBHcmFoYW0gR3JlZW5lCkhlbnJpIE1hdGlzc2UKVGhlIFNvdW5kIGFuZCB0aGUgRnVyeSBieSBX
117.
▲
by
cle
2y ago
It’s using purego: https://github.com/ebitengine/purego And linking against libtcl and libtk.
118.
▲
by
cle
2y ago
This is using purego which is still using FFI, it is dynamically linking the C libs so you still have the same shared library issues. You don’t have to setup a C compiler toolchain though which is nice.
119.
▲
by
cle
2y ago
> By creating an account you agree to the Terms of Service and Privacy Policy. > The Bluesky App is a microblogging service for public conversation, so any information you add to your public profile and the information you post on the
120.
▲
by
cle
2y ago
Depends on the org and how information travels. Knowing tricks like this are the superpowers of people who move up quickly in large orgs and make things happen. You can sometimes do fine without knowing this, and going through the "off
More ›