Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alphanumeric0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
alphanumeric0
3y ago
I've got a Kona EV subscription from Hyundai. I just took a trip to Crater Lake and was able to charge every night I was there. At least one person had brought their extension cable and was charging via their cabin's electrical ou
32.
▲
by
alphanumeric0
3y ago
I have a coworker who creates work tickets for me and a fair bit of my work time is spent deciphering what they meant in their tickets. It's not uncommon for me to interview him on almost every ticket, writing extensive notes with clar
33.
▲
by
alphanumeric0
3y ago
I'd like a device kit to measure the amount of these chemicals in my body.
34.
▲
by
alphanumeric0
3y ago
"With so much evidence refuting the five excuses, hopefully it is clear that they are ridiculous. They are completely invalid reasons for the average developer, in the common case, to dismiss concerns about software performance. They s
35.
▲
by
alphanumeric0
3y ago
Why do you think there was a mass surveillance of American domestic communications since forever ago, as leaked by Snowden? This technology has been available since then and can effectively summarize millions of pieces of communication.
36.
▲
by
alphanumeric0
4y ago
I'm attempting to recall an analogy from a paper about this subject. One of the authors gave the analogy of time being like a river. If we are traveling down this river, and the river is changing speed ahead (maybe due to rocks or a
37.
▲
by
alphanumeric0
4y ago
That's a good point. This would rule out SQLite for me.
38.
▲
by
alphanumeric0
4y ago
Nice, that is what I was looking for. Of course, it'd need to point to production data as well, so maybe test_case is null, in that case: CREATE TABLE data_a AS (SELECT 'a' AS test_case, 1 AS value); CREATE TABLE data_
39.
▲
by
alphanumeric0
4y ago
What if I wrote a very long, complicated query that I'd like to test against different tables (like test tables), and let's say I can't use stored functions or procedures. How could I pass different tables to my query?
40.
▲
by
alphanumeric0
4y ago
Furthermore, stored procedures/functions are not queries.
41.
▲
by
alphanumeric0
4y ago
I just applied for an Elm job a month ago. It's not dead, it's just super niche.
42.
▲
by
alphanumeric0
4y ago
I actively avoid it. The SQL languages have no default libraries for testing. Furthermore, SQL cannot be easily composed, or abstracted into modules, so there is no sense in testing it. It is not designed to be tested.
43.
▲
by
alphanumeric0
4y ago
I will definitely use this. I've been looking for something like this to quickly share my ideas with other students.
44.
▲
by
alphanumeric0
4y ago
Does anyone know if they've fixed the AI and ATC? I distinctly remember in previous versions watching the AI aircraft bounce off the ground repeatedly in an attempt to reach an incorrect flight level given to them by the ATC. That kin
45.
▲
by
alphanumeric0
4y ago
Today, car ownership is a horrible value proposition. The car lobby has been all too successful in making America car-centric, which is a shame, because cars are great, but they aren't the only form of transportation out there. I'
46.
▲
by
alphanumeric0
4y ago
My idea is you wouldn't have to cut and paste implementations like this. You would be able to just call the function with a column name and table name.
47.
▲
by
alphanumeric0
4y ago
Yes but for 99% of your needs, aren't types going to help you? Sure I can write some types that don't terminate but in practice is this really an issue?
48.
▲
by
alphanumeric0
4y ago
I think I see what you're saying, and in my idea I'm suggesting the same - sending the function(s) to the data.
49.
▲
by
alphanumeric0
4y ago
I'm not familiar with Ecto, dplyr, or DBT, but I would love an ML-like language to replace SQL. I'm imagining being able to pass a table (or any table-oriented data, like a sub-query) to functions that would type-check columns an
50.
▲
by
alphanumeric0
4y ago
This sounds like it might be playing a role. A while back someone posted an article about jet stream changes forcing commercial flights to land. https://www.theweathernetwork.com/gh/news/article/stronger-j...
51.
▲
by
alphanumeric0
4y ago
"Software testing doesn't work".. and "No matter how hard we try, it just sucks." then the next sub-heading: "I want simpler testing". Okay, well, you just said it doesn't work, but you still want (si
52.
▲
by
alphanumeric0
4y ago
I created a little DIY web-based dashboard that displays on my TV. I have a tiny bit of Python that runs on startup that turns on my TV via an API, then launches Chromium in kiosk mode and loads my webpage written in Elm. I have nicely til
53.
▲
by
alphanumeric0
4y ago
I think people care more about correctness, in general. I think we used to just be happy that code worked at all.
54.
▲
by
alphanumeric0
4y ago
Okay, great. You are a maintenance programmer. You have a 1000-line program all in one file. You need to update the e-mail functionality of this program. You aren't following a stack trace or following a particular code path. Ther
55.
▲
by
alphanumeric0
4y ago
Jumping around is the nature of code in general, whether its in a 1000-line file or split up amongst multiple files. For a maintenance programmer, they may already understand how everything works. They aren't following a particular co
56.
▲
by
alphanumeric0
4y ago
I could see this working with vim folding. That's an interesting approach. I never really used folding in IDEs.
57.
▲
by
alphanumeric0
4y ago
> I find single file dense leetcode style code easier to understand and follow the flow. Algorithmic code I can reason around. A large mature codebase is far harder to get to know. I genuinely can't tell if you're being serious
58.
▲
by
alphanumeric0
4y ago
Yeah, but without the objects.
59.
▲
by
alphanumeric0
4y ago
I find SQL harder to work with because I'm used to reading and writing functions - functions that have explicit parameters with (hopefully) explicit types, and explicit return types. So I was hoping PRQL might have some sugar like that
60.
▲
by
alphanumeric0
4y ago
Thank you for all of the different viewpoints, it's starting to make sense now. I've used JSON schema before in one of my previous projects. I'll keep it in mind for next time.
More ›