skysight-inc/HackerNews huggingface dataset:
I’m switching back from Ruby to Python out of necessity, and I loath things like len(my_list) vs my_list.len().

I just don’t understand why Python thinks it necessary to define global functions for something that naturally should exist as a method.

And, of course, there’s no way to know up front when to use a global function vs when to use a method.
I don't trust Autodesk and I bailed from F360 when they crippled the hobbyist version, but I ended up having to go back to a single user subscription for now.

CAD/CAM programs are a "hard" type of software to write. I view them as similar in difficulty to free operating systems in technical difficulty and scope of the project. Before Linux there were only a few options for Unix-like OSs (Minix, Coherent, etc), but none of them particularly good for much except for academic purposes. Real work still took a licensed copy of Unix.

There still hasn't been a similar project to produce a CAD system (not just 3d modeling, but parametric CAD) created that's open source. There are some great programs for 2d cad, for running machine tools and CNC routers, but beyond things like FreeCAD there's nothing available in the open source space that's comparable to even the cheapest commercial offering.
I think this highlights just how bad the HN poll function is. Is it too hard to sort by votes and maybe add a thin line below each to show relative size?
Lesson 1: it's almost all locked down by the vendor. Even the development tools.
I wonder if there would be a good way to monetize a search engine such that returning great results gets them paid.

Like a check in if you found what you were looking for, give a penny. Or potentially not what you were looking for, but something that you are happy you found. Thus giving back good info to the search engine and only pay a nominal amount when you get what you want.
It sounds like someone threatened his family in a way that was meaningful. How would you react?
Not overkill. Inappropriate.
To be fair Angular 2+ is designed and operates a lot more like Rails these days.
The earning slides from SNAP compare the DAU and ARPU of SNAP, Twitter and FB, reg. the ARPU, they are respectively $29, $72 and $274.

https://s25.q4cdn.com/442043304/files/doc_presentations/2022...
Composability.

some_array.do_thing().do_another_thing().do_something_else()

versus

do_something_else(do_another_thing(do_thing(some_array)))

Note the first example could be an example of chaining - where each function returns "self" and we progressively transform the object. Or it could be simply each function returning different values which are operated on. Either way, the pattern is usually cleaner and easier to debug than the nested equivalent.
Default parameters have always struck me as dangerous. (And for my day job I use Python.)
It has been >7 years since I used RoR for a complex web app. The problem is not configuration vs convention. The problem I had was when I needed dynamic front end functionality for the user (drag and drop, no-refresh edits, etc.) I ended up needing to use another framework/library on the front end too (at that time it was Backbone).

Has that been changed/improved? Or RoR is still primarily used to build server side rendering (SSR) web apps?
I certainly do not want that! I want to search through the web as it is, not as some search engine imagines I would prefer it to be, based on its inevitably limited understanding of my preferences.

Smart systems which sometimes work and sometimes don't are vastly more frustrating than dumb systems which do exactly what they're told, every time.
Wonder if the one vote for Georgia the country was actually meant for the US state of Georgia
Yeah, 90% of it is industry and growing stuff in a desert, but those people watering their roses is the problem. Lol it's more of the elite making sure they get their profits while blaming the general public and also pushing the cost to them.
Because intellisense can help.
7 scientists reveal what they got wrong during the pandemic
Cost means something different in economics from what it means in accounting. A cost in accounting terms is an expenditure. When an economist talks about a cost, they are talking about an opportunity cost, which is one that is contingent on the expected return of an activity. If you don't believe me, go read about it on Wikipedia or whatever.

Section 2.1.1 - "For a bailout cost measure to be economically meaningful, it has to be evaluated as of a fixed point in time. In most cases, the natural choice is the year the bailout is initiated, for instance, when new legislation is passed or administrative policy changes are announced or implemented, or shortly thereafter."

The author does this. She evaluates the cost of the bailout at a fixed point in time, the year the bailout is initiated, which is to say 2008. She arrives at a number of $500bn.

