Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pjot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
pjot
2y ago
The difference lies in how we conceptualize the noun: - Computer code is seen as a continuous substance or body of work, like "writing" or "music." - Other types of codes are seen as discrete units or systems. It's
62.
▲
by
pjot
2y ago
As is “codes” - I hear this often from non-native colleagues
63.
▲
by
pjot
2y ago
> Advocates of the language emphasize its speed, facility in handling arrays, and expressive syntax. Indeed. https://en.m.wikipedia.org/wiki/K_(programming_language)
64.
▲
by
pjot
2y ago
I’ve done something similar, but with a TUI to select files/directories as well as search! https://github.com/patricktrainer/pbtree
65.
▲
by
pjot
2y ago
This is super true. For my city’s portal as well. I’ve found one way around this by versioning the dataset - that is, committing the diffs in git. Credit to Simon Willison’s git-scraping technique. I do this with my power company’s outage m
66.
▲
by
pjot
2y ago
GAMS is such a wild language/environment. I don’t know of anything better, but I’m currently reliving nightmares from my Masters
67.
▲
by
pjot
2y ago
> Employment for software engineers has cooled as resources shift toward developing artificial intelligence Wait, who is doing the developing?
68.
▲
by
pjot
2y ago
> I have a very large plaintext file and I’m loading it fully in memory. This results in a string variable book that occupies 282 MiB of memory. At what point does something become (very) large?
69.
▲
by
pjot
2y ago
The camera and photos.app has ocr as well. Whenever im wanting to copy text on an app that hijacks the clipboard (LinkedIn/Slack) I take a screenshot, highlight the text, and copy as you would normally.
70.
▲
by
pjot
2y ago
GH Copilot chat specifically has directives like @workspace /new “scaffold a ${language} project” that automagically creates a full project structure and boilerplate. It’s been great for one off things for me at least
71.
▲
by
pjot
2y ago
To run a localhost webserver on port 8000, serving the content of the current directory: python -m http.server Pass -h for more options.
72.
▲
by
pjot
2y ago
Since an empty list has no elements, there’s nothing to contradict the condition.
73.
▲
by
pjot
2y ago
Just fyi, Google lists sites you’ve used to “sign in with Google” in your account setting page. Apple and GitHub have this as well.
74.
▲
by
pjot
2y ago
> Is a human choosing to do this theft really better than a neural network scraping content Probably so. I think the differentiation is in the scale at which scraping is done for those kinds of systems.
75.
▲
by
pjot
2y ago
Be sure to create a pr to remove your ssn from this list. Also your passwords: https://github.com/danielmiessler/SecLists/pull/155
76.
▲
by
pjot
2y ago
There’s less actually. Each state has its own unique 3 digit prefix.
77.
▲
by
pjot
2y ago
In Alabama the LCS was being built - it took roughly twenty years end to end to deliver. Aside from giant cost and time overruns since it was completed there’s been a struggle with learning to effectively use the ship. All in all though see
78.
▲
Cloudflare encrypts your data with lava lamps (2017)
(fastcompany.com)
1 points
by
pjot
2y ago
|
0 comments
79.
▲
by
pjot
2y ago
Is propane and propane accessories better alternatives?
80.
▲
by
pjot
2y ago
Yes, it can run DOOM. We’ve seen some amazing demonstrations of that power: from our very own Graham Sanderson’s port of DOOM
81.
▲
by
pjot
2y ago
I’ve done something similar, but using duckDB as the backend. https://github.com/patricktrainer/duckdb-embedding-search
82.
▲
by
pjot
2y ago
Pretty certain, yes. Series A startups generally aren’t that sophisticated. And when the ip address comes from the employers location…
83.
▲
by
pjot
2y ago
I’ve used this to see if my employer was spying on my email. They were.
84.
▲
by
pjot
2y ago
I never really thought about it being a cultural difference in the way US devs and those offshore work in the day to day. But that may explain much of the disconnect. Curious what your experience is like.
85.
▲
by
pjot
2y ago
There’s the help() function as well! Super helpful!
86.
▲
by
pjot
2y ago
I’ve done something similar, but using duckDB as the backend/vector store. You can use embeddings from wherever. My demo uses OpenAI. https://github.com/patricktrainer/duckdb-embedding-search
87.
▲
by
pjot
2y ago
Why not roll your own? Sure, you have to build it and maintain it, but isn’t that in the spirit of programming? It’s fun.
88.
▲
by
pjot
2y ago
What? No.
89.
▲
by
pjot
2y ago
The DNC has since has implemented many layers of protection including crowdstrike, hardware keys, as well as special auth software from Google. They learned many lessons from 2016.
90.
▲
by
pjot
2y ago
It most definitely is not. https://en.m.wikipedia.org/wiki/Operations_research
More ›