skysight-inc/HackerNews huggingface dataset:
it would actually be:

require 'bar'

foo

because require is a regular method and the argument is a string (I mean, you could pass bar without quotes if the string was in a variable called bar, but that's not the scenario being discussed.)

> However, Ruby does have auto-loading conventions. So you could define “module Baz{ module Bar { def foo end; } }” in “baz/bar.rb” from the root of your project. You should then be able to call “Baz::Bar::foo()” from any other file in your project structure without a “require” at all. This is not standard Ruby IIRC

autoload is a Kernel method in Ruby core, so it is standard Ruby, but you have to explicitly register a file to be automatically loaded when a particular method is referenced.

Some systems additionally include code that does this for source files based on path.
Election votes are anonymous by nature. Card signing is not.

I'm not opposed to unionizing but I take issue with the idea that getting 50% support means "it is obvious that they don't need an election."
Show HN: MyHearty, a simple charity website (Next.js and Rails API)
Website Demo Links:

MyHearty website: https://myhearty.my

MyHearty dashboard: https://dashboard.myhearty.my

Hi all, just wanted to share this, MyHearty is a simple charity website that is built with Next.js and uses Ruby on Rails as its backend framework. It also comes with an admin dashboard.

Here's the list of features:

Full-featured search UI (instant search, geosearch) for campaigns, volunteer events and aids

Fundraising and donations

Volunteering

Receiving aids

Managing organization/charity members

FYI, this is my first full stack project before graduation! I have included all the resources that I used while developing this project in each of the repo's README.

Links for the GitHub repos:

Fronted (Next.js monorepo): https://github.com/myhearty-org/myhearty

Backend (Rails API): https://github.com/myhearty-org/myhearty-api

Documentation: https://github.com/myhearty-org/myhearty-documentation

I hope this project can be a useful reference for new learners like me that want to integrate Rails with a frontend framework. Thank you!
The default portfolios are weird.

The Six Asset classic (the default) includes Japanese stocks, and Emerging Market Corporate bonds, but no other international assets?

The basic stock and bond includes only high yield bonds?

The 12 asset includes international stocks and international bonds but then specifically adds additional Canadian stocks and Canadian bonds on top of that?
Ad-blocking, like content piracy, are activities that are ignored and can flourish in the fringes. Once they go mainstream and become threats to profit margins, considerable resources will be brought to bear to fight them.
Just did a quick search about embedding go code in Ruby applications and it looks relatively straightforward…looks like I have a weekend project on my hands :)
how long does the paint last?
Digits. Regex syntax, sorry about that.
CORRECTION: I misspoke, I meant to say there were sexual _harassment_ allegations, NOT assault. I can't edit this comment anymore, but I'll email the HN admins to see if they'll fix it (ETA dang did). I apologize.
Ukraine says Big Tech has dropped the ball on Russian propaganda
We should have put that money towards the F-35.
You’re going to have an excellent time no matter where you go. It’s Rome!
This project is not thought to be going well.

https://www.lifegate.com/africas-great-green-wall-a-bursting...

Having worked within the sector, there was a clear lack of interest in or budget for monitoring - so claims of success must be met with requests for verifiable evidence, which is never forthcoming.
It can happen; point cloud alignment between submodels can be tricky. Sometimes increasing the amount of split overlap can help, but not always.
They can choose it by quitting only, as the work changes before and after the union. So instead of having the unhappy people quit when they perceive the company as not being good enough for them, the unhappy people create a union and make the happy people quit instead. It's fine either way by me but it feels a bit pointless.
There are laws against it (in certain parts of the world at least). Of course, those laws do allow tracking in certain situations. Of course that makes enforcement harder - enforcers need to figure out if this is not an allowed case. Moreover, enforcement agencies vary in execution, with the Irish DPA so bad, their actions are indistinguishable from actively undermining GDPR.
> there's no way to do a "cracking the system design interview" the way you can with coding problems

I'd disagree:

- System Design Interview – An insider's guide: https://smile.amazon.com/gp/product/B08CMF2CQF

