skysight-inc/HackerNews huggingface dataset:
I'm not sure what you mean here, GP was saying dataclasses themselves don't prevent rogue assignments, but they have a nicer syntax for generating a `__slots__` automatically based on type-hints/class attributes which absolutely does.
could you describe a fictitious bird, axolotl anthropomorphised hybrid

An axolotl anthropomorphised hybrid bird could have the physical characteristics of a bird, such as wings and feathers, but with the head and body of an axolotl. It might have the ability to regenerate its limbs like an axolotl, and the agility and speed of a bird. Its coloration could be a blend of bright and vibrant feathers with the mottled and speckled skin of an axolotl. It could have a unique chirping or trilling sound that incorporates both bird-like and axolotl-like vocalizations.

how would you anthropomorphised it?

To anthropomorphize the axolotl-bird hybrid, one could give it human-like qualities and behaviors, such as the ability to communicate and express emotions. It could have a distinctive personality, with likes, dislikes, and individual quirks. It might have a particular interest or hobby, such as collecting shiny objects or solving puzzles. To further humanize it, one could give it clothing or accessories, like a hat or a backpack, and create a backstory for the hybrid, such as where it came from or what its goals are.
I've been WFH full-time for about a decade. When I'm at work, I'm at work[0]. I don't do chores during work hours. I have fewer network issues than the workers who work at the office do. Family doesn't distract because if they happen to be home there's another adult home too and they know not to disturb unless it's important (and they would be contacting me at the office for this same issue).

Are these idiots saying the quiet part out loud - that they're completely distracted while working and don't have the discipline to fix it?

[0] Except HN during brain breaks.
Embed Nostr notes anywhere on the web
JS library to embed a Nostr note as a widget on any webpage.
Book Report - How the World Works by Vaclav Smil
Government using its tools to silence and pressure the media is a tale as old as any in India. Modi was a persona non grata for many western countries and US would not even give him a visa to enter the country after Gujrat riots. Mostly everyone alive at that time knows about his role in the riots but the fact remains that folks in India are willing to overlook it. Modi has one of the highest approval ratings when compared to other world leaders (amongst their constituents) and so long as people in India dont care, Modi will continue to abuse the Government machinery to silence and discipline dissidents.
I'm curious, when and where was that?
Isn't that what bcc: was invented for? Who sends out a mass email with 13,000 listed recipients in the first place?
All the experts agree!
Simple. Pivot to thinking of yourself as a corporation of 1, with the goal of maximizing your personal profit for minimal cost.

Would a company cut quality to increase profit? Yes? Then so should you.
Amid ChatGPT outcry, some teachers are inviting AI to class
As individuals negotiating with a business, you’re always going to be at a massive disadvantage due to the balance of resources. The company is bigger than the people you’re building relationships with.

Unions, done well, perform a lot of similar functions to insurance providers: they allow many people to collectively bargain in a way that can level the playing field in negotiations.
Do some companies fund GCC C++ development? It seems too hairy for only heroic volunteers to get it done, but I don't know.
But what about a self-managed quote? Even a ballpark estimate can be useful.
Very scary with people having the entirety of their savings tied up in GBTC.
> why I said that the cost of capital going up due to war (higher interest rates) would have a dampening effect on green energy which is very capital intensive

If only someone looked at the rate of new and projected investment into green energy after a period of both (a) Russia invading Ukraine and (b) rising interest rates. They could write an article about it and clear up the confusion.
That helped reduce NOx emmissions 7x times in 30 years

https://nitter.net/BM_Visser/status/1624717450297348096#m
It's funny. Benioff is probably one of the most pro-employee tech CEOs. He's consistently advocated for "stakeholder capitalism"[1], a movement which, in part, seeks to align corporate objectives with those of the employees rather than just shareholders.

He also pledged not to make significant layoffs during the peak of the pandemic fear in early 2020, and encouraged other companies to do the same[2].

