skysight-inc/HackerNews huggingface dataset:
Yes but their bar is “readable” not “very readable by all without effort,” so I’m not sure why y’all find this so usage so objectionable. Yeah it wasn’t easy but I was definitely able to read the example text on my phone as-is/without zooming or anything.
I thoroughly enjoyed the author's writing style. Anyone know where I can find more by him, Doug Muir?
>This is a disingenuous and overly-glib argument

It's not that, it's a reductio ad absurdum, a legitimate debate technique.
Keeping bank receipts seems pretty straightforward and sufficient, no need to put it in between the two absurd takes.
I cannot imagine that discussion would have worked out at all in the teacher's favor.
Lets talk again the first time a US state based CA revokes a cert under pressure for an abortion clinic site being against some state's law. Then you'll really want that HTTP/1.1 back. If we go CA TLS only it just means there's a single point of failure/censorship. HTTP+HTTPS is robust from censorship in a way centralized CA HTTPS only can never be.
Option #3 (HTML post-procssing) seemed to work. This Python script takes a directory of HTML files, and removes the [[ and ]] and replaces them with <span class="link-placeholder"> and </span>.

----

import os
from bs4 import BeautifulSoup

# Function to process HTML files in a directory
def process_html_files(directory):
for root, dirs, files in os.walk(directory):
for file in files:
if file.endswith('.html'):
filepath = os.path.join(root, file)
process_html_file(filepath)

# Function to process individual HTML file
def process_html_file(filepath):
with open(filepath, 'r') as f:
html_content = f.read()

# Parse HTML
soup = BeautifulSoup(html_content, 'html.parser')

# Iterate through all text nodes in the HTML
for text_node in soup.find_all(text=True):
if '[[' in text_node and ']]' in text_node:
# Replace [[ and ]] within the text nodes with <span> tags
replaced_text = text_node.replace('[[', '<span class="link-placeholder">').replace(']]', '</span>')
text_node.replace_with(BeautifulSoup(replaced_text, 'html.parser'))

# Write back the modified HTML
with open(filepath, 'w') as f:
f.write(str(soup))

# Replace 'your_directory_path' with the directory containing your HTML files
process_html_files('site')
> There is persisting uncertainty about when consciousness arises in human development, when it is lost due to neurological disorders and brain injury,

Not just when it arises during development or when it gets reduced due to disorders and brain injury, but also at it fluctuates under a range of other known (and possibly unknown) states such as when you're under general anesthesia[1].

Besides the when, there's also kind/degree/nature, such as during meditation, sleep, influence under substances, etc.

Exciting field.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6703193/#
On the internet, no one knows you are a dog.
Actual hackers, the ones who try to hack your e-commerce site.

For such things, if you're not doing everything Server Side to Render fully validated and sanitized data safely, you should be.
Read this thanks to RSS. People can complain about the internet decaying, but thanks to RSS i get to effortlessly pick the sources of information i get, based on quality, and so my Internet experience is lovely, even if 99% of it by unfiltered volume is crap .
Most major PHP frameworks like laravel, symfony, Drupal, Magento develops all kinds of complex caching layers to work around PHP's stateless 1 request/1 execution model, essentially poorly recreating shared application state you would get for free with a long running worker process.

Python's import model is not without its flaws either, but at least you have a working application state, no need to fully initialize your app for every single request.

For simple apps that are contained within a few files, PHP is hard to beat for simplicity and speed.
Or bought one just because he was going to crash on their couch
> Perl has a weird way of letting you go from thought to code, and disappearing in between, unlike any other language I've ever used.

Funny, a lot of people say that about Lisp...
Hahaha, well it would be a pity to code for months in a basement only to find out there is no use case.
AtmoRep: Representation Learning in Earth System Science
I dumped the data from postgres and loaded into a similar (same name, same columns, in the same order, same columns indexed) it works in much the same way.