- System Design Interview Vol 2: https://smile.amazon.com/System-Design-Interview-Insiders-Gu...

- Designing Data-Intensive Applications: https://smile.amazon.com/gp/product/1449373321

- System Design Primer: https://github.com/donnemartin/system-design-primer

Especially: https://github.com/donnemartin/system-design-primer#how-to-a...
Or they just don't know about it and/or they have bigger fish to fry first.

Trademark and copyright tend to requirement historic evidence of enforcement to be enforceable in the future. If they fail to enforce this and it's significantly in the public sphere, it could be used as evidence the trademark and copyright no longer apply, depending on the judge.
You may enjoy "Programmable Blockchains in Context" - the 2015 Ethereum launch post. I wrote it when I was release coordinator at the Ethereum Foundation. https://medium.com/humanizing-the-singularity/by-the-end-of-...
I think the issue in question is more mundane - if someone publishes an async database client library, its currently hardwired to a specific async runtime, so you cannot not easily use it if you are not already using that runtime. The common async abstraction being worked on, sets out to solve that.
Probably evolutionary: our brains have evolved into hardcoding those memories to avoid getting into that bad situation again.
Wanted to share a personal project I've been working on using ODM.

I'm mostly on a weekly basis capturing the progress of my home as it is built. I have a DJI Mini 2 and using Dronelink to create the missions. I was originally using DJI Flight Planner + Litchi but it's paths it was generating for the area I wanted to cover wasn't great and it forced my gimble to look straight down, I'm sure Litchi may have let me adjust that somewhere but I couldn't figure it out. I had 85% overlap but even with that, as the house started getting built ODM seemed to be unable to generate point cloud points for some of the walls thus resulting in large holes in the geometry. I switched to Dronelink which overall has been a much more user-friendly experience for the mission planning and it lets me control the gimbal angle. While my photo clarity isn't as great as now, my drone doesn't stop for each photo, having my camera angled slightly throughout the mission has greatly reduced the missing geometry in the outputted model. I've been very pleased with ODM thus far though the amount of settings in WebODM have been overwhelming and I've settled on just using the Default as it seems the best at giving me decent 3D geometry that is compressible in a GLTF format.

I'm working on a explorer to catalog the phases.
https://crysin.github.io/new-construction-explorer/

Any suggestions on better ways to improve the output are welcome.
Heat Pumping
Trying to encourage here.
I recently tried https://github.com/yewstack/yews that looks very much like "React in Rust". It is web oriented through WASM compilation and integration with web technologies, Tauri can be used to bridge the gap and use it for desktop apps but it is probably an excessively complex and impure assembly for that goal.
They must've meant Layer 7 / Application Layer. There is no Layer 8 in OSI model (unless they're talking about a different model)
Teiid can also be deployed as a standalone server (see the Wildfly route). There is a JDBC driver to connect to it, and they emulate the Postgres wire protocol so you can even use psql to connect to it and run queries.
Link should be updated to the HTTPS version: https://jeffe.cs.illinois.edu/teaching/algorithms/
Wow, one of things you never learn about.
> The narrative that America’s issues stem from socioeconomic classism instead of racism

¿Por qué no los dos? "Race" is merely a social construct, and subcultural differences are a big part of what defines that construct in the first place. And the whole point of referencing 'class' is that social and economic differences can in turn feed back on culture.
pmc and workers aren't allies
To access TLS-ized system variables (for instance errno if I really need to, I would use the sysv ABI __tls_get_addr() function).
But in the application domain, I would use pthread TLS.
Isn't the current food truck trend mainly a mitigation of terrible restaurant and real estate regulations? It's not surprising that the same power structures that crushed those two original markets would continue on crushing.
Is it safe? Boars seem incredibly aggressive afaik.
I hadn’t heard that explanation for not having comments, but if true, I want to buy him a drink.
The article explains that European countries replace their tracks between summer and winter
Work through these books, then you start looking at any random app or system and can start from there:

- System Design Interview – An insider's guide: https://smile.amazon.com/gp/product/B08CMF2CQF

