skysight-inc/HackerNews huggingface dataset:
You don't need placeholders. Can you explain why you're thinking about placeholders?

For using move, the most straightforward way is: pushes and pops go directly to the big array. For every push you also move one element from small to big. For every pop you also move one element from big to small. This is slightly different from the algorithm above, but basically equivalent.

Let's say you start with 32 elements in one array. If you grow into a bigger array, then by the time you add 32 more all your elements will be in the big array. If you shrink into a smaller array, then by the time you remove 16 all your elements will be in the small array.

> (say you have a grow sequence which gets you almost ready to make the 64 array the small one and then a series of pops back)

So let's say after the pushes we have 60/64 elements in the 64 array, almost full. There are also 2/32 in the smaller array.

Then we do 10 pops. Now there are 40/64 in the bigger array, and 12/32 in the smaller array.

Seems problem-free to me.

If we keep doing pops we end up with 0/64 in the bigger array and 32/32 in the smaller array. At this point we could push again, or we could promote the 32 array to 'big' if we need to pop.

When the arrays are size 32 and 64, the logic to access an element looks like this:

n = total number of elements

x = the key of element being accessed

if ((x % 32) < (n - 32)) return big[x] else return small[x]
> Rust's typesystem, on the other hand, can really get in the way and make code more opaque and more difficult to understand.

I don't disagree with the premise of your post, which is that time spent on X takes away from time spent on security. I'll just say that I have not had the experience, as a professional rust engineer for a few years now, that Rust slows me down at all compared to GC'd languages. Not even a little.

In fact, I regret not choosing Rust for more of our product, because the productivity benefits are massive. Our rust code is radically more stable, better instrumented, better tested, easier to work with, etc.
The analogy is fine for explaining entanglement. Sure it's more complicated when you consider superposition.
> Lots of people didn't think that segregation would ever end, nor that humans would walk on the Moon, nor expected the Soviet Union to fall... yet they did, surprising a hell of a lot of people by how quickly it happened too.

It's an important point.

The US rapidly legalized gay marriage at the federal level once serious momentum had begun. That's despite only modestly above half of the nation strongly supporting it at the time (according to polls anyway). There has been no war over it, no great social rebellion, no states attempting to leave the union, no mass acts of anti-gay terrorism over it, no religious revolt. Trump had zero political interest in attempting to turn it back, there was nothing to gain from that because there isn't much support for rolling it back. Not much happened at all overall, there have been very few negative events related to it culturally. Only a few years prior to that legalization, the liberal President was still publicly against gay marriage on the campaign trail.

Obama changed his position to supporting gay marriage in 2012, shortly after Biden did. Gay marriage was then legalized in 2015. It was nearly unthinkable that that was going to happen as recently as the 2004-2008 political timeframe. In ten years it went from only half of Democrats supporting gay marriage (2005 per Gallup), to being legalized nationally.

