skysight-inc/HackerNews huggingface dataset:
Rust hardly deals with memory race conditions better than C, and managed languages are not fit for kernel. This isn't the fault of C at all. These kinds of issues are unavoidable part of kernel programming in multiprocessor settings and not something you can solve with a different programming language.

This comment just can't be more wrong.
This is what I am getting: it is simply a "matter of perspective"; despite the Bible getting the age of the planet comically wrong (~10,000 years vs ~4,500,000,000 years) , that the life did not progress as claimed (on day 5, God created the birds and sea animals; on day 6, the land animals and humans; which would mean the dinosaurs and humans roamed the planet concurrently, among other absurdities), in a way which is at complete odds with the fields of biology, anthropology, geography, physics etc - the conclusion one should hold is: Genesis is "not wrong".
>In geology, unlike business, nothing is too big to fail.

Nothing is too big to fail in the business world either. Or at least nothing should be. If a business is that important to the economy but it can't keep itself afloat, something has gone horribly wrong on the business side, the government side, or both. Bailing out the business will probably not fix the underlying issues.
It's been articulated, you just choose to ignore it.
Amusing coincidence the second one (~$25k /yr) on the list has a violator in the google street view: https://goo.gl/maps/p26casEqnKVCw2BK8

image: https://capture.dropbox.com/UyeMpFCv6xuitWlB
"Why" is a really good way to put it, like you say - doing "What" just repeats something a novice, possibly even a layman, could distinguish.

I tend to treat them like a strange hybrid of a story with editor's notes.

Here's where we're going... but oh no! Something is in the way. We need this critical, but painful to acquire shovel.

If I anticipate even the slightest bit of refactoring around it, I'm noting what devilishness lead me down this path.

TLDR: anything that could be abstracted away/not exist, probably deserves comments on why it does... perhaps even how it could be removed.
This is for sure a concern. Also when my RO system was first installed, the filter instruction said to run it to fully empty twice to run out the detergents (?) that the filters came with? I have to wonder what's in that, or lubricants used in construction.

I would not be surprised to find PFAs used somewhere in the construction of the system. Under regulation of this stuff means it's everywhere.

But then again, lots of the pipes, fixtures, etc. in the house ... plastic etc. as well.
This seems unlikely to be true in this case because the study was looking at github projects, and it seems unlikely the sample had enough code from "uptight" work places, to have an affect one way or another
Maybe you don't understand SQLite's locking issues? Having a bunch of different files that can be written to concurrently sounds like a better solution than SQLite for a social network backend.
> Few school rules come with the deprivation of your property though.

You obviously never used a super soaker in class. There's plenty of stuff that will get confiscated if you use it in class. For good reason.

> there really was no huge drop off in ability linked to phones in that generation.

I dare to disagree. See linked research. Smartphones are dangerous.

> Sure, how about boundaries where the government doesn't make such insanely stupid laws?

I don't think that a law (or more likely; a regulation or advisement) to disallow mobile phones in the class room is a "insanely stupid" idea. "Insanely stupid" is - it seems - in the eye of the beholder.

> Ultimately you have to remember that the vast majority of students do NOT choose to be there

Kids are not adult. Kids don't want to eat greens, kids don't want to go to bed, kids don't want to brush teeth. Kids don't want to go to school.

> Pushing them down harder doesn't make them appreciate you more or necessarily improve the quality of their education.

No, but getting mobile phones out of the class room will. There's plenty of evidence that links "display time" with depression and suicide[0], attention and literacy deficits[1] and addiction[2].

I think that's worth it.

[0] https://journals.sagepub.com/doi/full/10.1177/21677026177233...

[1] https://psycnet.apa.org/buy/2017-40489-001

[2] https://pubmed.ncbi.nlm.nih.gov/31800517/
I've been thinking about this a lot. In my particular use-case I can get away with having a totally read-only app.

However if I want people to be able to submit corrections to the transcriptions, I need a way to do that. I was thinking of setting up some sort of queue system to make writes non-realtime since, for this app, it's not a big deal.

It will be in interesting challenge, for sure.
Ask HN: Lightweight markup language with an open-source WYSIWYG editor?
I'm looking for a lightweight markup language with a WYSIWYG editor, primarily for taking personal notes. I only require a few basic formatting constructs, primarily: headings, lists, and links.

My first choice would have been Markdown, but after trying several different editors with Markdown support, they all suffer from some common issues that disrupt the WYSIWYG experience, particularly the fact that they don't handle soft wrapping in a visually appealing way (for example, list items aren't wrapped to the appropriate level of indentation).

MarkText looked promising, but the project appears almost abandoned, and never had a stable release, so I'd be hesitant to use it for important documents.