I honestly wonder if this last year will change his mind on trying to be a compassionate and socially conscious leader... It seems if you're a tech CEO these days people will hate you regardless of what you do. Am I seriously suppose to be angry he took a 10 day vacation after making difficult layoffs?

[1] https://www.salesforce.com/company/stakeholder-capitalism/
[2] https://techcrunch.com/2020/03/26/salesforces-benioff-pledge...
There is not much oxygen up there and it's very cold.
Exactly. That's so many levels of poor reasoning that it's hard to feel bad for anyone, other than maybe the developers whose work never saw the light of day.

Plenty of people, including those with prestigious titles, who are detached from the reality of software development. In some cases they "hire some geeks" to solve a problem a big company already solved, and like in this case there are other times where they hire some big company with an official sounding name because, surely, they can get things done.

Honestly, it gives me hope that my job as a web developer won't be wiped out by AI too soon. There's enough foolish management types out there hiring the wrong humans to work on futile projects that I figure I have at least another 5 years before I have to resort to food delivery or basket weaving.
You are not forced into any design choice. You can use explicit reference counting to enable closure captures to add to object lifetime, or even a lightweight tracing GC implementation (such as the recently developed Samsara https://redvice.org/2023/samsara-garbage-collector/ ) to collect cycles as Haskell does. Of course, Rust makes the performance tradeoffs involved quite clear, even though the implementations it can use are quite possibly leaner than Haskell's.
True, although the junior rates are almost a rounding error when you see the rate of a Senior Partner. Typically though a McKinsey engagement is billed for the entire project. Internally though the price is determined by the number of consultants and their internal rate
I am not enough of a Rust compiler expert to tell you exactly where the slowdowns show up, but the common theme has been that a benchmark of a small section of the critical path shows equal performance (sometimes a little faster, sometimes a little slower), and then when you expand to a larger scope, benchmarks start to slow down in comparison to their C++ alternatives.

My intuitive guesses would be that the culprit is actually either larger code size, worse code layout, being unable to optimize certain code sections to the same level (undefined behavior in C++ is actually helpful for speed, and not all of it is actually unsafe), something about how calling conventions or struct layouts differ, or another "second-order" effect.
I develop and maintain 2 Internet faced products at the moment. One serves my own company the other serves my enterprise client. Neither has ever experienced DDOS (my own is about 10 years old). We do have our share of various bots pocking for vulnerabilities and sending us various spam. I'd say that US constitutes very healthy if not predominant portion of those.

>"Letting russia and china on the internet was a massive security mistake we should rectify. The world spends literally BILLIONS because chinarussia are frankly assholes online."

chinarussia are not run by best people for sure. Cutting them or any other country for that matter off the Internet I think is really stupid decision. As for the costs - I think the West in general and the US in particular were able for many decades reap an enormous rewards by having China people do the work for peanuts.
> Morally, hurting people is categorically worse than stealing money.

That's also not a fact. It's just something people sometimes agree on. But it's not always a useful crutch.

See the other replies like https://news.ycombinator.com/item?id=34789096 or https://news.ycombinator.com/item?id=34788866 They explain what I was trying to express better.
The fed? They were the ones that initiated the largest QE spree of all time so that their friends and masters don't lose their fortunes in an unexpected recession.

The very same recession they are now trying to cause to get inflation under control, just that now there is way more debt and the recession will be much worse. As a side benefit this recession is expected so the oligarchs can go into cash and buy everything up for 30% less.

edit: I shouldn't talk, my central bank is the ECB which is much worse and much slower. We're just lucky the fed is the world's central bank so we benefit from their actions a little.
I screwed up by staying with a company I thought appreciated me going above and beyond. Now, once I'm 6 months into any job, I just start putting out resumes as it'll take 6 months to find the next role I really want.
Show HN: Send private valentines, using homomorphic encryption
Hi HN! I'm a cofounder of Blyss.dev, a YC W23 company building an SDK for homomorphic encryption.

In recent HN discussions of homomorphic encryption, there seems to be a common opinion that it is "too slow to use". I thought it'd be fun to put together a quick, seasonal demo challenging that assumption - here's a realtime database that supports private reads via FHE, used as the backend for an otherwise simple CRUD app. Please do kick the tires!

if my 3am engineering does fall over, and the demo breaks, you can still check out our github repo [0] for more detail on what we think you can practically do with FHE today.

[0] https://github.com/blyssprivacy/sdk
Common Lisp's Roswell in a FreeBSD Jail
Ever wanted to work in the UK rail-ticketing retail space? Our API powers some of the most established and recognisable brands in the rail retail space (particularly where split-ticketing is involved) such as TrainSplit, SplitMyFare, Railboard and others. We provide both B2C and
B2B services.

We are a remote-first organisation; we have engineers in a variety of locations across the UK. If you’re based near Glasgow, Warwickshire or London then you’d be able to work collaboratively in-person with our team members as much as you find useful.

TrainSplit | Android Developer | Remote, office in London | Permanent/PAYE (open to discussing contract opportunities) | Must be UK Based

------------

This role will be focussed on working on our B2C Android app for TrainSplit. We’d like to bring on-board a new developer into our small engineering team to add new functionality, keep the app up-to-date and fix reported bugs.

For more information about the role and our Android application’s architecture, please see https://trainsplit.com/android-developer (PDF).

For questions send us an email to careers AT trainsplit.com. To apply, email a copy of your CV to the same email address.

TrainSplit | Backend Software Engineer | Remote, office in London | Permanent/PAYE (open to discussing contract opportunities) | Must be UK Based

------------

We're currently looking for a backend software engineer to work on our industry-leading API and associated services. We’re looking for someone UK-based who will be able to work on our .NET-based services which are written in C#. We have a variety of smaller services written in Golang, too.

For more information about the role and our API’s architecture, please see https://trainsplit.com/backend-engineer (PDF).

For questions send us an email to careers AT trainsplit.com. To apply, email a copy of your CV to the same email address.

No agencies, please and unfortunately, we are unable to accept applications from candidates who do not have the right to work in the UK.
If you are defining dataclasses, do yourself a favor and define them kw_only=True.
Since ~all email can be examined by anyone who controls the server...how is your advice different from saying "never send email again"?
Operator overloading is what makes the majority of science/math heavy libraries (numpy, scipy, pandas, torch, scikit) work. It ain't going anywhere.

Walrus is fine. It's easy enough to google "python colon equals" and figure it out.
well yes, but you're still allowing cheap second house, but not third. This means more middle class people can buy an investment home, but they will have to stop there, discouraging landlords with a huge stock of houses. You don't want to discourage investment in houses, just oligopolies/monopolies on the housing stock, and also unoccupied houses.
Could it be that the specific seed companies that "[m]ost roles required to work a traditional in-office work week" were involved with business idea that had a better chance in succeeding, because of market conditions and product demand?

That is, maybe the seed companies that did better with in-office had tangible products, versus no-office seed companies did not - and at this time the market wants tangible products?

edit: i.e., are the all software development firms? Are they all widget making companies? All service companies?

(why is it so hard today to express what I mean?)
How does one get malware from playing a .mkv or .mp4 video file?
My school district got one; I assume they did accounting on it. RPG would be a good fit for accounting. But also, they taught programming to us students. I learned FORTRAN on one of these in 1979. 4K RAM and punched cards.
> Yes, it is.

Not really. It's a handful of common-sense techniques around communication, architecture, and getting out of people's way. There's 3-5 books that compress most of the necessary knowledge into straightforwardly readable form.

Of course, most people haven't read them, let alone applied them. Instead, as an industry, we've converged on having engineering companies led by non-engineers, "scrum masters" galore, and desperate cargo-culting of OKRs instead of having real objectives and real key results. "Top" teams at FAANG companies are routinely having 1980s-style conversations about "staffing projects" while they reassure each other that they don't need to prioritize because "everything is important." (Ask me how I know...)

It's all self-inflicted. I don't know about your extrapolation to broader politics, but back here in the office? The simple task of organizing 5, 10, 50, maybe even up to 100 people? That part is perfectly doable without making any major mistakes. We just don't want to do it.

At minimum, though, I wish we'd stop sitting around and saying it's too hard. Here's Ben Horowitz, writing in 2011 (twelve years ago!) [1] about it:

> If you manage a team of 10 people, it’s quite possible to do so with very few mistakes or bad behaviors. If you manage an organization of 1,000 people it is quite impossible.

If we as an industry could hold the bar higher on running companies/teams when they were this small size, personally I think a lot of things would naturally sort themselves out at the 1,000+ person size. Besides, change begins at home — even just improving the running of your local team would go a long way. Then, even if the executives are flailing around with their latest harebrained take on why they don't need to write rigorous OKRs because they need to run off on yet another vacation, at least your team is good.

Leading a group of a dozen engineers is a perfectly straightforward and learnable skill. And it doesn't "take just one member... to make it all fall apart," because you can just fire that one member. I'm not claiming all this stuff is trivial, but I wish we'd stop making it sound like some sort of mind-blowing skill of living on the knife's edge and wielding secret, arcane leadership knowledge.

(Sorry for the morning rant. I know you meant well, and you're also right to empathize with each person's individual needs. It's certainly a difficult job... it's just not impossibly difficult.)

[1]: https://a16z.com/2011/03/31/whats-the-most-difficult-ceo-ski...

EDIT: I posted my personal list of 3-5 books below. I'd love to hear others' lists, too.
The US Air Force successfully tested AI-controlled jet fighter
Modi is scared of BBC otherwise he should have banned BBC like RT.com in the West.
Elon Musk's dad was a South African millionaire.

Bill Gates' mom was on the board of directors of a bank and gave him an intro to IBM execs. [0]

Bezos parents invested 250k to fund Amazon. [1]

Upper middle class is generational wealth already if it passes a generation.

[0] https://www.cnbc.com/2020/08/05/how-bill-gates-mother-influe...

[1] https://www.cnbc.com/2018/08/02/how-jeff-bezos-got-his-paren...
This still makes me wonder why a government could or should not invest in it.
> it has a compiler that can help ensure you are managing memory correctly, and force you to type "unsafe" when you are doing things it doesn't understand.

Well it's a bit more subtle than that if we're honest.

Arguably, Rust does make a number of memory layouts (self referential structs, per struct allocators, non thread local addresses, etc) much harder to accomplish than "typing unsafe".
This is actually the same union that Starbucks workers are organizing with -- Workers United, which is an SEIU affiliate. I wonder if the Starbucks workers in Buffalo are helping this group of workers out.

Also, here's what their website says about whether they are anti-Tesla:

> No! We are pro-Tesla and pro-union. We want to work at Tesla and make it our career. We want Tesla to be the best it can be and a place where we can have successful and sustainable careers. If we didn't care about the company we wouldn't be putting this work into changing it for the better.

https://tesla-workers-united.squarespace.com/faq
|prevalent enough trains

Everyone keeps repeating this farce. No Trains are not prevalent enough. Those are prevalent only between major cities and do not offer a good service. (Most of trains in rush hours do not have enough capacity, are a health hazzard, heating or cooling does not work etc, on the otherside of the coin, outside of rush hours you have these trains run practically empty, total waste of Energy).

Asking people to exhange their 1 hour commute for a 2.5 hours (each direction) public transport is not a solution.

But the main problem is that not everyone need to move between major cities where these trains are prevalent.
I drive one hour to get to work. there are no Train lines there.
While that distance is doable with an EV, it makes you nervous, there is effectivly zero infrastructure build for EVs outside of Major cities and I know fully well that the infrastructure will not be ready by 2035.

EU has put the cart before the horse. They should have first mandated the building of the infrastructure and I am sure more people will adopt the EVs.
Meanwhile more incetivising of Hybrid Cars should be in place.
You don't need to know that to write haskell

Effect systems and monad transformers are advanced topics. They're possible to use in my language yet most people do not and can still write software.

Certainly no need for them in Haskell to be successful. You can just program at the lower levels of abstraction common in other languages.

The only difference is that Haskell's community tends to emphasize abstraction
That will only damage poor people, unable to buy EVs, subsequently voting for autocratic populists.
If you exclude VC money in the near future, bringing in those boatloads requires a minimum of actual competency so. Even VC funding requires that, just in different departments.
> imo the biggest bang for the buck is just having good `#!` support.

Shebangs don't really make sense for AOT compiled languages and I don't know why you would really want one, but you can add `#!/usr/bin/env -S cargo run` to the top of a Cargo.toml file today and it will "work."

I just think the premise of "why didn't you write your last script in Rust" is flawed. It's a systems programming language, if I'm writing scripts I don't really care about the same things - like static typing or meticulous error handling.

It sounds like high effort and low reward imo.

A REPL though (not a true one necessarily - but live-reloading of dynamic rlibs and using dynamic dispatch in place of monomorphization for REPL-builds) would be extremely useful as a workflow tool.
These things have been around for years now. In the early days maybe they assumed they could be just be classed as vending machines.
completely untrue, humans are naturally objective and the hardest, most capable and morally just people always rise to the top to make the best of the decisions for rest of us
As a devout muslim it is considered haram. So says my imam, I don't know myself, I didn't read. Are you an Islamaphobe?

You can raise your offspring on whatever books you wish but you cannot force anything on kids who are not yours. It is offensive to me.

Your intolerance of my diverse viewpoint is very problematic.

Perhaps we can agree to disagree and stick to teaching kids math and core subjects instead of imposing on each other otherwise one of us will have to switch schools.
not SQLAlchemy compatible, interest lost :)
It baffles me that the PEP to add frozendict is still in draft state. It's obnoxious to try and create truly immutable datatypes in Python for... I have no idea why.
You don't need a maid. Start small. The habit will build.
The problem with statement's like yours is that there is no evidence to support the things you are saying.