It's always worth considering how many people answer as they do on polls because they're afraid to be openly out of majority alignment, yet they may support a position quietly or otherwise not oppose it (meaning they'd never actually pose any cultural resistance to change). That's exactly what the case was with marijuana legalization; serious opposition to legalization was never as great as it was portrayed to be. And that may also end up being the case with psychedelics, perhaps with more regulations (I'd expect the public to be more leery than with marijuana).
How to make a leather piston seal (2007)
Hey Gen Z, btw the internet is a rhizome – just fyi
I know these projects are cool and I'm not slighting it at all. It's work and it's hard.

My confusion with these things (through a school or on your own) is how often do these continue development? How many were done at semester end, and thusly dropped forever? It seems like engineering without a long term purpose. I knew a girl who make a robotic face that makes expressions for helping people with autism. Upon graduation, she now makes websitesand doesn't help autistic children with her project.

It just feels like these endeavors are for personal clout and not to actual do good. And for some reason in this society we champion this behavior. It makes no sense to me.
absolute useful, helpful feed

Thanks much, more importantly may God reward you
Last time I checked, blender didn’t do solid modeling or understand tolerances - has this changed? Can it really be used for industrial design, or is it really just a competitor to the animation software that autodesk makes?
I imagine they use one exploit to get code execution in iMessage, then another exploit to escape sandbox and execute code in kernel.
"Good people on crack are more likely to do bad things over time. Bad people on mushrooms are much less likely to be worse than their usual selves (based on studies)."

Of all drugs, legal and illegal, the drug that is most associated with violence is alcohol.

Yet most people don't get in to a moral panic over alcohol anymore, as they used to during the original Prohibition of the 1920's.

We've learned from the original, failed prohibition of the '20s. We understand that when people abuse alcohol it is a medical issue, not something to throw people in jail for.

We need to learn the same lesson about all the other drugs, almost all of which are far less harmful than alcohol.
> It's notable that proposals for racial equity listed in their Strides never mention that Asians even exist.

So? It doesn’t purport to enumerate groups that exist, it identifies groups for which it contends structural barriers in pre-existing approaches for which corrective measures are proposed. And those groups identified overlap Asians, though Asians qua Asians aren’t among them (the groups are Black, Latinx, and multilingual students.)

But since you raise that document, on the more substantive hand, it’s notable that a standard conservative complaint about common teaching methods allegedly encountered under “Common Core” standards (which is not a feature of the standards themselves) is present as one of the features of “white supremacy” in teaching against which the document is directed.

---[quote]---

White supremacy culture shows up in math classrooms when...

Students are required to “show their work” in standardized, prescribed ways.

Math teachers ask students to show work so that teachers know what students are thinking, but that can center the teacher’s need to understand rather than student learning. Teachers should seek to understand individual student perspectives and focus on students showing their work in ways that help students learn how to process information.

[...]

The point should be to have a dialogue about their process and their learning, not require every student to follow the exact same path to the right answer.

The child of immigrants might have learned a different way to solve a problem because that’s how their parents were taught where they grew up. If we just tell that student their way is the wrong way, we risk turning them off to math for life. If we take the opportunity to explore why there are different ways to approach the same problem, it can be a learning moment for the entire class.

---[end quote]---
I realize this was in hypothetical terms, but do fry machines really cost $50k!?
> I'm not sure how any private enterprise can compete with that.

By paying more, of course.
I'm guessing the "convulsion" he's talking about was just adrenaline tremors. I had these a lot after panic attacks, my legs would shake like crazy. The thing I read that basically made them disappear was that if you watch animals like a zebra or something after they been chased by lion... they usually twitch and shake all over. I used to get really upset and more panicky when they happened which just made them even worse.

It's a completely normal response after an adrenaline rush and it's actually a sign that your body is calming down.
Yeah CEQA is why the high speed rail project will never get built. It grants godlike powers to NIMBYs in California. Every single mile of the high speed rail project has the potential to get stuck in CEQA hell.

https://en.wikipedia.org/wiki/California_Environmental_Quali...

"In one case, anti-abortion activists filed a CEQA lawsuit to try to block a new tenant (Planned Parenthood) from using an already constructed office building in South San Francisco. They cited the noise caused by their own protests as the environmental impact requiring mitigation. This lawsuit delayed the new tenancy by at least 18 months."

"Governor Jerry Brown, in an interview with UCLA's Blueprint magazine, commented on the use of CEQA for other than environmental reasons: "But it’s easier to build in Texas. It is. And maybe we could change that. But you know what? The trouble is the political climate, that's just kind of where we are. Very hard to — you can’t change CEQA [the California Environmental Quality Act]. BP: Why not? JB: The unions won’t let you because they use it as a hammer to get project labor agreements." "
Yeah, please see https://news.ycombinator.com/item?id=27898421

Having watched the video, I'm fairly certain what is being observed is not really tiled.

I'm not however sure what a "tile-based immediate-mode rasterizers that buffer pixel output", but I think that's enough qualifications to make it somewhat meaningless. All modern gpu's dispatch thread groups that could look like "tiles" and have plenty of buffers, likely including buffers between fragment output, and render target output/color blending, But that doesn't make it a tiled/deferred renderer.
It's much easier to support off-the-wall interactions and new game systems naturally in a MUD.

By that, I mean... adding a new race (for example) in a graphical game requires art assets, animation rigging, sound design, and ALSO the programming side of it. There may be follow-on work too, like producing equipment models that suit the new race's dimensions.

In a MUD, you just program the new race, and off you go.

This ability to iterate quickly, with a lower barrier to ideas, means that you can try all kinds of things on a very low budget.
If your expected return on investment is negative, isn't the rational decision to not invest in the first place?
It's like we learned nothing from years of suffering with snowflake Ant builds.

Then again, gradle builds seems to be more popular than maven these days.
It's akin to envisioning profit models for open source software.

They're out there, just keep looking.
Given the general tone of comments here, I thought it worth pointing out the advantages of using deps.edn instead of a Leiningen project:

- REPLs start up very slightly quicker
If the governments can't ban exploits, perhaps they can ban writing commercial programs in memory unsafe languages? Countries could agree on setting a goal, e.g. that by 2040 all OSs etc. need to use a memory safe language.
If you have an object that has only one field, it still consumes at least 3 words of memory; 2 for the header, and 1 for the field. That's a 200% memory overhead. Of course that's extreme, but I've seen estimates as high as 40% of memory space the heap in large Java applications is just object headers. You probably need at least 1 header word in any scheme, but 2 is wasteful IMHO.
I recently tried to figure out how to transfer some GBP in to a crypto asset and couldn't find a way to do so without losing 3% or more.

Direct GBP pairings didn't exist, so choices were either go through a USD denominated service or through multiple pairings, losing a high % each time and/or gas fees in uniswap etc.

None of the forex efficient services like Wise or Revolut will wire money to US crypto exchanges.

In the end I didn't bother. People really underestimate how quickly regulators can snuff out mainstream crypto.
There wasn't necessarily a hack, I don't think how the information leaked has been shared.
For a second I considered that I was arguing the same as a spook trying to unmask
Insurance companies easy to hate. It's harder to vilify the doctors because people have a more personal relationship with them. Also, many people don't realize they're paying the doctor in the US 300-500% more than other countries where they would receive more or less the exact same level of care. It's not just hospitals charging ridiculous amounts... going to see your PCP for a sore throat can cause a $200 consultation bill to your insurance company. The $25-50 co-pay you're paying out of pocket is just the tip of the iceberg of what these doctors are charging for routine, unremarkable services.
Jeasus fn christ HN users are so FN pedantic...

Sure innovation IS good -- but in this case - we have LITERALLY THREE people on the planet attempting this endeavor, and I just think its a waste of duplicate resources in this case. AT THIS TIME

If its so fucking important that we come to be multi-planetary as Musk believes, then these guys (who honestly arent going to be around forever, unless they are off-planeting organs and blood-boys (Hey peter thiel), should be focusing the initial endeavor to figuring out the reusable launch vehicles, fuels, lifting, getting materials to space... etc.

I just fundamentally disagree with JB and RB - I think they are ego driven and musk is vision driven. There is a difference.

Get to the point of understanding the human race as a single race and not a market competition without the vision.... fuck space capitalism.

---

I love it when I get downvoted on HN, as its like "I am going to downvote you because I think you are wrong, but I am not going to tell you why! because I am so much smarter than your lame opinion"

In my ~14 years on this site or whatever it is I literally almost NEVER downvote. If I disagree, I explain...

Fuck space capitalism. Again, and let me tell you why:

Human economies are incapable of dealing with the aftermath of the things they create to make a profit.

Look at the space junk? Look at the Ocean gyers? Look at the plastic industry, coal, oil, etc etc etc etc....

Everyone on here wants to praise the creation of a new space industry, just like any other industry...

Yet - there is no true exit, waste, impact, ripple-effect management strategy built into any of these systems.

Look at plastics. It is the cancer of the planet. We implemented not-even-a-half-assed solution to that... heck the CRV fund was robbed and many of the plastics produced are not recyclable.

We implemented "gas tax to fund roads" -- Have you seen the state of roads in the US, esp California? Did you know that we are now fighting over a ~multi-Trillion dollar "infrastructure plan"?

We implemented a financial lottery to fund schools -- when was the last time you heard anything about that, as opposed to the last time you heard about the last time a teacher was underfunded and was buying either supplies or food for students. So fuck that.

We funded telcos to build high-speed internet, they stole that money and didnt build shit. (In FN SILICON VALLEY, we were some of the last people to get "high speed cable modems from COX and other providers)

We have MASSIVE e-waste out of every single high-tech company that you have ever heard of.

ALL we do is pollute...

You think that Bezos Branson and Musk are going to rectify the inertia of the above WRT space?

If anyone may, it would be musk.

Bezos FN sends tiny items in huge boxes from AMAZON all the time - there are tons and tons of pics of over packaging from amzn online....

So yeah - I am angry - because shit like this is a waste when done in such a ludicrous disjointed fashion.

You are too concerned with the novelty of the engineering, and I am calling out the FN lamness of the long-term vision of the impact in 50 years.
Ask HN: Should I share my slide deck?
I'm a founder of a tech startup and I have been trying to get my product in front of companies in the field (automotive/AV). However, I am fairly new when it comes to how B2B sales/intros work in this field.

I recently gave a technical overview of our product to an R&D group with a pretty well known brand name with the potential promise of introducing me to companies in their network if there was a good fit. It initially seemed odd to me that an R&D company would introduce an external startup to their network but I decided to go through with it because they had a fairly well known automotive brand associated with them.

They also asked me to share my slides with them so that they could share it with their team and other companies.

I was wondering whether this sort of thing was normal and if there were any risks with sharing my slide deck with them.

Do such organizations in Silicon Valley generally operate ethically or is shady behavior the norm?
I think some businesses are going out of businesses because they stubbornly refuse to raise their wages.

In the vacation community where I live, there are two grocery/delis about a mile apart from each other. One is at a marina, the other is at a beach. They have almost the same business offering. Traditionally, both are fully mobbed during the sunny seasons.

Two weeks ago, I visited the one I usually go to -- at the marina. They had a sign at the front door, "Due to the labor shortage..." and they weren't operating their deli counter. No sandwiches. When I sent inside, it was empty. No customers. The one employee at the register was on their phone. Nothing going on. A couple of people pulled up in their cars, read the sign, pulled out and left immediately.

Drove up the road a mile to the other one. No sign -- it was busy like it usually was. Full house, busy counters and registers.

My son asked me why the other place wouldn't just raise their wages.. I couldn't answer, but I guessed it was more on a matter of principle than calculated reality. There's no way they were surviving or thriving. I joked that maybe the owner was an old cahoot who remembered when a soda was $0.05 and there was no way they were going to raise their hourly wages to $15 or more.
RDFlib 6.0.0 Released
I create Udemy courses about coding. More than 1-2h a week, though. I made around 7k last year - over the moon.
You probably can’t monopolize a plant unless it’s GMO, patented, and much better than the competition. But it is possible to brand a plant. At the US chain grocery stores it can be hard to buy any strawberry that isn’t sold by Driscolls.
> This is a significant altering of the goal posts.

Not really - it’s a matter of degree. When there is too much bias displayed, it stops being public health and is discredited.

> you seem convinced it's all part of some huge partisan battle where you're sure that your side is the good side and everything is stacked against your side.

This seems like pure imagination on your part. I suggest you reread the thread. You’ll see no evidence anything partisan from me.

I simply think that public health officials have undermined trust by politicizing the issues or otherwise distorted their message. I.e. they have ‘discredited’ the field as the other poster said.

> I'm not part of this battle.

Are you sure? You are the only one reading this conversation and seeing a ‘battle’.
And he makes it very clear that he was watching her closely enough for 45 minutes to be certain she never looked up. I'm not so surprised that all the young women he's closely observing are doing their best to appear preoccupied and not interested in engaging with strangers.
The thing is, countries with vast intellectual property base have more to lose in the game, thus they should favor defense over offense. Like Schneier says, we must choose between security for everyone, or security for no-one.
The Wayback Machine doesn't have very good coverage of FTP, but it's not literally zero: https://web.archive.org/web/2002*/ftp://sunsite.unc.edu/pub/...
Glad to hear you're doing better. I had a similar experience about a decade ago. Went through 2 years of feeling awful, changed a lot of things and got better. Had an attack out of nowhere last year and felt off for a few months until I remembered exactly how I got out of it before. Each time you realize you can get better with your set of tools it becomes less scary.

You definitely get to the point where they're just kinda meh and you move on with life.
I didn't realize Blue Origin was so old.

Amazon was little more than a bookstore at that time, ok a really big bookstore, but nothing like the company we know today. SpaceX didn't exist and Elon Musk still had PayPal. The ISS has just been launched and was serviced by the Space Shuttle, Mir was still up there.

That website looked straight out of Geocities (it was a thing back then), I guess it shows the low key approach of Blue Origin, especially when compared to SpaceX hype machine (not a criticism of SpaceX, just pointing out different communication strategies).
Scott Forstall may have been influenced by psychedelics during the period leading to the release of Apple Maps.
And yet, now Jet Li is essentially irrelevant but if his moves had been digitized and licensed for use in media he could have lived on forever.
If you're really in a hurry, filter out all those not published at top venues (e.g. ICSE or FSE as top tier for SW engineering, or ASE/ISSTA the tier below), or at the very least cited by several papers at top venues. In the vast majority of cases everything else is likely to be noise, incremental, or preliminary work. Of course consider the above venues as (perhaps) necessary but not necessarily sufficient condition for quality. You have to realise that academia is hyper competitive. The best work tends to get published at top venues because they are very difficult to get published at, and offer hiring and promotion committees an easy filter. Use that in your favour to filter out much of the dross and/or poorly executed ideas.
Stuff like this is why I'm very reluctant to adopt new hardware. Companies treat us as the testing group instead of doing it themselves first just to inject some capital and work out the kinks later. This is why I'm so against initiatives to punish people for gas cars, especially in the US. It's like saying you need to be rich to drive but you can't work unless you can drive. $30k for a car is absurd when I can buy a beater on craigslist for $1500.
I’d wager Dropbox’s Magic Pocket is up there with equivalent C/C++ based I/O / SAN stacks:

https://dropbox.tech/infrastructure/extending-magic-pocket-i...
it doesn't seem like it actually uses blockchain? according to https://en.wikipedia.org/wiki/Proof_of_personhood, it's basically PGP WoT but hopefully actually usable?
I've been starting a personal meditation practice, but I have no teacher outside what I read (mainly Easwaran). Do you have any recommendation for how one might find an experienced teacher while living in the west?
>Another contributing factor is wood stealing. High-ranked officials are selling wood illegally, mostly to China and then covering missing wood with fires.

source?
Docker/Chrome/Vscode/Github Desktop/brew & friends all work great now. Having one of the fastest single-threaded speed was worth the launch day problems.
Out of interest - why didn't you start a hedge fund instead?
I don't think it's as common any more, but for many years a lot of states had "tip credit" laws (which were strongly supported/lobbied for by the restaurant industry) that allowed companies to pay tipped employees less than minimum wage with the assumption that they made up the difference in tips.