What happens after 2008 is irrelevant to her cost analysis. If you don't understand this, you don't understand anything about the paper at all. Look at every subsection in section 3 where the author considers the different elements of the bailout. When she's considering fair value cost, it's always in reference to contemporaneous reports (2008/2009 sources) or estimates on that basis.

Also, please stop accusing me of gaslighting: I'm not asking you to question your reality, I'm just asking you to question your understanding of an economics paper - there's no power dynamic here that would put you into a vulnerable position and allow me to bully you, even if that were my intent. We're just people on the internet.
>That line of explanation doesn't do it for me

I don't mean to be rude, but you are flat out wrong here.. you are not accepting the "simplicity" of what is actually happening- you want to make it something complicated and metaphysical, which is why the explanation doesn't do it for you.

>me, because there is only one brain that has my FPV consciousness. Why this particular one?

Well.. why do you look the way you do? Why doesn't everyone look exactly the same? Because there are tiny bits of random evolution/changes in our biological bodies. The same is happening in the brain- no one has exactly the same functioning brain. You have your FPV consciousness because that's the one you have.

If you are looking for some other answer.. then it's just philosophical nonsense at some point. It's like saying "Why does Uranus look the way it does, while Neptune looks different?". It's just what happened.. if Uranus and Neptune switched how they looked to us from the beginning, you would never know and be asking the same question that doesn't make sense.
I think there's a rule you don't repeat punctuations like this... one is enough.
Having watched a lot of Gerald Undone's videos, I have a very very hard time imagining how he could incite anyone to threaten someones family. But I don't know the backstory, just saw the meltdown.
4 per 1000 kcal, so 1 per 250 kcal.
Kvass is delicious
In Ruby, anything that can be sorted will respond to sort. So thing.sort will also sort anything that can be sorted.

Python does the exact same thing, it just hides it from you using ugly __methods__ that the language itself will call by convention. What determines sortability? "Anything that can be sorted" just means anything that implements the __lt__ method. In Ruby, this method is called <=> and the Comparable module builds upon it.
> Well, one thing is that enums are non-frozen by default, so you have to actively tag it as `frozen` if you want to put yourself in a scenario where you're never allowed to add cases.

Yeah, non-frozen by default makes a lot of sense. The only gotcha left is that you can't retract from adding frozen, but that's ultimately behavior you want and something that must be able to bite you back.

> if you use your own enums in your own module and don't make them public, it treats them as if they're always frozen... which is nice because it's your internal code and you can always update your own usages without having to worry about compatibility.

That's neat
If you can't are unwilling to manage a few private keys, you definitely should not be near crypto. Or computers for that matter.
> which is nice because it's your internal code and you can always update your own usages without having to worry about compatibility.

Unless your services talk to each other or share some external data storage? Which is actually really common?
"chip"? o.0
It's worse: every possible advantage of mergers is a good thing made impossible by competition. Mergers are a sign of the market itself being inefficient.
> Incredible how the assholes will even destroy something so obviously good and by going after the guys' wife and kids no less. It is absolutely disgusting.

Wonder if it'd be helpful to publish and name names:

> However, yesterday they came at my children and my wife. They came at my family….. little fanboys of certain YouTubers that have obviously been raised horribly. What was in my inbox I won’t even show my wife. I’m tearing up writing this with absolute disgust for how horrible people are becoming. All of this is created by the personalities (I refuse to call them creators), they feed off of it, they profit off of it and they don’t care.
People are being forced to wear masks as a form of humiliation. People are being forced to present their vaccine cards as a form of humiliation. People are choosing to wear stars of David as a comparison of the two.

I can explain it to you, but I can't understand it for you.
It's still called a particle because that's a useful abstraction, and also keep in mind that correctly identifying it as resonance happened much later than people first started to use said abstraction.

In reality, we know by now that there's no such thing as a particle:

https://arxiv.org/abs/0807.3930
Microsoft and Apple created Windows and MacOS as open platforms.

Microsoft and Apple created XBox and iOS as closed platforms.

The difference seems to be the intent of the platform creator.
Yeah. A major "cost" of CAD software is the investment in learning it, which is made much cheaper by having others learn it whom you can interact with, an open community to ask questions of, etc.

That's part of why it hurt so much when Autodesk crippled the hobbyist version of Fusion 360. All the stuff it can't do now no one can help you learn.
Bus Factor in Practice
"Bus factor is a metric that identifies how resilient is the project to the sudden engineer turnover. It states the minimal number of engineers that have to be hit by a bus for a project to be stalled.

Even though the metric is often discussed in the community, few studies consider its general relevance. Moreover, the existing tools for bus factor estimation focus solely on the data from version control systems, even though there exists other channels for knowledge generation and distribution.

With a survey of 269 engineers, we find that the bus factor is perceived as an important problem in collective development, and determine the highest impact channels of knowledge generation and distribution in software development teams. We also propose a multimodal bus factor estimation algorithm that uses data on code reviews and meetings together with the VCS data. We test the algorithm on 13 projects developed at JetBrains and compared its results to the results of the state-of-the-art tool by Avelino et al. against the ground truth collected in a survey of the engineers working on these projects.

Our algorithm is slightly better in terms of both predicting the bus factor as well as key developers compared to the results of Avelino et al. Finally, we use the interviews and the surveys to derive a set of best practices to address the bus factor issue and proposals for the possible bus factor assessment tool."

https://arxiv.org/ftp/arxiv/papers/2202/2202.01523.pdf
Most important items in my plate

1. a unified improved *error* in stdlib with stack trace support.
2. a unified log interface(mentioned)
3. a STL library like c++
4. shared library support so we dont have 100 static binaries that among them each have 90% of duplicated content. go shall support shared libraries/modules officially.
Sum types would satisfy the first two on that list, as well as making an ergonomic optional type trivial to define.
https://wiki.linuxfoundation.org/realtime/documentation/howt...

This is the goto tool for measuring SCHED_FIFO (realtime) scheduling performance. If you really care about responsiveness in a broad sense (not just user/GUI), this is likely to play some role your testing process.
Most tourist visa's do not allow you to work (even remotely). I'm sure tons of people do it, but this is basically allowing people to legally "travel" the country for 6 months while explicitly working.
>Weeder courses are more like an obstacle course or the (perhaps: literal) obstacles in the collegiate course. Lab techs that give you slightly wrong ingredients or technically the right ingredients if you knew some trick. Math problems that require some trick to prove or otherwise shoot you down 8-12 hours of grind with no solution. Or just giving the student a large matrix to calculate the determinate of without a calculator. Or marking -10% (out of 100%) for each, individual grammar mistake.

The conditions you described sound closer to "unfair" than just "weeder". I've heard of people describe certain courses as "weeder", but that's because they covered difficult material and had difficult assignments, not because the teachers were actively sabotaging the students.
..like Kroger, or Whole Foods?

I would say Kroger isn't a real supermarket, it's a junk food market and pharmacopia.
Except here the encapsulation comes at the cost of extending a core library at runtime, which has all the tradeoffs mentioned in the article.
Do you think he created that web-page by modifying HTML?
Because the only people eligible for this visa are the people who don’t require a regular tourist visa in the first place. And it’s literally just a tourist visa that lets you stay for twice as long.

I don’t see the appeal. It seems completely pointless to me. It’s basically targetting only wealthy countries outside of the EU, like Canada, the US, Australia and New Zealand.

And in that case, why would I bother with visa and the paperwork just to be able to stay for 90 days longer?

It’s basically like applying for a B1/B2 visa for the US if you’re from a VWP country. You can do it, but why in the gods name would you?
Also it was posted in the afternoon for those on the US East coast. (A Friday afternoon!)