- "I am a firm believer that 100% remote work as actually a net negative for collaboration."

You're entitled to your beliefs, but they are just that. I'd hate to see companies making decisions based on "feelings" they have in regards to one format being more effective than another.

- "Workshops, ideation, brainstorming, all of these thrive when people are engaged in the moment, not on a scheduled zoom call."

I'll counter your anecdote with my own: I've observed no difference.
Cooling doesn't mean dropping. It means less hot. If you take a lasagna out of the oven to cool but decide to cut in after only waiting a minute, it will still be too hot. The Fed is trying to keep your lasagna nice and warm after burning the last tray.
> People below a certain age know that no listed price means it is always a fraud. They will instantly discard such companies.

I'm a graybeard, and I think this way as well. Or, even if it's not a fraud, having no listed price means, at the very least, that I'll have to talk to a salesperson -- which is to be avoided as much as possible.
Many utilities are interested in using EVs as batteries for the grid. After all, typical EVs sold today have 60-100kWh batteries and are sitting parked the majority of the time. The idea is the utility would offer payment or incentive to use your battery and balance the grid.

The idea has been for a while, and is starting to come to wider testing with the finalization of Vehicle to Grid standards for the CCS charging standard.

Some other charging standards like Chademo already supported this usecase but aren't widely used in Europe or North America.
I believe its the same logic as with ICE - used electric car market needs to look similar to used ICE car market, pricewise. I can accept buying electric car say 6 years old with 90% battery capacity and usual wear and tear for half to 1/3rd of the price of new one.

But even though I can easily afford it, I will simply never pay those prices for new cars, ICE nor electric. They are ridiculous, never understood who buys them outright or via some not-so-smart payment regimes.