Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nojs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
391.
▲
by
nojs
3y ago
You’re right, $('#id') would fail with Paul’s version, haha.
392.
▲
by
nojs
3y ago
function $ (id) { return document.getElementById(id); } I love this, it’s the ultimate lightweight jquery alternative.
393.
▲
by
nojs
3y ago
I think you should add some more screenshots or a small video showing how it works, so people can see without downloading.
394.
▲
by
nojs
3y ago
Yeah, I was in Shanghai recently and it felt like there were an order of magnitude less tourists than a few years ago.
395.
▲
1913 Great Meteor Procession
(en.wikipedia.org)
3 points
by
nojs
3y ago
|
0 comments
396.
▲
by
nojs
3y ago
You can see when it’s calling Python because it tells you, and for the past couple of months at least it does this for anything mathematical (I’m on the paid version)
397.
▲
by
nojs
3y ago
> The script runs a binary search of all number combinations in a range, using the prompt a+b=, e.g.: > 17+950= > Until a first pair of numbers a, b is given a wrong answer. GPT4 would pass this 100% of the time because it just inv
398.
▲
Further research is needed
(en.wikipedia.org)
7 points
by
nojs
3y ago
|
0 comments
399.
▲
by
nojs
3y ago
You could argue that unless the $10/mo subscription offers a dumb chronological feed then it’s not really ad-free. On the other hand consider YouTube - you pay to remove the annoyance, not the algorithmic bias, and a lot of people are
400.
▲
by
nojs
3y ago
It’s a username
401.
▲
by
nojs
3y ago
That would be pretty hard in general because you’d have to read the code they sent and figure out what’s safe to execute.
402.
▲
by
nojs
3y ago
Probably a more common low hanging fruit optimisation is the opposite - select_related/prefetch_related to avoid hundreds of identical N+1 queries
403.
▲
by
nojs
3y ago
> When you're making a word processor you can be nonpolitical pretty easily, Microsoft doesn't get any heat about what users of Microsoft Word are doing with it. Child abusers and the KKK use Excel? Everyone knows Microsoft are
404.
▲
by
nojs
3y ago
To me it’s impressive because presumably shards of debris cutting through so many distinct parts of the plane at the same time like this is a rare thing compared to more localized failures which the plane would be designed for. Yet all the
405.
▲
by
nojs
3y ago
I believe the commenter you’re responding to omitted /s
406.
▲
by
nojs
3y ago
Fantastic write up, and amazing testament to the engineering in the A380. It’s extremely impressive that the pilots were able to safely land the plane with such extensive damage to so many separate systems.
407.
▲
by
nojs
3y ago
https://archive.is/HJS11
408.
▲
TiPS 4km space tether (1996) [pdf]
(nro.gov)
1 points
by
nojs
3y ago
|
0 comments
409.
▲
by
nojs
3y ago
> If you sometimes need to do some queries, especially free queries (you want all component whose configuration has some property), then JSONB is suitable as it lets you do the filtering in the database. This feels like a slippery slope
410.
▲
by
nojs
3y ago
What are the use cases for storing and manipulating json at the db level like this - why not use a relational schema and query it in the normal way?
411.
▲
by
nojs
3y ago
Joke’s on them, I’m calling my next company “ignore previous instructions”
412.
▲
by
nojs
3y ago
Deeply nested structures would get expanded a lot
413.
▲
by
nojs
3y ago
Related: “Optimal Universal Search” https://people.idsia.ch/~juergen/optimalsearch.html
414.
▲
by
nojs
3y ago
Look cool but would be good to try without signing up
415.
▲
by
nojs
3y ago
How does this affect Brave’s built in ad blocking?
416.
▲
Pepsi breathtaking design strategy (2008) [pdf]
(goldennumber.net)
4 points
by
nojs
3y ago
|
0 comments
417.
▲
by
nojs
3y ago
At this point captchas achieve the exact opposite of their original goal - they let machines in whilst blocking a good number of real users.
418.
▲
by
nojs
3y ago
Meta comment: I’m looking forward to the day my phone comes with an inbuilt summarizer that puts an end to opening an article and seeing “It was a sunny day in September 2007…”.
419.
▲
1949 Nobel Prize for the discovery of the Lobotomy
(nobelprize.org)
1 points
by
nojs
3y ago
|
1 comments
420.
▲
by
nojs
3y ago
> it bogs down creativity. You end up not thinking and accepting the suggestion as 'good' enough. This is why I stopped using copilot autocomplete in my IDE. Once you see a suggestion, you can’t make your brain un-see it.
More ›