- System Design Interview Vol 2: https://smile.amazon.com/System-Design-Interview-Insiders-Gu...

- Designing Data-Intensive Applications: https://smile.amazon.com/gp/product/1449373321

- System Design Primer: https://github.com/donnemartin/system-design-primer

Especially: https://github.com/donnemartin/system-design-primer#how-to-a...

- The Architecture of Open Source Applications: http://aosabook.org/
Perhaps. I wouldn't have named my project this, either, just for the avoidance of an eventual headache. But I find it unlikely this hasn't been flagged to their legal by now.
You can have a single threaded event loop in Rust. Just, like everything else, it's an option and you have to specify it explicitly.
Amazon admits giving police Ring camera footage without consent (theintercept.com)

https://news.ycombinator.com/item?id=32081900 (511 comments)
Yeah this is really important. To piggy back on this I use to feel like I couldn't do something because it was too hard, but I changed my perspective to I can do anything with enough time and that has done wonders to my career development.
Yabbut a placeholder page returns status 200. We're discussing URLs that don't return any status at all; they are unresponsive. They have no placeholder; they aren't a "place".

A site that is occupied by a placeholder page is a 200, as far as that "top million" database is concerned. It might as well be a working shopfront or blog.
It's an integral part of my country's history (much more so than that of Texas IMHO). Same in our neighbor Mongolia. Horse meat isn't illegal here, and never was. I ate it a couple of times and nobody raised an eyebrow.
Labor != physical work. People still work, just much more efficiency.

Should we all have stayed farmers? Because that's what 97% of everyone used to be before the industrial revolution. I'll take the technical advances, including AC.
There's nothing more annoying than recognizing that some developer wrote their own "timeout logic" when the socket is still transferring data, just very slowly. Pro-tip, don't implement your own timeout logic, just set a timeout on the socket.
We replaced our 40 year old tar and gravel roof (with small light colored stones) with a dark colored architectural shingle. There was an immediate, noticable difference. On summer nights you could feel the heat radiating out of the attic after a long day in sun.

This was in a cold climate, albeit at high latitude, so long days and low sun angle in the summer means more insolation. Since we rarely get above 70F here, I didn't think it would make much difference. Of course, it's only noticable a couple months out of the year.
The one place?

Sistine Chapel.

Kind of like the Grand Canyon, in that there's nothing else of similar magnitude in the way the thing is big.
Yes, what I don't understand is the possible (even if wrong) connection that the algorithms may have established between the specific meme and suicide.

Is the "change my mind" or the "Sopranos" that may trigger the algorithm?

Or are all memes associated to self-harm/suicide?
Ok, this is me. My experiences start to merge with those of others, I cannot be 100% certain that something I am remembering now really happened or if it happened to someone else who shared it with me.

There are certain elements I cannot remember from say 10 years ago or 5. I forgot the names of some of my classmates, I sometimes forget words I shouldn't. My memory is a mess.
Can't eroding paint chips pollute the environment ?
Missing context for international readers who perhaps may not be aware of the weather forecast for the UK next week:

“England braces for 40C temperatures as experts warn thousands could die“ - https://www.theguardian.com/uk-news/2022/jul/15/heat-emergen...
Not really a counterpoint, but a neat aside: pinball machines used to be actual gambling machines, back when they took nickels. They were common in pool halls my father frequented.
The term "class" in the sociological sense originated in contrast to the old system of "estates". Originally, it referred to the "tax class" of a (male) person, which formed the basis for census voting rights in both the USA and Europe until well into the 19th century.

This is the reason why speaking of an "aristocratic class" remains somewhat inappropriate. The term "class" was introduced specifically to mark the difference between the old society, which was dominated by heritage ("estate"), and the new society, in which this has been replaced by wealth ("class"). That there was a lot of continuity from the old to the new order is another matter. Britian seems to be very special, because there the "upper class" is a mixture of old estate and new wealth (plus celebrities from academic, sport and culture), something that is more or less absent in the rest of Europe. While a poor Lord in England is still a Lord, a poor Graf in Germany is just a poor person.
> Auto factory jobs (which were outsourced)

