skysight-inc/HackerNews huggingface dataset:
reev | Munich (Germany), Zagreb (Croatia) | REMOTE, VISA | Full-time | https://reev.com

We believe in mobility without emissions for this reason, we are creating technology to enable everyone to set up and operate their own electric vehicle charging infrastructure on a decentralized basis. With our bespoke charging platform, we make a significant contribution to building a global charging network.

Our team is based on an open, diverse culture in which everyone is responsible for their own work. With us, you will have the space to realize your own ideas and to grow as an individual and an engineer.

We are a team of 100 enthusiastic persons and are looking for a veriaty of roles to help us achieve our vision.

* Mid/Senior Backend engineer

* Mid/Senior Frontend engineer

* Mid/Senior Fullstack engineer

* DevOps engineer

* Tech lead

and more!

Our tech stack: Kotlin (Spring Boot), TypeScript (React/React Native), PostgreSQL, RabbitMQ, AWS, Infrastructure as Code

To apply visit this link https://reev.com/en_de/jobs-2/
Good point, thanks!

Though of course it needs to be the right "this".
I'm working on Autotype [1], a text expansion tool with UX similar to VSCode's command palette.

[1] https://chrome.google.com/webstore/detail/autotype/mgcgenipp...
> Note that instead of using callbacks we could have subclassed User to AdminUser and RegularUser, with each overriding the onCreate function.

Although the pendulum has swung far from inheritance towards composition in recent years, this is surely a prime case for simply using a subclass and instantiating whichever one you want.
Best case complexity is not discouraged.

Worst case complexity is incentivized in more ways than this comment has room for.

We live in a society.
Correct. This isn't even the complete list. The bloatware bundled with Windows by default today is arguably worse and more extreme than at any point in the past, even compared to the bundling done in the early 2000s by Compaq and HP.
That shouldn't stop the flow of information, because there is no way to make anything idiot-proof. "Just download this Linux ISO and good stuff happens" could be equally apt.

For this reason, I have put every disclaimer and warning that I reasonably can, and defined the use-case clearly (a few apps where anything else is bloat). "Try it on a fresh install, on a VM or old PC, first." And, in a recent update to the post, a script by Microsoft for undoing it if necessary. If people don't listen, that's not my issue if I warned them as clearly as I could.
Despite apparent savings to the public purse, private schools remain pernicious in a bunch of inter-related ways:

* Per the comment up-thread, private schools allow the rich and powerful to insulate themselves from a failing system. If these people’s kids were at state schools, you can bet state schools would be better resourced pretty soon.

* Relatedly, private schools perpetuate social stratification and reduce social mobility and equality of opportunity. Rich parents buy better education for their kids, who get better jobs, and stay rich.

* Rich kids mix with other rich kids, rarely encountering poor kids. This gives them a distorted understanding of how the world works, and a lack of empathy for the poor. See this extraordinary paper in the American Economic Review: https://www.aeaweb.org/articles?id=10.1257/aer.20180044

* Because rich and middle class kids get filtered into private schools, poorer kids lose out on the positive peer effects those kids would have had on their education.

For these reasons, I think one could reasonably argue for a ban on private schools. But at the very least, I think we should stop providing generous tax advantages to them. In my eyes the public benefit (which is the normal test for charitability) is vastly outweighed by the public costs.
You could probably get this down to two queries, one for posts and one for comments, if you aggregate the vote count when retrieving the comments. I think this is pretty easy to do with most ORMs.

You could also get it down to 1 query using SQL. This is one way to do it based on the schema in the article [postgres, not well tested]:

with
latest_posts as (
select * from post limit 3
),
latest_comments as (
select
c.*, count(v.id) as votes
from
comment c
left join
vote v on v.comment_id = c.id
where
c.post_id in (select id from latest_posts)
group by
c.id, c.content
)
select
p.*, json_agg(c)
from
latest_posts p
left join
latest_comments c on c.post_id = p.id
group by
p.id, p.title, p.content