On the other end of the spectrum there's Libreoffice Writer, which produces Open Document Format documents (which are just zipped XML files). However, this forces the user to deal with page breaks and style information, which is distracting and unnecessary for taking notes. It also produces unnecessarily large files because style information and settings must be stored.

Something like Zim Desktop Wiki is very close to what I'm looking for, but I don't particularly like how Zim handles file navigation.

My ideal editor would provide an experience similar to Libreoffice, except with no page breaks or style information. Perhaps I'm looking for a WYSIWYG HTML editor?

Can anyone suggest a markup language and editor that might fit my requirements?

Edit: To clarify, I would also settle for a Markdown editor that provides a similar visual experience to a WYSIWYG editor, such as proper soft wrapping for list items, while still displaying the actual markup syntax characters.
Yeah the rubber bladder always concerned me as well. They say it is made of butyl so leaching is not to be expected but what if the production biproducts left on the inner surface are leaching out over time.

Same goes for a random o-ring or the PTFA tubing.

I have a TDS measurement device but these are questions beyond total dissolved solids.
I've had good luck with python-docx for reading word documents (typically specifications). Tables are supported - but it's not obvious where the table comes from in the document and I had to come up with a hack way to read image captions.

PDF has been hit or miss, but pypdf has improved in the last couple of years. Depending on the document you'll sometimes get random spaces or nospacesatall.
Doesn't the CCPA provide an effective mechanism to restrict private companies from doing this on an individual basis?
This is literally one of the worst moves Twitter could have made to combat Threads or any of their copies. They're literally giving more eyes and coverage to Threads and painting them as a real contender.
Because I'm curious as to when the affected code was introduced and if it affected older kernels that I run. Pure curiosity, mainly, as I know chances are it will have been patched. I still have PTSD from the Spectre kernel fun, so cut me some slack ;)
If you have a process where every commit is well documented, you don't need much comments since you can rely on whatever is your analogue for git blame. It's not a lack of comments, it's actually the opposite but aside from the code base.

When I worked at SAP where VCS for ABAP is ancient and has no analogue for git blame we had a practice of putting a SAP Note next to every code change, since some of the things that we had to implement are dictated by business/legislation, so you need a proper explanation from time to time. Without it, the code becomes unmaintainable.
I'm interested in using PlanetScale.

Would you happen to know the magnitude of how many simultaneous connections could
$348/yr buy me in PlanetScale?

One of my clients hovers around 50 simultaneous connections to their main MySQL server on a normal day, but they have bursts of 3k simultaneous connections for an entire day, twice per year.

Their workload is about 5% writting (INSERTs, UPDATEs), 95% reading (SELECTS).
Misremembered, the main thrust of the comment still stands, the 100K context window isn't "real", it would be absurdly expensive to do it for real. They are using a lot of approximation tricks to get there.
And all of them should be criminally charged for stalking.
I get where they are going with it - every block of code should probably be obvious and final since it has one item to do well. Unfortunately there are always times when n random fields will be used for a conditional that is completely non-obvious. Comments will always be necessary to some degree.
Now do this for everything. Don't allow the government to 'request' the information they have on you. You want information, get a warrant. The two must go together. Either it's coercion by the government to ask a corporation to do XZY or it's not.
Oh there's no denying the US military has ballooned to the size of a small to medium-sized country. That alone is a huge issue for me personally - I do agree with our country having any form of standing military but that precedent was abandoned 80 years ago.

I'm not sure how to properly compare the military of one country with the entirety of a country ~1/30th the size. On the surface it doesn't seem crazy for those to have similar budgets or resource use.
Alright, I thought I was trying to end the debate and find common ground but you didn't want to tell me in your own words the definition you use for opinion.

You had me define it in my own words and was able to tell me I'm wrong but you never gave me the same chance.

There's a reason why people throw their hands up and say "it's just my opinion!" when they're blatantly wrong about something. It's a phase used to indicate they don't care about facts and they don't have to defend their position, which I thought was the common definition of opinion: a position one holds even when the facts say they're wrong.
I was quite surprised to read that about a quarter of the participants weren't able to delete an email in their email app (the "Can't Use Computers" group). This was 2016, though, so maybe things have changed drastically since then. Does anyone know of a related, but more recent study?
It wouldn't. Databases are fast, python is slow.
I would say Heartbeast's courses are overall much better than your typical tutorial content, primarily because they are structured and built like courses rather than tutorials. I paid for a couple of his courses a while back after doing one of his free ones and do not regret it, they were excellent.
> The ads were EVERYWHERE and people I knew who had never even owned a games console were buying the PS1.

https://www.penny-arcade.com/comic/2001/06/06/the-sucking-or...

“When we saw the first commercials for the Playstation — glitzy, MTV style affairs that spoke to the sort of people we weren't — we began to worry. They were selling our heritage to the same fucking guys who used to beat us up in P.E.!”
I'd much prefer "syncing" to be something I set up once, and then forget about it.