The decline of Detroit UAW auto industry definitely weren't outsourced. It certainly wasn't GM that opened car factories in Japan and Germany. And it certainly wasn't GM shareholders or executives that benefited from the rise of Japanese and German imports.

This isn't outsourcing, this is simply a case of American carmakers being outcompeted by better products from Japanese and European competitors. (A significant fraction of which were actually assembled in US-based plants owned by those overseas competitors.)

This has nothing to do with "mobility of capital", and unless you shut down trade completely, there's nothing in the world that can protect poorly managed American companies from foreign competition. (Nor should you, while one million UAW workers saw their pay decline, 300 million Americans benefited from a vast improvement in car reliability, affordability and safety.)
Knuth's "Concrete Mathematics" book claims to be a blend of CONtinuous and disCRETE mathematics. Thus, Knuth is using the suffix "-crete" incorrectly as well.

If I were you, I would send an email to Knuth reporting the error. You may receive a reward check from Knuth himself, which will give you eternal bragging rights.
> Not sure how those folks could be leveraging their social class in America.

One example off the top of my head: Indian caste discrimination in Silicon Valley [1][2]. Cisco was even sued by the state of California for such discrimination [3].

[1] https://news.ycombinator.com/item?id=24952698

[2] https://news.ycombinator.com/item?id=24552047

[3] https://news.ycombinator.com/item?id=23697083
While I have many memories from my childhood, there's a hard limit around 7 years old. Just like the very early universe is hidden behind an opaque plasma to electromagnetic radiation for observing, I can't, and have never (including at my childhood ages like 8-9) remembered anything before 7 years old.

It's just not there. Many people around me have no trouble remembering like their 3 years old, don't know if it counts.
better stick to python, or lua or even javascript then, with the right bindings and engin.
That's not how the 'iPhone full' message describes it.
You can interchange them in many contexts
Awesome, thanks for posting!
If he's in SF.. probably not, actually.
Does Wegman's pay you for providing them free labor?

You're subsidizing them at your own cost with self-checkout. After all, you are:

-Updating their inventory tracking system
-engaging with the regulatory framework of purchasing on their behalf
-being subject to their annoying "loss prevention hot days" where they turn the merchandise scales on.

I've started to take a different view toward these jobs over time. Being an employer is a high bar in the U.S., and if we (the taxpayers proxied through the markets/Federal Reserve) have an objective to have people participating in the workforce, then these "automated" checkouts cost workforce participation.

Which also means fewer training opportunities for low skill workers, fewer jobs of last resort, etc. Not everything is necessarily $$$.

Be a hell of an economics project to really suss out the difference in flow of money in grocers who took different approaches.
Agree.

For instance, I always found it fascinating how the peasant kids always found one another/grouped together whenever there were gatherings of gifted kids or during college programs.

And people are openly suspicious of people moving in directions they shouldn't- in both ways. My mother was a defector from a decently well-off family (they were abusive), and the discomfort people have expressed over the years whenever she drew on her childhood or had more 'high brow' interests than they expected out of a high school dropout who worked in a warehouse is fascinating.

And also, as someone who has talents that are more put to use in careers held by the upper-middle+ class, they are not comfortable with my refusal to disavow my more peasant/'lower' tastes and habits and don't consider them problems. Food is a huge one, for example. They're so assured of their own superiority that the idea that you have no desire to emulate them is baffling.
Kobo devices seem a good fit:

https://www.mobileread.com/forums/forumdisplay.php?f=247

A bit underpowered maybe.
I would say read the limitations first and don’t buy it as a Linux machine yet if that’s what you need right now. Wait another year or two for Linux to be ready and comfortable.

If you need to install Asahi, you should install it as per the instructions in a dual-boot setup, then delete the macOS partition and resize afterwards.
Customer development and the non-technical parts of product development. Creating an actual business out of the product. Making sure that people want the product, understand it, willing to pay for it and so on.