# NOTE: fixed SQL bug noted by @rurabe

Off the top of my head, I'm not sure how you would (or if you could) do this with ActiveRecord, SQLAlchemy, or the Django ORM, but it's probably more complicated than just writing the SQL.

To be clear, I'm not anti-ORM and use them all the time, but it really helps to understand SQL well when using them and to know when it's appropriate to switch to SQL.
What an amazingly written piece. I was learning interesting stuff and chuckling alongside, as well.

Didn't get the closing remarks about Larry Ellison, though. Any explanation?
Beyond copyright, how would these requirements work with Illinois’ biometrics law?
Yeah, it’s kinda wild that with a packable QRP rig for SOTA, you can pretty reliably get in touch with someone (that being the entire point of SOTA). Of course I’d try more conventional means first in an emergency situation while hiking, but I certainly like having backup comms.
Because managing Linux servers is now less complex than orchestrating containers. But people didn’t want to do the former.
I find that grammar perversions like this have a direct line to my funny bone in a way that almost nothing else does. Must have something to do with the subversion of expectation with something so incredibly basic as language.

Even after seeing it many times, this old classic still makes me laugh: https://www.youtube.com/watch?v=EShUeudtaFg
Stop, I just read a random post from 1999 and seeing this makes me want to go back.
My experience is much the same: pyright is fast, reliable, and (when it complains) correct. MyPy is… not always those things. The teams I know that use Python generally have all moved to pyright if they started with MyPy.

The lack of plug-in support might feel like a hang-up, for instance if you’re using Django. FWIW, I like the “no plug-in” philosophy. I’ve discovered that explicitly adding annotations that a MyPy plug-in would have surmised feels cleaner. (Example: an annotation for a reverse collection on a Model referenced by a foreign key.) Even better: I don’t need to suffer the (in my experience) frequent bugs of the plugins themselves.
I appreciate this paper but the hard problem with exercise and depression is that depression affects ability to comply with the intervention. So if you observe a difference in depression with exercise assignment, is it because of a causal effect of exercise, or because of attrition?

Studies Ive seen have suggested exercise does decrease depression, and there's neuroscientific explanations, but some of those studies suggest effect sizes are smaller once you account for attrition effects.

On the other hand, pharmacological studies have their own issues too so who knows.
Lovely answer, should be cross posted to the frontend thread :)
I use a Hive thermostat. It's much cheaper than Nest and it doesn't talk to the cloud at all, if you buy the hub-less version.
It communicates over Zigbee and works great with Home Assistant over Zigbee2MQTT.

My version supports both heating and hot water (important for system boilers in UK) but there's also a "just heating" version for combi-boilers.

The installation is really trivial, at least in UK where the programmer plate is pretty much standard in every house.

Even if you don't connect it to HA, the programmer/thermostat provided by Hive is so much better than the usual Drayton crap you see in UK.
Easier to deploy for the developers is better for the organization. The dev team should own this process since they are the ones that probably have to support it. Objectively, deploying on any of the more managed AWS services, App Runner, ECR, Beanstalk is better for the org. Less risk if someone is leaving, vs the 3 terabytes of Kubernetes scripts required. The team knows how to manage and deploy their stuff so when they're on call they know how to fix it. Why would someone learn Kubernetes when you can spend 5 minutes learning Beanstalk or App Runner?

Things were never a problem when devs just managed this stuff. We used Heroku or Capistrano on plain EC2 and it was fine. Once you hit scale and things become more expensive then Docker on ECR / Fargate is fine. This whole dev ops fad just has to go.
> Rebuilding trillions LoC that are deployed on literally every computer architecture, dozens of toolchains and OS's is a high impact and high risk problem with arguable benefits. Although it is technically possible, I don't think it is a process which "just happens" but it is a process which probably take years to be implemented on each and every platform.

It was mentioned already that Linux distributions are doing exactly this. On every major compiler update.