If it is "anything I want to do to keep it synced", then I'll be half-assing it forever, losing notes and so forth. Already doing that, and the 500 pages of notes from 3 years ago on Google drive, to the "attach it in Gmail to a draft so I can look it over at home", hell even a few somewhere on iCloud. For some things others might be interested in, I've even got a few github gists.

This, for me, is a problem that is central to notes software. It might be the one problem that makes or breaks them. At least with the pricey subscription garbage apps, they know enough to know that I don't want to have to think about syncing.
Does anyone know of comparable, up-to-date research?
Maybe get rid of them in clothes and personal care products at least?
True, but it's the best ORM currently available for any language. It might not be the fastest, but it is the one that's has the highest level of developer comfort.

Using Django is probably the reason why I can stand using SQLAlchemy, it's way to complicated for everything I do and it's just not a nice an experience.
It's unfortunate that pretty much all decisions become precedent (given that Canada/Saskatchewan has Common Law). In a case like this where the farmer responded with the thumbs up emoji, claims it was only to signal "ACK'd and will respond later", but didn't respond with "yes" or "no" afterwards, I suppose it's fine to assume that the thumbs up was a sign of legal/contractual assent and he's trying to retcon what actually happened.

But do you want it to be codified as precedent that signing with a thumbs up is a valid legal signature? Also, the meanings of emoji change (see the sexual connotations that many emoji have picked up since their release - those connotations weren't present on day zero), so how do you protect against that?
> Managers are positioned higher in the hiearchy

What hierarchy? Are you talking about the org chart? I don't see that as a hierarchy in the sense I think it's being used here. It's just a description of who is managing who, not of "rank" in some sort of militaryesque sense. My manager is not my "superior". He's the person responsible for ensuring that everyone in his department is working in an aligned manner, and for ensuring that everyone has the fewest roadblocks possible.

> That particular job can fire you, in most cases.

Well, he can't, really. He can recommend that I be fired, and his recommendation carries a great deal of weight, but it's not his call. But ignoring that...

I don't see how that's very relevant. But perhaps I'm just being misled by the use of the term "rank". That implies a superiority of some sort to me, and that superiority doesn't exist. It's just a different job, is all.

It also implies that "manager" is a rung up on a ladder, and I don't think it is. It's a different job altogether, not an evolution of the job I have.
Going off on a tangent, but still related to national cuisines, a few years ago Spanish speakers in the UK would find it hilarious how many restaurants and pubs would call their vegetarian alternative to chile con carne... wait for it... veggie con carne.

I haven't seen that term in the wild recently. I guess they eventually realised.
Even amongst engineers some concepts cannot be understood until you decide to “implement a replacement” from scratch. Around 60% of the way, you figure out your design and coincidently understand the design of the thing you previously didnt understand.

However during this journey, you may discover a better method. The other group also came to realise this, but since they invested so much into the origal design, they continue down that path. True refactoring only happens when disgruntled former employees decide to quit and reengineer the solution, this time they create a better product.
It's definitely just using standard semantic search (otherwise you wouldn't be getting links). "What is glacier storage" gives you a great response.
#3 place, 44 Court St., is directly opposite Brooklyn Borough Hall and the Kings County Supreme Court.

A friend of mine who had been a reporter for the NYT told me it was official policy that all reporters' parking fines would be paid by the newspaper if there wasn't a free space anywhere otherwise -- to never miss a story because of parking.

So that doesn't surprise me at all.

EDIT: see my response below, I forgot it was a general rule but I think fire hydrants were an exception because of safety. So probably not applying here at all, sorry
> You can ban the sale of products containing PFAS [...]

"Per- and polyfluoroalkyl substances (PFAS) are a large, complex group of synthetic chemicals that have been used in consumer products around the world since about the 1950s. They are ingredients in various everyday products. For example, PFAS are used to keep food from sticking to packaging or cookware, make clothes and carpets resistant to stains, and create firefighting foam that is more effective."[0]

Should we ban those uses, outright? Q: What do you suggest we use instead?

[0] https://www.niehs.nih.gov/health/topics/agents/pfc/index.cfm
Yes, $10 per year was just a number, but maybe not too far from the truth. I've seen estimates of $5 to $30 to $300 per user and year for sites like Instagram.

Something for $10 per year is usually a promotion, and maybe a good place to get started. Since the social media giants have been giving it for free for a decade...
Boiling can _increase_ dichloroacetic acid. If it were run through an RO first, then this is likely less of an issue.
What was wrong with Visual Studio Code?
Oddly enough, it's still possible to have 12 metres or 12 tonnes within the metric system. I realise this is baffling and confusing to Americans but it's really true!
Which is exactly the way Python is meant to be used and has always been used.
Yes this code was very straightforward to write and this approach lends itself very well to read-only databases of large datasets with no server infrastructure overhead. It's also "free" to host for the time being.
> Security scanners and other tools could adopt various heuristics to detect this sort of situation and reduce false positives [...]