Unless this sits near the top of HN for a week, it's very likely to be skewed.
Sorry about that! This was an oversight on my part. In retrospect, I wish I had included separate entries for regions of UK, Canada, and others. I thought about adding new entries for them now, but it seems a bit too late since folks have already been voting.
> Is this a China political thing?

Yes.
Also https://web.archive.org/web/20220204212748/https://www.canon...
You're not duckduckgo's customer either (their primary revenue source is keyword based advertising), or the customer of anything else you don't pay for.

The only one I know of that at least plans to have a simple two-way relationship with search users as their customers is Kagi. Currently it's in free beta with a waitlist (took a week for me). When they go live they intend it to be a paid, subscription service with no advertising. So far I've found it good, and I'll gladly pay when the time comes.
Google has become the very thing people ran from.

Try Bing, as it's been well regarded.
The level of encapsulation seems to be the same. It’s just a different notation in that case.
I like this from the readme:

It's easy to use Coral as a drop-in replacement for Cobra in existing projects, just let gofmt do the heavy lifting for you:

gofmt -w -r '"github.com/spf13/cobra" -> "github.com/muesli/coral"' .
gofmt -w -r '"github.com/spf13/cobra/doc" -> "github.com/muesli/coral/doc"' .
gofmt -w -r 'cobra -> coral' .
go mod tidy

Having implemented something to do a similar one off refactor in java for thousands of files, that is a breath of fresh air. In java i had to go code -> AST -> perform manipulations -> generate code from AST (with inevitable long PR’s due to generated code not matching 1:1 with parsed original). After having gone through that i think if i had to repeat again with java I’d probably try harder to use structural find and replace.
Wait, is all this drama going on just about a camera equipment blog/news site?

WTF?
Anecdata, but I'm teaching a coding class for 10-12 year olds and most of them don't know their way around a laptop. Most of their work has been done on tablets or maybe phones.

It wouldn't surprise me at all to learn that huge chunks of demographics don't really use desktops or laptops all that much.
When I was in college, my girlfriend lost her driver's license. Somebody mailed it back to her, but with a pornographic image pasted onto her face picture.

I just don't get it.
Very interesting experience with Google. Were you logged in both times or it was anonymous search? Did you try to somehow refresh your IP address
>I've already made up my mind to walk when dang does.

I used to hate dang with a passion because of a previous account that got banned for ... reasons.

But, with time, I've come to appreciate the job that he's been doing in order to keep the community sane. Thanks dang and I hope HN stays the way it is for a longer while :).
Interesting they use the Church of the Good Shepherd as the title photo for this. You'll find Mt. John observatory nearby, and the local region is already designated a dark sky area.

The interesting thing however, is the local township of Tekapo is booming in population due to... well, boomers. Tekapo is a nice place to settle down, plenty of retiries from Christchurch have built homes there and the size of the town has grown massively since the first time I visited it 20 something years ago.

Unfortunately, I don't think the dark sky reserve will get in the way of further expansion. Mandated blackout curtains and low light street lamps can only go so far to combat the ever increasing light pollution in the basin.

Unfortunately pt2 for Mt John observatory, it's survival has been in trouble before as the latitude is serviced by better telescopes in Chile. Therefore it's lacking investment drive for better instruments / expansion etc.
It’s literally a cropped image that no one has said they can reproduce
no ublock origin = pebcak
Fair warning : video of really poor quality. Blurry, white-washed presentation screen unreadable, camera follows presenter instead of focusing on screen.
>I refuse to participate, on account of the overwhelming America-centrism. I realise that by doing this I'm skewing it even more, but

Not sure why you'd see it that way. Especially since the US has more English speaking folks than any other country[0].

Since HN an English language site and there are more (by a lot) English-speaking folks in the US than any other country, it's not surprising that there are more folks from the US on here than other countries.

What steps do you suggest to reduce the "America-centrism" of HN? Refusing to participate in a poll certainly isn't viable as a means to do that.