> So, I don't think it's a "C++ mentality" but its rather a difficult problem to solve.

Sure it's not trivial to set up. But it's possible and done so for a long time already.

Sure, things could be made simpler. For example by using some stable intermediate representation that gets compiled on the target to the appropriate machine code. Oh, wait, all big platforms starting with mainframes do exactly this already… (Mainframes, the JVM, .NET, Android, Apple stuff, etc.)

> > Also C++ could easily introduced the "editions" concept form Rust. This would give you all form both worlds.

> We'll see in about 20 years time if "editions" will solve this problem and if Rust becomes as widespread as C++ is. LoC deployed in Rust is currently a statistical error in comparison to C++. FWIW C++ also had similar proposal and it didn't went through AFAIK.

That's not an argument against the "editions" idea. Actually what you've said doesn't even go into the proposal.
Location: USA/out of France Internship
Willing to relocate: Yes, from France
Technologies: C, C++, Python, Javascript, Django, React, VHDL, Arduino, STM32, ...
Résumé/CV: alextoussaint.com/resume.pdf
Email: alex@alextoussaint.com
Website: alextoussaint.com
Dates: Available full-time from July to December 2023

20yo French looking for an internship abroad involving robotics or computer science in general.

Notable achievements:

- Co-founded kaktana.com when I was in high-school (cryptocurrency trading bot WYSIWYG editor, one of the most complete on the market, sold 3 years later)

- Created one of the first ultrasonic 3d scanners that works in the air [1] [2]

[1]: https://news.ycombinator.com/item?id=27090795
[2]: https://www.alextoussaint.com/2021-04-28_How-I-built-an-ultr...
I was a former stay up all night kid. Honestly the reason was I had no time for myself at all unless it was the end of the day. From the morning until like 9pm you are tied up with school or homework and forced to do crap you hate, and you get in trouble for doing stuff you like. I was astounded at how much free time I ended up having in college, to the point it severely backfired and I had to relearn how to actually study and manage my time after a few bad semesters. Its like what was good for me as a student was always at odds with my mental health since the school system doesnt have a concept of “self care” that therapists speak of.
This is available in corporate versions (aka enterprise or LTSC). The home versions are significantly cheaper and dont offer that functionality out of the box.

2 reasons - a lot of endusers appreciate it surprisingly, and some of those bloat of preinstalled applications subsidizes the cost to make it cheaper to purchase.
>"I've seen enough cases of some stack-allocated string getting passed as a string_view and then blowing up because somebody stored it ..."

Shortest answer - I do not get scared into using particular tools just because they're "safe" and in practice I've never had to deal with the problems you mentioned in my products. There are also various tools that catch these kinds of errors for C++ and other languages. I do use those them tools ;)
How is the example given in the post an "edge" case? All except the simplest domain models include these kind of relationships (and more complex ones). The Post->Comment->Vote pattern is practically everywhere as soon as you are modeling real-world scenarios.
Yes, you lodge tax returns with the ATO.
I mentioned it recently[0], but this looks like a very good topic to plug our new database, Seafowl, that we released last year [1]. It also uses Apache DataFusion (like IOx) and separates storage and compute (like Neon, Snowflake etc) but is designed for client-side Web apps to run analytical SQL queries over HTTP (using semantics that make the query results cacheable by browser caches and CDNs). This makes it really useful for things like interactive visualizations or dashboards.

We're currently doing a lot of work at Splitgraph to reposition the product around this "analytics at the edge" use case, with usage-based billing, eventually moving our query execution from PostgreSQL to Seafowl.

[0] https://news.ycombinator.com/item?id=34175545

[1] https://seafowl.io
I run Home Assistant on a RasPi 4B and it takes care of the office temperature & humidity more precise and cost efficient than if I fiddled with the knobs on heater and dehumidifier.