Wrong. Flat out wrong.

Security scanners should adopt LESS heuristics and focus more on VALIDATING their perceived findings. Getting a 200 response for a missing file is a web server misconfiguration, but unless the returned data actually matches, it's a false positive.

I may be repeating myself but any scanner (or researcher) who blindly raises a finding without validating it has as much to do with security as ripping wings off a fly has to do with bioengineering.
You're joking, but jokes on him! I can ping some of those IPs, right now!

A good example of how security through obscurity helps, they'd better get that fixed!
Hopefully this new 'the Government can't compel companies' trial shuts this down as well

https://news.ycombinator.com/item?id=36614678

Either corporations are allowed to be 'pressured' by the government or they aren't. But of course the legal system will make themselves a nice carveout for their uses like always.
The anecdote I have is that one of my grand daughter's teeth are worse than my other grand children and grand nieces and nephews. She used RO water more than the others when she was younger, and her dentist reinforced the idea that RO water was unfriendly to early tooth health, apparently due to reduced fluoridation. I'm not suggesting that is worse than forever chemicals.
AI has obvious advantages over CS people in:
* always available
* never get emotional
* consistent
* elastic (could be added or reduced at will)
* centralized improvements (once stronger, always stronger)

So as long as AI is good enough for a CS scenario, such as checking the bank account balance, it is a better option.
Neon is a great suggestion. I'm just writing to add a bit more color.

Neon is a bit different from PlanetScale. With PlanetScale, they're running Vitess under the covers. Vitess is a proxy that sits between you and the MySQL database. It means they can do fancy things like rewrite the queries on the way to the database or route them differently. For example, a "SELECT" query could be sent to a replica instate of the primary. Likewise, if you've sharded/partitioned your data by customer_id, Vitess could see the query says "WHERE customer_id = 5" and send it to the correct server. This proxy also means that Vitess can seamlessly manage some things for you like failing over to a new database or bringing online a new replica.

Neon is a decoupling of storage from the database processing. While Vitess still has MySQL storing the data, Neon changes the storage so that it can separate data processing and data storage. This is somewhat like Amazon's Aurora.

If you're interested in other PostgreSQL compatible options, CockroachDB is PostgreSQL compatible, but is more of a fully distributed database from the ground up rather than new layers like Neon or PlanetScale.
The answer is to have an allowlist but that's a political nonstarter.

If we cut plastic use to just medical devices and food storage that would be a massive win.
Like it but renaming would be a good idea for obvious reasons.
Someone should explain to the journalist who wrote this article that an award of damages in a civil lawsuit is not a fine.
Yes, indeed! This has been bugging me and I've fixed it. Thank you.
Example: Hatch Act provides that persons below the policy-making level in the executive branch of the federal government must not only refrain from political practices that would be illegal for any citizen, but must abstain from "any active part" in political campaigns.

In Garcetti v. Ceballos, the Supreme Court held “that when public employees make statements pursuant to their official duties, the employees are not speaking as citizens for First Amendment purposes, and the Constitution does not insulate their communications from employer discipline.”

Obviously, speech and debate clause controls for Federal Congress members.
I'm aware that OSI believes it has a monopoly on the term. I was more polling the general tech population on their own internal definition of open source. I may have worded the poll poorly -- I tried to avoid imparting any preconceived notions. But I probably should have worded the title: what does the term "open source" mean to you?

From my small user surveys, "open source" means a lot of things.
Looks awesome, can’t wait to try it out!
"Maybe I'm getting old, but it seems so foolish to apply legal power to a picture of a thumbs up when an eggplant colloquially means "penis" and a leaf means "weed".

So we can agree that some emoji hold well-understood meanings. In the same way that some letters strung together can hold meanings. Any reasonable person would understand the meaning of a thumbs-up emoji in response to "please confirm flax contract" (and no other response).

The precedent, if anything, is acknowledging that people can, and do, communicate with emojis.
Show HN: Ngnr.club – A link-in-bio service for engineers
Google can now use any information posted online (Publicly available). To help train their AI models. Which before was focused specifically on language models. Effectively putting a price on your data and increasing privacy concerns.

Google's shift in policy is going to start to be the norm. As companies begin to have more and more of an appetite for data. And AI models continue to advance.

A big issue here is online privacy. What does that even mean nowadays in the world of AI and data capture? Who knows…

Just always make sure you are keeping in mind what goes out on the web. Because you never know what will happen to that data.
It's not part of SMTP, it's part of the cludge of anti-spam measures we bolted on top of it.
> When they stop being corrupt.

So never, probably.