There is no point building a product at all either before finding these out, unless it only takes a short time to build a minimum loveable product.
And for further context its the first RED (danger to life) warning [0] (for the purposes of heat, other red warning have been issued [1])

[0] https://www.metoffice.gov.uk/about-us/press-office/news/weat...
[1] https://www.metoffice.gov.uk/weather/learn-about/past-uk-wea...
Thanks for sharing, but it's a different one. This one takes a long time to load for me, the other one was incredibly smooth.
Intensive graphics rendering is something which does deserve the GPU and multiple cores. But most "UI" as we see it shouldn't be that intensive. UI drawing is usually on the GPU but stuff like handling inputs, updating the UI tree, should be fast enough on one thread.
Incredible to see wild animals in such large numbers roaming streets. I mean they probably are omnivores like us.
I recently bought a 14" Pro - fantastic machine, but I would be wrong to say that I wasn't very very tempted by the m2 Air. My one need that the Air didn't fill is to drive two external monitors. For me - everything else - is absolutely catered for in the Air. It'll be a perfect machine for my partner who has no desire or need for that.
Nobody's counting government benefits. The US also has a similar policy called Social Security and Medicare (for healthcare.) The average lifetime payout for someone retired today is about 1 million. For someone retiring in 2060, double that.

By your math, the US millionaire couple about to retire is actually 'worth' 3 million.
And that compares unfavorably to alcohol use because ... ?
I get the picture: wrong ppl in charge as usual.
I believe it lasts quite a while on the sides and the top is rubbed to a reflective shine when trains run over it anyways.
If your business could be stolen by cheap Chinese knockoffs, I guess your product must be reevaluated.
Neither our planet in general, nor its comfortably-livable surface area, are overpopulated in the aggregate.

We have enough resources to provide for everyone here now, and everyone likely to be here within the next several decades—at which point, according to the best predictions I've seen, overall population growth should be slowing or stopping.
It'd take a bit to find specific examples but I feel like I've seen a lot of research over the past few years that says various dimensions of gender inequality are statistically non-existent prior to motherhood, and open up wide at precisely that point.
>Another metric: "How long does it take to earn enough for my baseline expenses (rent, food, health, retirement money, etc.)".

In my opinion, this is the only valid metric.

If a business cannot pay people enough to live, the business should not exist. Businesses do not have more of a right to exist than the workers that make them up. Full stop.
The NLRB[1] is supposed to handle it. I have no idea how they would rule on forcing anti-union propaganda on employees today.

And today's SCOTUS seems to want to defang all government agencies' ability to rule on or enforce . . . anything, really, based on their rulings on the EPA and the SEC. Well, unless it's the government trying to enforce on reservation land - that is newly allowed.

[1] https://www.nlrb.gov/about-nlrb/rights-we-protect/your-right...
yeah I would like to have a public space to help my peers and am trying to build that in adjacent spaces
To me, it's about respecting others as parents. It's not about 'lying to your kid', it's about realizing that treating other parents to a random meltdown after school because Susie said Santa isn't real isn't ideal.
I agree with all of this and also experienced it first hand.

It makes it harder to learn because instead of people sharing good info or places to learn they just repeat chants of why you shouldn’t learn it.
> In recent history have there been examples of banks changing their own ledgers?

Yes.

https://en.wikipedia.org/wiki/Wells_Fargo_account_fraud_scan...
It's funny, at our company with a very successful 8-figure SaaS we do all our front end as an AngularJS 1.8 SPA. Seeing all this modern javascript tooling and typescript, exports, constructors, classes, etc. makes me cringe for the new developers who have to learn all that hot mess.
They're making profits off of AWS, not the ecommerce division.
If you can map the dice to an outcome, that would be a useful feature. For example, in battletech if you have a 20-missile launcher, you roll 2d6 to determine how many of the 20 missiles hit -- this requires a table-lookup which slows down gaming.
I don’t see why kotlin would be necessary. Javafx is good as is.
Sadly I was unable to join the BBB today. Were the talks recorded?