And, it is fun.
OMG, a few thousand dollars is being deducted for a canadian business making money from mostly foreign countries, helping the trade balance, spending money in the canadian economy, hiring people who also pay taxes, promoting canada as a country and more, but they're ripping off canada because he dares have a few well documented tax deductions.
Did previous generations truly facilitate and prioritize childbearing over other alternatives (careers, money, status, etc) or was it simply that women didn't really have those alternatives and so had children by default? Men have always had the opportunity to pursue both their careers and have children because women put children before a career. For a long time that was due to the very limited career options available to women, and the inertia and assumptions that led to have persisted until very recently.

So I don't think the solution is to look to previous generations, because they didn't facilitate childbearing so much as they restricted other paths for women to at least some degree. Traditionalists might argue women were fine with that arrangement, but it seems noteworthy that women jumped at the opportunity to pursue other paths. Which means if we want to increase fertility rates again, it probably means we need to do something new, that doesn't present having children and having a career as mutually exclusive.
Because regulations are generally unknown to folks who don't spend their time solving tech problems.

People simply assumed they could share it easily with friends and family.
It was a photo posted on Reddit at the time, if I recall correctly.
Web 1.0 was very simple programatically:

1. user requests page

2. program generates page

3. user clicks on something.

4. * entire page is regenerated *

Javascript was terribly incompatible across browsers, so it was avoided. Then in 2004 or so, jQuery made it seem easy and desirable to do more than just regenerate the whole page when a user took an action. This introduced all the complexity you see today. React is just the apotheosis of a long sequence of tools whose purpose was to reduce the complexity introduced by jQuery (and "Ajax").

One way to look at it.
> Paraphrased: workers should be taxed [...]

No, the richest people should be taking most of the tax burden.
> a painting signed with a [facsimile] signature of Dali

That's not what's happening here though.

If you look at the original tweet (https://twitter.com/LaurynIpsum/status/1599953586699767808) it seems that the complaint is about the "mangled remains of an artist’s signature". I don't see any examples where it's actually copying the signature of a specific artist.

(Please do share an example of that if there is one.)
> Do we count only the lives of the people who would otherwise die in the accidents? Or do we also count the lives of the children that they might have?

You never account for potential people because it inevitably leads to so-called repugnant conclusions that causes involuntary suffering among some number of currently existing people in order to secure some hypothetical good outcome for some set of hypothetical future people. People can voluntarily make such sacrifices, as parents do for their children, but this sort of argument should never be compulsory as with government policy.

> Even more dramatically, consider policies that have an effect on whether humanity continues to exist. If we wipe ourselves out with nukes, bioengineering, etc, that's a lot of potential future people

But more importantly, this impacts all current people and the things they value. What existing people want and value should always take precedence over hypothetical people, if only because their values may be entirely different than your own.
my old job was much easier than my current job. i left it simply because of the 90 minute commute verses fully remote. less than six months later covid hit and now my old job is 95% remote. i am more challenged and get better compensation but i can only imagine having a very simply job and being fully remote. it must be like being semi retired.
Cryptos are 2500 years of financial frauds, bubbles, greed and insanity concentrated in 13 years of existence.

It preys of financially illiterate people who don't know better because they have been bombarded without any pause by endless list of bullshit as soon as they put the word 'investment', 'money', 'market' or whatever in any search box in the world, that being the one from your local bookstore, online newspapers, youtube, google, reddit and on and on and on...

And if you tell me fractional banking system is a ponzi scheme then you either don't have a clue of what they are or you pretend to.

It doesn't matter which companies, individuals or wathever .org or 'coin something' websites promote them or make a business of them because they're all fucking hucksters at worst or paid shills at best.

Talking 'security' about investment scams is like talking personnal safety in '101 suicide' book.
United’s Lost Bag Delivery Service Takes Luggage to McDonald’s, Goes Shopping
Definitely a classic.

Some friends and I used to use "spits in the coat" to express the superiority of one thing over another, e.g.

"Framework 1 spits in the coat of Framework 2".
"Sports Team 1 spits in the coat of Sports Team 2."
Valuing "future lives" is way, way too quick of a road to justifying eugenical thinking. No thanks.
Very weird that the "thief" would then text her and arrange to deliver the bag.
At this point it is a term so used, any previous meaning has been replaced.

It is even used as a verb for 'generic photography edition'.
---------------------------------------------------------

Location: CEST

Remote: Yes

Willing to relocate: No

Technologies: JavaScript, React, Redux, Nextjs, tailwind, material ui, styled-components, SASS, Git, GraphQL

Experience: 4-5 years

Résumé/CV: [https://linkedin.com/in/metinferatii]

Email: metinferati15@gmail.com

---------------------------------------------------------
The products we're building are more complex than they used to be, but I don't know if its true that backend development has inherently become more complex than it was in the past.

I've worked on everything from dinosaurs older than me to new greenfield projects using all the latest tech. I think over-complexity emerges in many ways, notably: too much abstraction, ignorance, dogma, and just straight up carelessness.

I think the abstraction problem is the most common and severe though. In enterprise software, I've spent an entire day in the past combing through several layers of services and repositories just to get the full picture of how a response object is being created for a single controller method.

Let me give another example: think about the great debate over ORM vs No-ORM. It's fundamentally a battle about the balances and costs of abstraction in software development. On one hand, you have a (hopefully) simple interface for defining a db's schema, but do I really want to obfuscate the developer from the implementation details of that `findBy` method and trust that the ORM will be 1) used correctly and 2) generate a performant, sensible query? What about security handling? Should I have my developers concerned about preventing potential SQL injections, or just let the ORM take care of that too? The answer depends on a lot of things.

