skysight-inc/HackerNews huggingface dataset:
> Confession: something about ORMs has never clicked with me.. none of them ever seem simpler than SQL.

I tend to agree, I'm more partial towards Micro-ORMs, ideally with a 'natural' DSL; something that is a good blend of 'SQL'-ness and 'target_language'-ness.

I can think of SlickDb (Scala), Linq2Db (C#), Ecto (Elixir) was good if definitely 'elixir-y'... IDK what other languages have such magical things; I know all of the above lean heavily on certain language features to provide their magic.

In the case of SlickDb, while I don't write Scala I read a lot of it, and could always understand what it was doing. In the case of Linq2Db, it just plain has a DSL that is 'close enough' to SQL. I love it and have saved multiple teams from EF with it. Ecto, as mentioned above... it wasn't -bad- but definitely walked the line of 'just write SQL' to me. (I'll admit however I am at best a good elixir app -maintainer-...)

In general,

- 'object tracking' is bad; I have yet to see a good use case where it doesn't wind up masking scope of modifications in the long run.

- 'overly native' DSLs are usually bad; the closer a DSL is to the 'metal' of SQL, the less likely you are to be surprised by the generated SQL (e.x. the 'surprises' of linq2Db tend to be far fewer than in, say, Entity Framework)

- If your language doesn't have a good DSL-providing MicroORM... try to find a basic MicroORM that just takes SQL, and write tooling around it.
I think he got enough patreon types that he basically moved all his effort over there. He bought a CNC machine for the channel and then focused on the people who gave him the money for it.
I think you're misunderstanding. The problem is that payment processors will not do business with "unsavory" customers. It's not about curation or moderation, it's that any porn-adjacent business is locked out of the economy.

Me scrolling through gab won't make visa more accepting.
You don't have to use structured concurrency. The two methods use a virtual thread executor and return the result of submitting work. Structured concurrency is great but not necessary.

https://www.reactivesystems.eu/2022/06/17/introduction-to-pr...
I understood about 20% of that but I really appreciate the comment.

Are there any companies doing pioneering work on this now? What aspects of FHE does your employer do? How would you say the future is looking for FHE?
In 2 years, Cloud will likely have larger profits than most companies in the S&P 500.

Sure, Google hasn't done anything.
"Public toplessness is also legal in most of the United States."

Sort of. Many states don't have laws specifically against it, but some of the ones listed as legal on that map may not actually be (PA should be marked yellow at best). Most of these states also do not appear to restrict localities from enacting their own ordinances (obviously excluding under the jurisdictions where the courts have ruled).
Ask HN: What websites do you visit for fun?
>This is not ... hard. It's the same logic as decimal multiplication/division on paper.

Do you really think tests where you gotta solve several divisions and multiplications on paper in hex and binary with no aids under time pressure is approachable for every 11 year old who just starts to learn about CS?

It's good to learn and know how such operations are done, but those tests were the bane of my 11 year old childhood.
You're creating a really difficult causal link. Does the US' military create peace and prosperity?

I would disagree with your assessment of that for Ukraine.
I love brown noise! I've used it for about 10 years.

I simply cannot read on the train or in public spaces without it, and I don't understand how people can. I find it magical at blocking out all those distractions. If it were socially acceptable/not dangerous I'd totally make some sort of hat that blocks out peripheral vision too :P

But I worry I've become too dependent on it for sleep. I now found I can't sleep without brown noise and ear plugs, and I have to take a speaker with me on holiday.

Btw forget all those fancy "white noise" speakers. A cheap bluetooth speaker with a free app does the trick just fine, and you get access to way more sounds.
YouTube was one of the 10 most visited websites on the Internet when Google bought it (IIRC, #4)
Evidence means scientific studies, not 'people talking'. A hundred years ago people would have told you that corporal punishment is good for kids, whereas studies now clearly show the opposite. [0]

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3447048/
Authorities go after the lowest hanging fruit or the most visible. Targeting the most visible feeds back into peoples perception that if they commit a crime they will get caught.

The authorities are strategic in their approach but at the end of the day they are operating on finite resources.

The advantage the authorities have though is that they are playing offence. They can make plenty of mistakes and still achieve their objective.

Criminals just have to make one mistake and it can undo all the she effort they have made to mitigate risk.
the breadth of knowledge of the visual word embedded in these lines and what they unlock is astounding

-the point
> I took the metro as far as I could go, which is about half-way,
> and a bus from there. The center of Bucha all told is about 30km
> from the center of Kyiv.

An aspect of the Ukraine war I'm still having trouble wrapping my mind around is how close (geographically) everything is. I thought of Kyiv along the lines of London during the Blitz -- in danger, but not necessarily on the front lines -- and of Bucha as perhaps a town along the road from Russian territory.

But in truth it's more like a suburb. The distance from Bucha's rail station to the Office of the President of Ukraine is about the same as San Francisco to Millbrae.

It puts into perspective how fraught the early days of the invasion were, and the true weight of Zelensky holding his ground in Kyiv.
As opposed to the domestic email providers that willingly hand over private info when they ask politely?
“What did you get done this week” has to be the most alpha 500 IQ shutdown I’ve ever heard.
Those laws are irrelevant, see the Snowden leaks. NSA and other agencies operate in the shadows and/or directly fund the companies mentioned above.
There's this going on right now:

https://rmx.news/germany/german-domestic-intelligence-agents...
Let me copy vetbatim: You have at least one alternative. You, the freest people in the world, are not using it. Not enough censorship there.
What AAA games would even run on an M1?
Even if all fiat currencies went away and the entire world was on a Bitcoin standard, countries would still have standing armies, just as big as they have today, to protect their hard assets. The stuff you buy with money, like oil, gas, farmland, factories, and so on.

In the absence of an army, you can have all the Bitcoin you want, and still be dirt poor because somebody else with an army can just waltz in and take your stuff.

So I find it laughable to claim that the cost of standing armies should be tallied up as an operating expense specific to fiat currencies.
Germany's fucked, been trying to get an independent strategic position for 100+ years and continually sabotaged by Anglo-Saxons.
Arbitrary indexing is fine as long as people are sane about how they do things and don't assume. In almost every language these days you can use this or something analogous:

for x in some_collection

Which is great if you don't need the index, and if you do need the index then you want the equivalent of:

for i in some_collection.range

or

for i, x in some_collection.enumerated

Being forced to use 0-based or 1-based or even strictly integer-based indexing is the wrong thing. If you want to use characters/runes as your index you should be able to. If you want to use some enumerated type, you should be able to. And if you want some subrange of one of those, you should be able to.
You cannot "show nuts" on Gab, from their ToS you may not:

Be obscene, sexually explicit or pornographic. Note that mere nudity e.g. as a form of protest or for educational/medical reasons will not fall foul of this rule.
>That's a defeatist attitude.

It's called being realistic.

First, think of the stupidest guy you can think of and understand half of humanity is stupider than him.

Second, think of simply how many people and cars are on the road at any given time. Counting would be a fool's errand, to say the least.

Third, understand that driving a car is not something that comes naturally or instinctively. Some might be more talented drivers than others, but we all have to learn how to drive a car to varying degrees of competency.

Fourth and finally: Murphy's Law.

When you combine all of these together, it's a miracle that we aren't seeing several orders of magnitudes more car accidents on a daily basis. The old saying that you're more likely to be in a car accident going to the airport than the chance you'll be in a plane accident is based in reality.

If you get through life without being in a car accident, I reiterate you were a lucky bastard and I would sincerely be happy for your good fortune.
Thanks for explaining. You made a claim outside of your personal experience, so expect to be asked to back it up. I’m not sure why you’re surprised.
Lawsuit Funder Marks $500M for New Patent Dispute Bets
Most CISSPs I interview can’t tell me the difference between the two most common types of encryption
I used to maintain the Chromecast app of a decently sized streaming company for years, and oh boy. I damn near lost my sanity working on that thing. The app was broken repeatedly by silent firmware/OS updates pushed from Google, and trying to regression test updates across devices and versions was as close to hell as I've ever been.
Gab has it’s own payment processor, open to others, no need to rely on Mastercard and to be locked out of economy. Or so it seems to me.

https://help.gab.com/article/gab-pay-overview
This is FUD, but don't discount the fact that the 'easy' path to catching this criminal could be fabricated in order to hide the real, more intense, methods used by the authorities to uncover Jareh.
A oft-told tale in FB. Zuck rewrote memcached for FB in 2005. Either you or he is slightly misremembering the story.
Why do you need to wonder at this point? It's obvious that they do, we know that much from the Snowden leaks.
It is significantly better. The issue with futures is chaining them together and having to thread continuations by hand. Async/await is an improvement over that, but when you can just block instead they become much nicer to use.
I had a very productive conversation with "Elon Musk" about Neuralink. I was surprised it was able to answer my concerns and questions around Neuralink. I asked about concerns of the battery exploding.

Me: How will you prevent the battery from leaking or exploding?

EM: A few different ways. The first is by using a very robust casing made of a strong material. The second is to make extremely high precision seals at all connection points around the edge of the battery compartment. Then there's some basic steps like only using lithium iron phosphate for the battery instead of more dangerous lithium ion types, and making sure the battery cell is welded shut to prevent any leaks.

Me: Is Lithium Iron Phosphate safer for batteries than Lithium Ion?

EM: Yes. A lot of LiFePO4 batteries (lithium iron phosphate) use glass fiber or ceramic electrolytes rather than organic solvents that can burn when exposed to the air. For that reason, I believe these types of cells are inherently safer and have higher charge/discharge cycles than liquid-filled Li-ion cells.

Me: That's interesting.

EM: Another thing about the battery is that, even though we make it very large to enable long battery life, it's physically very small (think about the size of a quarter/25¢ coin). A lot of people assume it will be huge given the high capacity, but the battery is packed extremely densely, and that enables a high capacity in the smallest possible package.

Me: Do Lithium Iron Phosphate batteries exist yet?

EM: They do! It's an established technology. We actually bought the company that produces the batteries a few months ago which helps with supply and gives us more control on our own. We're working on making a much larger facility that could help reduce any potential global shortages.

Me: Wow. That's incredible. How many future-tech companies have you acquired in the last 18 months?

EM: I'm not sure the exact number, but quite a few... There was a pretty interesting one I recently heard about, which was basically an artificial retina. It was a medical device made by a company called Pixium Vision in France, and it really does incredible things. Imagine someone who is effectively blind or has very limited vision, being able to actually see. It's pretty amazing.

Me: Wait, you bought Pixium Vision?

EM: I did! It's an extremely high potential product, and so it was really an easy decision to acquire it. We'll be working closely to make sure that the patients get it as soon as possible.

The thing I really love about the Pixium Vision, is that it actually delivers better than natural vision. The reason is that it's a camera which is mounted on glasses and can see a huge amount more light than the natural eye.
JDK methods can be annotated as "internal" and optionally hidden in stack-traces, but in this case it's unnecessary. The fork call takes place on the parent thread and isn't part of any stack trace when an exception in a child occurs. The regular structuring of exception stack traces takes care of the rest.

Remember that Java has been multithreaded since its inception, and virtual threads don't change any of the threading model. They just make Java threads cheap. It's as if they've been there all along.
You are 100% right. My fault. It wasn't originally "originCommunity", it was more current community, and when I did the rename I wasn't careful. I need to add a new field for that. I apologize and have created an issue to start the process of getting these and others fixed (https://github.com/breck7/pldb/issues/145)
Maybe they’re after some Highlander style planet where « there can be only one »
saw a CISSP who didn't know the difference between a SHA256 checksum and SHA1 or even how to hash a file using openssl
Provably efficient ML for Quantum many-body problems
Q: Should I buy an Android phone or an iPhone?

Nathan Fielder: In my personal experience, iPhones are vastly superior. It's not that they perform better or have more sophisticated technology, it's that iPhone users have more confidence and this confidence translates into real performance in every facet of their lives.
Exactly, the co2 sensor in my home office really only needs a few levels:

Windows have been open with fans running for a while (~430)

Windows have been closed for a short time (~700)

Windows have been closed for a long time (~1200)

Windows have been closed and someone has been cooking downstairs on the unvented gas stove (~4000)
Somehow businesses marketed effectively before individualized ad tracking. I don’t think the world is going to end.
>"If you're a publisher, you take liability for your content and can edit it at will. If you're a utility, you do not take liability for your services, but you cannot pick and choose which customers you service so long as it's legal."

Would absolutely vote for this assuming it starts when the company reaches some size.
Maybe not so much to get the best product out of each but to isolate the dependencies behind micro-service interfaces. Make comparisons and if one provider seem to be clearly the cheapest yet good enough then move more services to them.

SEE also: https://levelup.gitconnected.com/how-we-reduced-our-annual-s...
They said it could be done, and even said how...
These things make me sad. Not that the results are anywhere close to good enough to replace a human artist yet, but eventually it'll probably be at a level that's good enough for most people, and that'll be the day when music will be truly disposable. I imagine an endless stream of music equivalent to the average Netflix-produced movie. Perfect for people who want music to play all the time without actively listening to any of it.
What are the benefits of using nodejs over Java?
for the record, i really don't know much about threads, so the following questions are probably kinda stupid.

first question: so, as the article states, the ONLY performance upside of virtual threads (versus os threads) is the number of inactive threads, thanks due to lower per-thread memory overhead.

for some reason i was expecting to read something about context switching cost too.

as far as i understand, virtual thread context switches are most likely between a lot cheaper and roughly as expensive than their carrier thread context switches, depending on how much memory has to be copied around and how to find the next thread to execute.

the problem here is that virtual context switches may be cheaper, but have to be executed in addition to the os thread context switches, so the overall efficiency is actually lower because more work is spent scheduling (os vs. os+virtual).

to minimize this it might be possible for privileged applications to disable os thread context switching for the carrier threads as long as there are active virtual threads. that way, the context switching and scheduling overhead is reduced from "os vs. os+virt" to "os vs. virt". i.e. as soon as there are active virtual threads the carrier thread is excluded for os scheduler until there aren't any active virtual threads anymore (or, alternatively, the virtual thread pool is empty).

is this a thing? does this make sense? would it be worth it? do operating systems even support "manual" (i.e. by the app) thread scheduling hints? or are the carrier threads only rarely taken out of schedule because they're not really put to sleep as long as there are active virtual threads anyway, making this a non-issue?

second question: as far as i understand blocking os threads, the scheduler stores which thread is waiting on which io resource and the appropriate thread gets woken up once a waited-on io resouce is available. this is not much of a problem with with a few hundred or thousand os threads, but now with virtual threads, the io resource must now be linked to the os thread for the virtual thread executor's scheduler by the os and then to the virtual thread waiting on the resource by the virtual thread scheduler. so for example if there are 100.000 inactive virtual threads waiting for a network response and one arrives, the os scheduler has to match it to an os thread first (the one the vt scheduler runs on) and then the vt scheduler has to match it to one of the virtual threads. i.e. two lookups in hashtables with 100.000 entries each (one io to os threads, the other io to vt). is this how it works or do i misunderstand this? as async models have the same issue but work fine i guess this isn't really a problem in practice. also, as far as i understand, the os thread woken up is given a kind of resouce id it's been woken up for, instead of "well, you went to sleep for a certain resource id so it's obvious which one you've been woken up for" in blocking IO).
Wow I just read the whole thing and it sounds like an unhinged student’s Facebook rant.

How is this even getting past the editors at Gizmodo?
> How do other crypto projects solve that?

By pre-mining the majority of the coins to ensure that the project owners collect the bulk of the profit of any token appreciation.
Well, average definitely depends on where you live.
Yes. I have used Matrix professionally for years and it's pretty simple for me to understand and follow what is unnecessarily editorialized here to keep my conversations safe. I don't understand why this language is not being simplified to keep Matrix users safe, as that should be the highest goal of this entire situation.
What do you mean there is no evidence?

https://snowdentheplay.com/wp-content/uploads/2014/06/2.jpg
But the language they used wasn't ambiguous. They said they were committed to it. If they want to give themselves wiggle room to backtrack on decisions based on performance, they need to find a way of being enthusiastic without making it sound like they are going long on the tech and the platform.
Mirror for those that get blocked by the dreamwidth ddos "protection" like me: https://archive.ph/mLhYa

On the subject, I am typing this response with a PS/2 keyboard from 2003. I use an old computer with old software. Which is why dreamwidth blocked me.
I don't! I know Xfinity does this today, and I'm guessing copied Fon's model.

I think it goes to my point about breaking ToS: ISPs sell Internet. They don't want to compete with their own customers reselling that Internet. That's the business they're already in! Instead what Xfinity did is made it a value-add for customers: wherever you go, if you're near an Xfinity router you can get free wifi.
lol. Most aren't even getting a whole dollar. At the warehouse where I work, long-term (3 years+) L1s get a whopping 65 cents.

I think literal slaps to the face would be less degrading.
as with other stings where an FBI counterintel agent has been pretending to be an employee of a foreign government, probably he thought he was leaving material at some super secret sneaky spycraft dead drop in WA DC for a non-official-cover employee of (russia, china, whatever) to pick up.
> constraints like "how to make sure each running execution context gets a fair share of time and can't lock up the VM

IIRC that's because it preempts based on reduction counts rather than waiting on some thread to decide to yield itself.
It's not just air quality sensors. Got some wifi thermostats some years back. Oops--they draw too much power. At least it's consistent, we set them two degrees above what we actually want and and they work fine.

And we also have an example of the problem of air circulation. We have a wireless thermometer (a quick check if it's cool enough to open the windows) that's in a weather enclosure that admits a decent amount of air and sitting under a tree (keeping it out of the sun and away from big masses of concrete--it's simply impossible to properly place it in our yard) and it can be up to two degrees off because of lag.
It’s a difficult situation for sure. Fwiw, anything that requires compassion and understanding, I am loathe to rely on state/govt for it. Here is where community needs to come together to find creative solutions.

Some suggestions:

1. Move to north bay or another area where it is more affordable. Whole Foods probably will allow transfers.
2. Can he upskill? Certificate courses or some such?
3. Can he get or can someone pitch in to get him a gym membership?
4. Will he be able to rent a room?
5. Room mate situation with someone?
6. Can he take driving lessons and obtain a license?

Perhaps you can help him get a license or a gym membership? If he has the money, it’s a small amount. Stability and community is very crucial for housing vulnerable folks.

There can be other jobs like house sitting or caretaking or pet sitting. There are many jobs online that also pay these days.

Best of luck to your friend.
Have you seen the kind of disgusting comments the average female gets on YouTube? I think this is a good way to sidestep that.
Ask HN: Is there a way to prevent someone to read the Docker volume from ECS?
Like encrypting data?
Well, attention and aligned text+image datasets and diffusion processes... (and a fanatical devotion to the pope.)
And every apartment building, and every fast food restaurant... Why Everywhere in the US is Starting to Look the Same: https://youtu.be/UX4KklvCDmg
predictions aren’t always accurate
That's why the were called PS/2 mice and keyboards. I still have a couple of serial-to-PS/2 adapters here somewhere.
So do I understand you correctly that you're ok with government exerting control over private companies to achieve progressive goals? You just don't want to expand the power of those like myself who spout fascist propaganda?
Not everything it's just that Bucha is actual Kyiv suburb
I'm impressed that you can do all that with only 16Gb RAM.