explain query plan select * from foo where organization_id = 1 order by updated_at limit 10;
QUERY PLAN
|--SEARCH foo USING INDEX foo_organization_id_idx (organization_id=?)
`--USE TEMP B-TREE FOR ORDER BY

Just as with Postgres, it starts by ordering the data, though in this case it uses a TEMP B-TREE rather than the index on updated_at (not sure why it's doing that). Then, it filters on organization_id=1, though in this case it uses the index to filter on organization_id. That takes 3.8s on my machine (postgres took ~260ms for the same operation). If I drop the index on organization_id, this is the query plan

QUERY PLAN
`--SCAN foo USING INDEX foo_updated_at_idx

It's back to scanning the foo_updated_at_idx index, just like Postgres does. Interestingly, this takes mere milliseconds. Dropping the index on organization_id actually improves the performance.

Finally, just for good measure, if I also drop the foo_updated_at_idx index, this is the query plan

QUERY PLAN
|--SCAN foo
`--USE TEMP B-TREE FOR ORDER BY

Running the query in this case takes 4.2s. It's back to using a TEMP B-TREE index for ORDER BY clause, but it has to scan the table.

For me, it's hard to draw any hard-and-fast lessons from this. In my experience, database performance is highly context dependent. It depends on the volume and distribution of data, the hardware, its current load, the indexes in place, and how the query is written. These little experiments to me just serve to confirm that.

I guess the one hard-and-fast lesson I personally take from this is not to be so certain that there is "a correct query plan" and that I or really anyone knows better than the database what that is. Sometimes in certain circumstances that may be true, but usually it's not.
I was under the impresdion that the LLM python tool also ran it?
Yes, I used a bunch of them over the years. And yeah, they were fine, but that doesn’t answer my question about what exactly is wrong with the official Reddit client to garner so much hate.
Ask HN: Founders with commitments and student loans, how is it?
A bit of context: college junior majoring in CS, have always been interested in tech and startups. As an international student, I'm projected to graduate from college at $300k USD in debt. I attend a US state school so I'm already on the lower end of cost of attendances for international students. International student loans also have high interest rates of ~10%. My age is atypical for a college junior as I'm already in my mid-20s. I somewhat agree with "22 and 32 you are in your best startup years" in https://www.ycombinator.com/library/4d-a-letter-to-college-students having felt a drop in energy in the last few years.

Post-graduation I have two options:
1) Founder route in my mid-20s with my loans. If things don't work out, then big-tech/SWE it is to pay off the debt. When I chatted with a YC partner, this is what they mentioned as common though I think most cases are US citizens who can defer loans/lower interest rates/smaller debts so I'm questioning how well it applies to my scenario.

2) Work at startups/big tech to pay off debt in 4-5 years. Founding in my early 30s, ~32. I'm sorta already going down this path, been lucky to secure internships.

I'm inclined to 2) but wanted to hear from folks who tried 1) since it isn't such a well-carved path. Founders who started with student loans or existing personal commitments, did you just convince yourself of a different perspective/become more comfortable with debt or was it too stressful to bear. Part of me thinks that every founder has some level of pre-existing commitment, so this mountain of debt is just an excuse.

I'm acutely aware that personal finance and how one deals with debt/commitments is a personal matter but am curious to hear the perspective of any who were in similar situations.
relevant: https://news.ycombinator.com/item?id=34250872 (G-3PO: A protocol droid for Ghidra, or GPT-3 for reverse-engineering <https://github.com/tenable/ghidra_tools/blob/main/g3po/g3po....>; Jan, 2023; 44 comments)

ed: seems they have this, too, which may value your submission: https://github.com/tenable/awesome-llm-cybersecurity-tools#a...
Tokyo is fine because it's a major city with millions of people.

If the commenter says "in [small town in South Carolina] for example", then likelihood for them living there skyrockets.
That's a depressing viewpoint, since that's true, even if you don't manage to find the fountain of youth. Life has joy and meaning. If you have a purpose, whatever it is, then every singlenday longer you're alive is another day you get to help people, to educate them, to heal them, to ease their suffering, do good for the world, spend time with friends and family; whatever!
My wife, who is a real estate agent, was notified by her brokerage that the deal requires all buyer's agents to have a signed contract with their client, with pre-negotiated commissions (up to now it's usually been oral agreements). Her brokerage also said that they are working on new contract language for mortgages that will allow buyer's agent commissions to be paid out of the mortgage financing. That's the way it's always been done, but it's been a matter of the seller agreeing in advance to give up a percentage of their compensation and redirect it to the buyer's agent. Now it will be a matter of the buyer agreeing in advance to borrow enough to pay both the seller and their own agent.

So I think that little will change except the mortgage financing formalities, and that the seller will no longer have any control over the buyer's commission.

Currently, the agents will sometimes agree to reduce their commissions to make a close deal happen, but that won't be the case any more. Sellers will have to negotiate on price only if they want to make a close deal happen (buyers usually offer close to the upper limit of what they can afford, and can't move much to the upside). That will likely work to the benefit of the agents and the disadvantage of the seller.

Buyer's agent commissions have been negotiable for a long time, but few bother. It's also always been possible to make a deal without a buyer's agent (in fact seller's agents love that, because if the buyer has no agent, the seller's agent keeps the whole commission amount rather than split it with the buyer's agent). But again few bother, or after losing out on a few deals they decide they want someone on their side.

I suspect that the NAR has had an endgame worked out for this settlement years in advance, and the settlement language will include enough wiggle room to keep things largely as they have been, just with more paperwork and lawyers' fees.
I'm currently writing perl with a team, and I find that so long as you write in a way that looks good, there's no issue with other people reading the code either.

And that still happens at stream-of-conciousness.
Very nice.

I combine the /etc/hosts approach with the StayFocusd browser extension.
But without jquery, everything defined in html attributes, and hence the server responses can further define behaviour in their html attributes. Declarative, not procedural, if you want.
Yes it's that, but more. I enjoy the out-of-bound swaps and triggering hx events or specific targets of render via response headers.
The problem was that on the whole people didn't use jQuery to "load html snippets" and the architecture of jQuery tended to push people towards client-side spaghetti.

htmx encourages you to put most of the logic on the server and to keep the client lean and clean.
Thanks! Always curious to hear more about this topic, trying to get fiber pulled to a property in Old Forge NY that currently is using StarLink (which is fine for now).
Not unless you plan on explicitly executing sent snippets of JS, iirc
Fair enough, and I have had similar experiences. I would note a few things:

- Sounds like a major undertaking.

- You note this was done in service of refactoring. So you didn't test yourself out of the mess so much as use testing to enable the simplification that got you out of the mess.

- I would argue that what is really happening here is that, by spending the time to create these tests and refactor, the current team is creating a shared mental model of the messy codebase -- they are making it understandable, at least in large part. So, you might amend my original statement "there is not substitute for simplification and good design" to "there is not substitute for making the code comprehensible". While a simple, good design is the best way to do this... it can also be achieved by having everyone expend more effort to understand a bad design well enough to work with it. And this latter strategy is, in practice, the far more common one.
Ah cool. They didn't just make the stereo console I use as furniture for my record players and mixer.
Watching closely Ukrainian - Russia war I can see @lettergram has a point. Cheap commercial drone with granade showing just astonishing funds/effectiveness ratio. Think about firing $150 000 rocket (javelin) or $1 000 drone. Plus drone does not require any special military training and you can manuver during the fly and choose angle of attack.
The idea that Google engineered the murder of the wife of a whistleblower (who had already testified) by staging a fake traffic accident in the rain is ridiculous and nonsensical.
DELETE and GET can have bodies, the spec is just vague about it. Elasticsearch commonly uses request bodies for GET, treating it identically to POST. It's not always regarded as a good idea, but it does work.
Massachusetts created a program to provide middle-mile connectivity in the rural western part of the state and then towns hooked up the last mile. A lot of them already had municipal electric companies who did it or they partnered with a small company for the last mile stuff. It's not cheap, but it's definitely reasonably priced. It's $75/mo for gigabit with a 2Gbps backhaul to the wider internet serving around 500-600 homes in my friend's town. And that's not some intro rate where it skyrockets once the promo expires so it's actually reasonable.

The town has a much higher broadband adoption rate than the US as a whole despite being sparsely populated (under 100 people per square mile). It's also not a rich area with per-capita income under $32k. In the US, 71% of households have wired broadband, 89% in Massachusetts, and 93% in his town. So I'd say it's a pretty great success.

Since the article talks about South Carolina, I'll note that SC is the 7th lowest for households with broadband at 83% (that includes wired, wireless, and satellite). AL, WV, LA, AR, NM, MS round out the bottom 7 (MS being bottom). Massachusetts is the 9th highest with the top 8 being WA, CO, UT, CA, NJ, NH, OR, MD (WA highest).
I do this too. And some resources require two DELETE requests - the first with parameters and the second one (after a minimum time) doesn't.
> An experienced software developer, Jensen dove into EJMR’s inner workings. “He got a bit hooked,” Ederer says. It didn’t take Jensen long to figure out the forum’s scheme for assigning usernames: Each four-character-long code was generated based on the thread’s topic ID and the user’s IP address. (An IP address is a unique label assigned to a device on the internet.) First, those strings of digits were combined. Say your IP address was 131.111.5.175 and you were posting in a thread with the topic ID 227259. Those numbers would be joined to form 227259131.111.5.175. That string would then be run through a scrambling algorithm called a hash, which would spit out a new string in encoded form that reads e8b5eae32c2b197a0ac4cb889a9bbb8f417f3bff. Your username would be the characters in positions 10-13 in the hash, or in this case “c2b1.”

> But, as Jensen discovered, the forum’s creator had made an elementary mistake. Usually the administrator will “salt” the hash, or introduce an element of randomness into the algorithm that spits out the new string of digits. In this case, the developer had forgotten to do that.

...

> But how could anyone go after EJMR without knowing who was behind it? A year earlier, a web developer named Jesse Nickles had decided to investigate the site. Nickles runs a website called Hucksters.net, where he seeks to expose “bad actors” online—spammers, scammers or anyone else causing or enabling harm via a computer. “I wanted to bring more transparency to some of the shady corners of the internet,” he says.

> It wasn’t EJMR’s “misogyny” and “racism” that motivated him to look into it, Nickles says. (Scare quotes his.) He leans toward free speech absolutism. Rather, it was the hypocrisy of the site’s administrator that galled him.
In Sweden, they actually have a permanent model of the solar system in the scale of 1 to 20 millions. The sun is the size of the Globen arena in Sweden capital Stockholm. Models of the outer planets are somewhere in the north of Sweden!

https://en.wikivoyage.org/wiki/Sweden_Solar_System
> maybe they have a cutting edge LLM for you to use.

We do, it's called "GPT-4-Turbo" :P
https://www.usunlocked.com/ for a card, use "international number" option when signing up, and you're good to go
Sure. And a few armed powerboats couldn’t defeat a US carrier group. https://en.m.wikipedia.org/wiki/Millennium_Challenge_2002
That was such an incredibly ridiculous story. I spoke with more than a few supposed infosec "professionals" who believed it entirely too. Never mind that there were zero reports from other journals (you know, like anything even slightly technical), that none of the cited sources would reiterate what they had supposedly said, or that the claimed mode of operation wasn't even possible. Their follow-up, despite having been disproven numerous times over, was even more ridiculous.
Ah that's probably where I learnt it from then!
I’m thinking the sight of this (oil rigs off the Huntington Beach coast):

https://sustainability.stanford.edu/news/californias-oil-spi...
Have used this feature, works exactly like this. However it is a hit or miss, most of the incoming recruiters/companies are far below my standards. The best way to use LinkedIn is to send out requests to engineers where I want to work and ask for referrals. It's important to do your homework on the role, company, and person. Most of the people are happy to refer if you do this.
They're now making it so you can't block the account that posted the ad, instead you can just say "I don't like this ad" - which still results in the same ad being shown regardless.

I'm still only seeing this on some ads; not sure if it's a gradual rollout or A/B testing. Either way, I'm sure it won't be too long before it's all ads being served like this :(
Death is scary only for people a) living meaningless life b) no god/faith in them
You say that like it's a bad thing. Vast majority of people don't want to die or grow sick and enfeebled with age. It's like observing that the reason people usually don't leap off tall buildings is because they fear falling and death - true, but obvious.

If people prefer being alive and healthy, and they obviously and overwhelmingly do, then we should be looking for solutions. If people want to escape the drudgery of work they are free not to take whatever medications or treatments are discovered - but the tiny minority that prefer death to labor shouldn't restrict the rest of us.
Indian govt spamming its citizens through WhatsApp
The ruling party in India is using government missionaries to spam its citizens for their electoral benefits. How could WhatsApp allow this?
To be sure you're talking about Claude 3 Opus right?
You are absolutely right, see the definition on https://refactoring.com/
Unfortunately, it has become common to refer to any kind of code changes as refactorings (not backed by any proof, just an observation)
Could you provide some examples of what you think these hypothetical AI’s are going to give/grant/allow these hypothetical governments that warrants the usage of enough energy they’ll actually starve people to achieve? What “competition” are these governments going to be in to necessitate this?

Comments like this are becoming far more common it seems amongst the tech community, to me anyway, that I really want an answer of what this hypothetical god-like entity is going to enable that also somehow will only be limited to a select group of people/nation/whatever and not spread throughout the rest of the world. It’s a weird dichotomy wherein “AGI” will somehow solve climate change, enable cold fusion, end human aging, spread us to the stars, but also inflict mass death, use all of the global energy if unchecked, and now, starve humans to achieve those things.
"Now" is the key word if you actually read the piece. By this time next year there won't be as the piece says. Also read what Dan Gillmor has to say here: https://news.ycombinator.com/item?id=39736429
Even if it isn't fully reliable, often it's only necessary to modify a few functions for most changes one wants to make to a binary.

You'd therefore only need to recompile those few functions.
Depends what capabilities the drones have. And having a glimpse is already a confirmed sighting, then you can start a focused search with traditional groundbased radar - the stealth planes are not invisible, if you know something is there, you have a way better chance of tracking it. And when you have some other drones in the flightpath, you might get more than a glimpse and finally a lock. Or your own fighter jets. The idea of a stealth plane is, that you don't spot them at all, once spotted, their survival rate drops a lot.
I always thought Hashi's technologies would lose their lustres soon. My previous company used to use Terraform and Nomad. They are like Graphite 10 years ago: darling of the open source community, good for small companies, but eventually becoming a productivity nightmare. There are just so many bizarre decisions and the accidental complexity of Hashi's family bucket is just through the roof. The one that I hate most is its embedding of Jinja template to inject system configurations. I mean why in the world would someone separate the service configuration from a service itself and force engineers to take care of service configurations in a separate places while learning so many irrelevant details: Terraform, Jinja, string escaping, embedded language, integration with the deployment environment, and the official docs do not help that much. They seem contain everything, but it's just so hard to connect the dots.
From my perspective since the ad cannot be skipped the ad is not separate from the video runtime experience behind the thumbnail - except in your reception of it.

Also another notable indicator of the coupled relationship between ad and video, being demonetized hurts the videos exposure.
Or just choose the best response manually as a human.
In theory. On the other hand, dark matter is pretty much just a name we give to a discrepancy in current theory.
Search for 'Never gonna give you up' ρ Tesla's Stock Price
He could be great friends with Richard Stallman
Nice bird as well. I stand by the F16. Real life results make me view them in different lights.

Kinda like when you realized someone you grow to respect looks more impressive the better you get to know them.
You forgot to remind it it is August, that lay offs are near, and that it's name is Dan.
Documented in the POSIX specification. It is a kernel bug.
Bell labs tried to build a FET before the bipolar transistor.
It's not so clear which theory the Lilienfeld devices are based on.
As a small, very specific footnote: I am unaware of anyone but Supermicro making 3U chassis with a 80mm rear fan. As the ATX rear I/O is sized to squeeze into 1U it means there's only 2U or 88.90mm left for fans and most chassis makers will just go with 60mm fans.
History of God by Karen Armstrong