Anyway, I believe for every abstraction:

- something significantly useful should be added (this seems like a truism as I write this, but i've seen a startling amount of useless abstractions)

- the cost should be carefully calculated

- understand where complexity is being added and subtracted

I believe thinking about abstraction in this way would've cut down a lot of the complexity I've seen in softwares past.
Lots of interesting info on that twitter feed. I was unaware, though it makes sense in hindsight, of 2nd hand EVs being exported from Norway to Ukraine (and Poland etc.)
> JUST STOP MASS BLOCKING. You literally have no reason to.

I've had to deal with websites getting attacked, most of the traffic comes from datacentre IPs which Tor exit nodes are usually hosted on. We block most if not all datacentre IPs from reaching our sites, we've seen a huge decrease in attack attempts since doing this.

You're choosing to access the website using a shared IP that bad actors use, there's only so many ways webmasters can protect their websites. This one sounds like it's on you for using Tor.
I ran out of characters in the OP, but one thing I'd add is that you may not be able to apply all three rules on day 1. If someone is severely depressed, it will be difficult to do #3 and be randomly active. It can take months or more of just focusing on #1 and #2, removing psychological obstacles, self-hate, etc. until they even begin to have the energy to do #3. And you probably have to start #3 with simple stuff like diet that doesn't take much effort to be experimental with. Don't force anything, just work it up slowly, gradually, at whatever pace they're capable of. And stop, rest, and recuperate when needed.
Right but that makes this rambling even more pointless.

It's as if author just doesn't have any sensible reasoning for his gut feeling that "startups should raise money by default" then is annoyed that he can't produce anything sensible on the topic but someone else can produce reasonable argumentation for opposite, then started giving up random examples of how not-startups companies use cash flow, and nothing there was really related to original topic on how to start and grow your startup.

And all of the examples fit nicely into hard to get/expensive to get markets that need a bunch of money upfront

> I’m not suggesting that there are never reasons to take outside investment. Obviously there are. But, we should recognise that doing so comes with significant trade-offs and difficulties that mean it shouldn’t necessarily be the default.

that the original article suggested.
IANAL, but I believe no; the CC license handles the rights that a photographer can hand out, but doesn't come with any kind of model release guarantees.