Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shawnz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
shawnz
1y ago
There is already a Microsoft SQL server extension for VS Code and this looks to effectively be a clone of it. After giving this a quick spin, it looks and feels the same as the SQL server extension, with the same menus, dialogs, etc. The SQ
92.
▲
by
shawnz
1y ago
Sure, I agree that a transaction should be used here (in the database example at least). But that's orthogonal to my point, or maybe even in favour of it: doesn't a transaction necessitate keeping the conditional close to the ef
93.
▲
by
shawnz
1y ago
Consider a simple example where you're checking if a file exists, or a database object exists, and creating it if not. Imagine your filesystem or database library either doesn't have an upsert function to do this for you, or else
94.
▲
by
shawnz
1y ago
Is that really achieving OP's goal though, if you're only raising it by creating a new intermediary level to contain the conditional? The conditional is still the same distance from the root of the code, so that seems like it'
95.
▲
by
shawnz
1y ago
Sometimes I like to put the conditional logic in the callee because it prevents the caller from doing things in the wrong order by accident. Like for example, if you want to make an idempotent operation, you might first check if the thing h
96.
▲
by
shawnz
1y ago
> It will work because honest people aren't trying to get around it. I think this makes the counterargument even stronger. Let's take for granted that this isn't intended to stop a determined leaker and is just meant to pr
97.
▲
by
shawnz
1y ago
I'm just answering your question.
98.
▲
by
shawnz
1y ago
They can't control the entire stack because of the analogue hole
99.
▲
by
shawnz
1y ago
Even with the privacy concerns aside, you need individual mailboxes for reasons of maintaining organization. I think your point would be better made if in your hypothetical, we still had individual mailboxes, but everyone could see into eve
100.
▲
by
shawnz
1y ago
What makes "rebate" terrible but "dividend" good? They accomplish the same thing in my mind. In fact I think calling it a "dividend" would be a pretty unconventional and contrived usage of that word.
101.
▲
by
shawnz
1y ago
In official communications it was called the Canada Carbon Rebate or previously the Climate Action Incentive
102.
▲
by
shawnz
2y ago
It's still possible to break the config with a syntax error, but there are less kinds of syntax errors that are possible if you aren't writing into the middle of an existing block of syntax. For example, there's no chance tha
103.
▲
by
shawnz
2y ago
Exactly: if your templating logic accidentally produces a syntax error, now you can't log in to SSH. There's much less chance of that scenario with include directories. This applies for infrastructure as code scenarios, changes ma
104.
▲
by
shawnz
2y ago
I think that is a uselessly reductive interpretation of what secure boot is because you could apply the same logic to any security technology. Why should we allow login passwords or user permissions or disk encryption, since those could b
105.
▲
by
shawnz
2y ago
Whatever the intent, the point stands: why would they need secure boot to do that? They could just do it with proprietary controls. So how does the existence of secure boot as a user-controlled feature affect that risk?
106.
▲
by
shawnz
2y ago
If the manufacturer wanted to conduct a supply chain attack on you, they wouldn't need secure boot to do it. They could just design an implant of their own using proprietary technology. So why does the presence of secure boot as a user
107.
▲
by
shawnz
2y ago
Showing that you're willing to pay extra for green products (or products that respect animal welfare, etc) creates a competitive environment in which companies can compete on who provides the most green per dollar. Even if those marked
108.
▲
by
shawnz
2y ago
That's fine if you are just trying to get it running on your machine specifically, but the problems come in when you want to support multiple different combinations of OS and compute platform in your project.
109.
▲
by
shawnz
2y ago
Getting the right version of PyTorch installed to have the correct kind of acceleration on each different platform you support has been a long-standing headache across many Python dependency management tools, not just uv. For example, here&
110.
▲
by
shawnz
2y ago
> There are other ways to use the help function, but before we dive into those I'd like to address the *, and / symbols shown in the output above. Where is this addressed? Is there a section missing here?
111.
▲
by
shawnz
2y ago
Nice to see they're finally supporting dual external displays even out of clamshell mode on the Air!
112.
▲
by
shawnz
2y ago
Aside: What's that mouse pictured in the second pic?
113.
▲
by
shawnz
2y ago
Wow, this is exactly what I've been looking for: lightweight, supports CONNECT and CONNECT-UDP with all three HTTP versions, and supports encrypted client hello. Thanks for the recommendation!
114.
▲
by
shawnz
2y ago
Thank you for the feedback! Some notes: > The obvious feature gap I see is that it should be possible to provide both the encoder and decoder with a common "context" or prompt to preload the LLM with. There's no option for
115.
▲
by
shawnz
2y ago
Too late for the prize money, but here's the solution I used: https://www.deepbounty.ai/share/73baadb3-b7d2-4d1d-9f34-8474... It took 4 or 5 attempts to work around the different instructions -- seeing the reasoni
116.
▲
Show HN: Steganographically encode messages with LLMs and Arithmetic Coding
(github.com)
24 points
by
shawnz
2y ago
|
4 comments
117.
▲
by
shawnz
2y ago
Thank you! I will see what I can do.
118.
▲
by
shawnz
2y ago
> I've already got plans for 240v outlets in the kitchen. Likewise, I just need to find a kettle with a NEMA 6-15 plug
119.
▲
by
shawnz
2y ago
I recently worked on a steganographics project which could be useful for this problem. See: https://github.com/shawnz/textcoder
120.
▲
by
shawnz
2y ago
Plenty of people are working hard to tackle the performance-per-watt problem while others simultaneously tackle the absolute performance problem. There's no one single metric you can focus exclusively on that's going to satisfy ev
More ›