As an English speaking resident of the United States, I'd love to see more non-US stuff here on HN.

A poll that might be useful in this context is a comparison of the numbers collected here as compared with the location of submitters as a whole.

I've found that online translators mostly suck, which limits the usefulness of foreign language submissions on a site that's in English.

[0] https://en.wikipedia.org/wiki/List_of_countries_by_English-s...
Thanks! Bug report: "Czechia" on the map is showing 0 votes, since the poll item is "Czech Republic". Also you might want to account for "1 vote" meaning both no votes and actually one vote (not sure how, though, information is just lost here).
Iceland isn't that cold but it is expensive.

But I don't really disagree with your basic point. I'd mostly rather vacation someplace and work at home. (Mostly. I have remote worked when I've had some time between trips in the same general area and I've just stayed there in between.)

Zero interest in working from a beach in SE Asia though, especially given the time zone difference from the eastern US. Though this comes from someone who has "free" lodging in my house in the US.
Complete freedom of what you're cooking on/with, complete predictability, it's fine. It's not the 90% problem with the environment. Most apartments I've had were resistive elements or inductive and I disliked it, plus like other I have some aluminum and copper cookware that I inherited and have special meaning to me
Ah, so it's not really the 'best' newsletters, but the most popular.
As recently as 15 years ago we were 'almost certain' that the appendix had no function. Oops.
As far as I can tell, Tucson's sky protection regulations aren't limited to stopping streetlights. "With major astronomical observatories within close range, city leaders enacted an outdoor lighting ordinance in 2012 that requires fully shielded lighting and sets limits on the total light produced at night, especially in natural areas and areas close to astronomy sites."

Edit: The gp does mention street lights in the second sentence but that doesn't imply that's all that's done. And hey, no, that's not all the Tucson does.

https://www.darksky.org/nights-over-tucson/
Topological naming issue is the biggest problem that they should address immediately. Otherwise they can’t call it a parametric drawing tool. Period.

I discovered the issue in a middle of a design where I tried to change what I thought was a parametric piece. It unrecoverable blew up everything.

I kind of lost trust in it after that.
I ended up making a backup for every step on top of the regular backups, like: piece_name-step-1… etc.

I discovered the real thunder branch too late.
If you've never been, Iceland is surprisingly not that cold during winter, there are many places that are much colder (e.g. US/Canada east coast).

Is is also not warm in summer though :) (I guess the gulf stream is regulating temperatures pretty heavily).
Crusoe Energy Systems | SF, Denver, Chicago | Cloud, Distributed Systems, Crypto Mining |
https://www.crusoeenergy.com/

Crusoe is on a mission to unlock value in stranded energy resources through the power of computation. We aim to align the long-term interests of the climate with the future of global computing infrastructure.

We send containerized data centers to active oilfields and converts otherwise wasted (literally burned into our atmosphere) natural gas byproduct into power for energy-intensive computing, such as bitcoin mining, large scale AI/ML jobs, graphics rendering and computational biology.

View our systems in action: https://www.youtube.com/watch?v=Rlt8k71Quqw

In 2021 we hit profitability, raised a 128M Series B (with Valor Equity Partners, Bain Capital, Founders Fund, Winklevoss Capital, and some others), launched our data center services https://crusoecloud.com/ — and most importantly prevented 188,669 tons of CO2e emissions from being emitted into the atmosphere — effectively removing over 37,000 cars from the road.

To this point, we’ve kept the engineering team small (~15 engineers, our team is ~110 total), balanced with high-potential recent grads and a range of domain experts across networking, cloud infra, and crypto mining.

=====

We’re hiring Staff and Senior Software Engineers across these teams: Cloud, Crypto, Security, Systems, Hardware

Go, Rust, Java, or C++

Docker, Kubernetes, Ansible, Cloud Formation, Terraform

Questions? Reach out to cquinn@crusoeenergy.com

Apply here: https://www.crusoeenergy.com/careers