skysight-inc/HackerNews huggingface dataset:
I don't think the Go community is particularly susceptible to this. You mention Python; as you say, Python and the dynamic scripting languages are particularly "OK" with having things that back to C, because of the huge performance improvements you get with doing as much as possible in C in those languages. Dynamic scripting languages are slow. But these are the exceptions, not the rule.

Most other languages want native libraries not because of some bizarre fear of C, but because of the semantics. Native libraries work with all the features of the language, whatever they may be. A naive native binding to SQLite in Rust may be functional, but it will not, for instance, support Rust's iterators. That's kind of a bummer. Any real Rust library for something as big as SQLite will of course provide them, but as you go further down the list of "popular libraries" the bindings will get more and more foreign.

Also, the design of these dynamic scripting languages were non-trivially bent around treating the ability to bind as C as a first-class concern. I think if they were never designed around that, there are many things that would not look the same. One big one is that Python would be multithreaded cleanly today if it didn't consider that a big deal because the primary problem with the GIL isn't Python itself, but the C bindings you'd leave behind if you remove it. Go's issue is mostly that it came far enough into C's extremely slow, but steady, decline that it was able to make it a second-class concern instead of a first, and not force the entire language's design and runtime to bend around making C happy.

As it happens, in my other window, I'm writing Go code using GraphViz bindings, and I'm experiencing exactly this problem. It works, yes. But it's very non-idiomatic. I've had to penetrate the abstraction a couple of time to pass parameters down to GraphViz that the wrapper didn't directly support. (Fortunately, it also provided the capability to do so, but that doesn't always happen.) There's a function I have to call to indicate that a particular section is using the HTML-like label support GraphViz has, which in Go, takes a string and appears to return the exact same string, but the second string is magical and if used as the label will be HTML-like.

This is not special to Go, I've encountered this problem in Python (the Tkinter bindings are a ton of "fun"; the foreign language in this case is Tcl, and if you want to get fancy you'll end up learning some Tcl too!), Perl, several other places. A native library would be much nicer.

Finally, the Go SQLite project isn't it's own SQLite. It's actually a C-to-Go compile, as I understand it. That's not really a separate project.
Maybe any potential sensors on it, something that's not replicated on the 3D render?
I'm not sure if you're talking about at the executive level or at the engineer level, but here's some anecdata:

At the big tech (household name) I work we definitely spend a lot of energy talking about COGS a engineers. We have a LOT of data, and we spend a lot of money on cloud services to keep our product running - you want to add a new piece of data to this database to support some new feature? Go calculate how much it'll cost in storage and compute and if it's above some threshold, request special approval. You want to improve performance by caching our indexing? Let's talk about how much that'll be in COGS. This stuff ain't free, all those users add up.

The interesting bit is that all this COGS isn't actually money that transfers hands, the cloud we use is our own. But it isn't free and internal accounting is taken seriously.
Of course they would say that.
I still marvel at the thought process that leads a hundred million people to move to the desert and then to be surprised that there isn't enough water.
He has never advocated for removing speech from the public square or removing your right to hear speech. He didn't tell twitter to remove any account. He offered someone money (ie a private arrangement) to take it down and changed his mind. That's very different from forcibly revoking it and imposing censorship on the population.

You've fallen for a warped definition of free speech and censorship that is endlessly regurgitated by NPCs.
I can offer you the contrary opinion: why I would not use these kind of languages.

A couple of years ago I worked on a non-trivial APL application with one of my university professors and another student. We were trying to build a CPU simulator flexible enough to handle stuff ranging from PDP-11 up to Intel x86. The goal was to run some analysis on memory accesses performed by the x86 architecture. Quite an interesting project in which I worked on for around two year.

The code is still available if you're interested: https://github.com/emlautarom1/PDP_11_Simulator

The first implementation was done in APL using a book which I don't remember as reference. We had a couple of meetings where we learned APL and the general idea behind the design. Pretty soon we started to deal with a lot of issues like:

- We only found two implementations for the APL interpreter: GNU and Dyalog. GNU is free but pretty much abandoned. Support for Windows was (is?) nonexistent. Dyalogs version is proprietary so we couldn't use that (even when a "student" version was available).

- You had to use a special keyboard layout since APL uses non ascii characters, which was only available for Linux. Every time you wanted to write some operator I had to look it up in a paper sheet. Eventually you start memorizing, but it was a pain in the earlier days.

- There is literally no community support. You can't just 'StackOverflow' some APL stuff.

- Dynamic scoping + dynamic typing make working on a large codebase pretty much impossible. You don't know when things are defined, and you don't know what they are.

- The language is extremely terse. I remember that a single line of code was able to fetch, decode and execute instructions. You're incentivized to write this kind of code, and even if you're able to understand all operators you still need to figure out the semantics of the code. For reference, I work with Haskell everyday and it looks like Java compared to APL.

- The code tends to be very hacky. You (ab)use the fact that most things are arrays and solve all problems using some form of indexing/map/reduce. You tend to forget about proper conditionals or custom data types. Domain modeling is pretty much non-existent.

- There is no built in support for test, and we could not figure out how to use a third party library for that (is it even possible to use third party code?). Our tests consisted in a lot of code that checked some conditionals, and then we printed "Pass" or "Fail" on each. Very primitive stuff.

- No debugging at all. You run the code and pray for the best.

A year after we started my classmate decided to drop the project since he felt he couldn't keep up with the complexity: each line of code was non-trivial and really hard to understand.

Eventually we had to rewrite the whole project because GNUs interpreter didn't support big integers, and trying to circumvent that resulted in very poor performance. The new version was written in Julia (https://github.com/emlautarom1/Julia_Simulator), so we were able to reuse a lot of "array code". The project got cancelled in the middle of the rewrite and we kind of forgot about it.
Ask HN: Now that Mallory will be in our comms, how do we prepare?
After reading this[0] I can't help but wonder how Alice talking to Bob will now be compromised by a third actor: Mallory[1]. From the Wikipedia article on Alice & Bob:

> Mallory: A malicious attacker. Associated with Trudy, an intruder. Unlike the passive Eve, Mallory is an active attacker (often used in man-in-the-middle attacks), who can modify messages, substitute messages, or replay old messages. The difficulty of securing a system against Mallory is much greater than against Eve.

I had a look at Matrix[2] and it's developed in the UK, per their site ('a non-profit UK Community Interest Company') so since the UK is no longer a member of the EU I presume they're immune from the EU backdooring Matrix, unless I'm mistaken?

Then there's Session[3] & Cwtch[4] which look promising too. I can't imagine how Matrix, Session, or Cwtch could be backdoored since they're designed differently than other apps.

Are these chat systems immune from Mallory? Can we use them going forward when all the mainstream messenger apps are compromised in the near future (Whatsapp, etc)?

[0] https://tutanota.com/blog/posts/eu-surveillance-csam/

[1] https://en.wikipedia.org/wiki/Alice_and_Bob

[2] https://matrix.org/

[3] https://getsession.org/

[4] https://cwtch.im/
Day 80 of the 3 day invasion. Ukraine artillery has reached the border and has begun shelling Russian staging grounds on Russian land. All according to plan.
I think it really depends. Here (northern Germany) you don't really get a lot of snow. So a bit of snow & the accompanied very dry weather is significantly nicer than the cold, damp ~0-5c rain you'd otherwise get in winter. The snow usually doesn't pile up high enough to really be a problem.

So the choice here is "slightly below 0 with a bit of snow" or "slightly above 0 with rain". It's not like crazy canadian levels of "a meter of snow and -30c" type situation.
Mm, don't agree. You can earn a very handsome amount of money working for Tencent and Huawei.

I'd accept "undercutting", but that's a corporate/macro pricing trend, not a trend for salaries among embedded devs in China. I suspect many companies who are undercutting pricing are getting funded by the Chinese government. They're still paying people quite well, just because they need talented engineers just as much as their competitors do.
Random captchas ("We need to re-confirm you're a human") sounds like a great idea, although annoying to someone just wanting to post a quick 20-word tweet.

But it would have the useful side effect of slowing people down from tweeting impulsively, a practice that demeans the conversation and sometimes ends careers.
Yeah, I remember hearing about "190000 Russian troops" at the outbreak of this operation, and thinking that that was an awfully small number given the size of Ukraine.
Depends what you think is nice!
Correlation doesn't imply causation. They didn't /need/ to moderate heavily because they didn't attract legions of bad faith actors when they were small, and they stopped growing because growth isn't infinite. And the Internet is a lot different in 2022 than it was in 2007.
This observation isn't directly applicable to this story in particular, as this case the fix did require some in depth troubleshooting knowledge of the subject.

That being said, I'm often struck by how often something can be fixed by just opening it up and looking at it, even if you know next to nothing about the internals.

Two examples, both car-related:

- I used to drive an old Ford Ranger, and one day it started running like crap. Horrible acceleration, engine running rough. I made an appointment with a mechanic, but the day before my appointment I thought "What the heck, I might as well look at it." I popped the hood and immediately noticed that the air filter housing was cracked in half. Patched it up with duct tape, and it was good as "new".

- One of my wheels started making a godawful constant squealing. I couldn't drive 10 yards without turning heads. I brought it into the mechanic, where they took the wheel off and promptly a pebble fell out of the brake calipers. Had I just jacked it up and taken the wheel off myself, I would have saved a trip to the mechanic.
Why is this getting upvoted? it doesn't even point to anything....
Cons:

-Shortcuts are really atrocious(I still copy/past the || sign or ~ after a few weeks because I just can't remember it and it's just muscle memory at this point), I already left meetings accidentally by using the wrong shortcuts...

-need adapters for so many things and some adapters brand don't work on mac even though they work fine on linux/windows/any other(btw I don't get the point of having an SD card slot in 2022 but not one USB port... there is an HDMI which is just as thick but they couldn't put one freaking usb port for a mouse)

-Rosetta isn't perfect so some binaries don't seem to work really well(and in rare occasions not at all)

(those 3 cons are actually linked, since I can't do some stuff on Mac, I still use my linux PC sometimes, so it's really hard to use two different sets of shortcuts ...)

-can't split your screen in 4, you need multiple clicks/mouse movements to split your screen in 2...

-having to give permissions to apps can be really annoying(yes Apple, I shouldn't have to allow my terminal to read ~/Documents ffs), very annoying to have restart your browser to give it permissions

-performance isn't THAT good, of course it's a huge step up for Apple, but compared to my old laptop with a i7 and a GTX it obviously feels weak sometimes, especially given that my laptop was like 700$ cheaper.

Pro:

-battery life/charging time, it's nice to charge your laptop for just a few minutes, and spend hours on it afterwards

-video quality/sound, that's expected for this price range, but it feels really nice

-some software that don't work well with Wine works on Mac

-slightly less time on linux/unix specific issues when you're reckless and f*ck up your OS(but I guess you rarely have this kind of issues after 10years)

Besides that, not much.

Not worth the price IMO, I wouldn't get one if it wasn't paid for by the company, if it's free then take it, but if you can choose the brand you want then you can get something nicer IMO
In today's money it's the equivalent of about $150,000, and funded by selling a plane that sold for twice that amount. I would classify having enough disposable income to own a $300,000 plane & a net worth of a few million to be wealthy.

I should note that my working definition of "wealthy" doesn't mean they never have to work again, or don't have to work to maintain their desired lifestyle. Other people may have different benchmarks. As you said, abstract measures aren't easily quantified, and someone else's benchmark for wealthy may be higher.
As long as the states pay for it. If some people insist on living in the desert, the rest of us shouldn't have to pay for it. Civilization happens elsewhere.
Great point. And this will soon be available directly from Clang tools such as clangd, which will make life much easier.
I guess Twitter can ban Musk now for not going through with the deal. If that happens, where will he get all the attention?
The Compact Edition is excellent, but be warned - it's quite big! You'll need an oversized shelf for it. My version came in a box with a pull-out drawer at the top to hold a magnifying glass. In my home, we sometimes race to see who can get random information quicker, from the internet or from the OED; the OED is often more efficient.
> The "additional work" required to transmit a Bluetooth signal is insignificant compared to the amount of power needed just for the display being on.

The relevant comparison would be the power required to transmit and receive Bluetooth vs the power required to power a wired peripheral (e.g. mouse, keyboard, headphones) where the wireless version would have its own batteries.
It's my opinion that you live in a bubble and see the rest of the world as a foreign and scary place, with unknown levels of unknown danger (a polemical comment, but I felt compelled to share it)

> I've lived in NYC my entire life.
> hEre's mY taKe on what's wrong with more peaceful, orderly places.

Very cool, thank you!
You can do some tricks but the basic issue is that the "environment" in which you interpret the preprocessor directives for a ".h" file may change across different contexts resulting in a potentially distinct AST: simplest example is the common #ifndef guard (evaluates the true branch in the first load, false in subsequent ones).
The wording of the contract had lots of text describing the various ways in which either party could become liable for backing out of the deal.

If I was to ever make a deal involving Elon Musk the first thing I’d make sure is to have paragraphs making it clear that Elon doesn’t open his mouth about it until the deal is either completed or cancelled.
No other species has the recorder of deeds \ title registrar \ court system to enforce claims over territory in absentia without the continual presence of the beneficiary. Even among humans most of Earth's territory is considered common property and not excludable or conveyable personal property when considering the ocean. Practically speaking something is only an asset in a financial context when ownership can be conveyed on paper and pledged as collateral for a loan.
I turn it off because historically it's just less secure WiFi, and, bonus, junk to use more often than not.
Kopia is nice (kopia.io)
Elon Musk says Twitter deal ‘temporarily on hold’
> demonstrative of "intelligence"

Nothing. Nothing that just looks like intelligence is intelligence - convincing appearances cannot make a nature. Either it is an judicial ontology refiner, or it is not intelligence.
For the past decade I've worn a series of watches that combine analog hands and a digital display, which I find to be the best compromise between anticipating the passage of time and getting a quick, accurate reading. Casio makes some pretty good combo watches, and there are a range of smartwatch faces that combine the analog movement with the digital readout.

Edit: I noticed you (and the article) mentioned pie charts, and one of my favorite smart watch faces is "Old Fogies Can't See Worth S**" by m3tropolis[0]. It's a literal pie chart showing % of the hour elapsed vs. remaining, with the hour number in the middle. I find it extremely easy to understand, but tend to use other faces when I need to know exact minutes.

[0] https://apps.rebble.io/en_US/application/558782c83ae5e507fc0...
Who deserves this much attention? Elon or the countless people with mental illnesses living on the street?
Sun Tzu was even more pessimistic.

> 8. It is the rule in war, if our forces are ten to the
enemy’s one, to surround him; if five to one, to attack
him; if twice as numerous, to divide our army into two.
While the power consumption may vary considerably, the maximum temperature is presumably constrained by what humans and their hair can tolerate.
While I agree, we’ll have to be careful that the incentive encourages productive transition to more sustainable domestic farming rather than outsourcing our food production to another country or continent.

It would take a lot of thought and planning to manage that transition. Of course the status quo appears to be untenable.
> I take it the person writing the article prefers anything, including a constant drab rain, to ever having -15C or +30C.

That's about right. I don't mind -15C so much but don't care for anything below about -20C or above 20C. I don't like rain either but I think I'd put up with it for a narrow enough temperature band.
> mail your manifesto

Just be sure not to get DNA or fingerprints on the stamp :)
So about .2 of the stupid train from nowhere to nowhere
Ah good to know. When I'd go in to move the dock back the settings would still show it on my main monitor so I figured it was a bug.
Regulation has almost nothing to do with it. Regulation is a means to make accountability scalable. you could write a never ending list of possible regulations, but the ones we settle on are the ones we need due to the ways people end up abusing a lack of regulation. It does not absolve the abusers of accountability.

The more a community holds itself accountable without regulation, the less regulation the community needs. If people always avoided unregulated assets because of your logic - we wouldnt have any regulated markets today.

Non-scams are the norm where I come from and with the people I interact with. Maybe it is cultural. Some cultures held people accountable for their bullshit and some didnt... and now the expectations for responsibility are different. "you should expect to get scammed" vs "if you find a scammer we will deal with them"

>If I write "i owe you a billion dollars for your 64 diamonds" on a minecraft sign you shouldn't be surprised if I don't hold up my end of that.

If you take my 64 diamonds, deny me a billion dollars, and then refuse to give the 64 diamonds back.. that is theft. In minecraft, I would then proceed to remove your health bar, take what I want from you, pour lava buckets on your house, etc. And you should not be surprised by that.

Abusing a lack of regulation causes chaos, and hinders the ability of communities to grow stronger. Weak communities enable unnecessary suffering. There is an ethical responsibility to make an example out of people who manipulate communication to scam others. It is one of the few things nature allowed us to have to enable building communities in the first place.

If scamming is currently the norm, then it is currently hunting season.
Well, he's definitely mastered market manipulation. I take your point there.

But, the degree of absurdity across predictions undermines even that strategy over time. I think he does himself a disservice here. He should get out of his own way and allow his actual achievements to speak louder than irrational predictions (and other distractions).
Ach. Fun
> How would you make sure that the supplied version has the same weights as the production version?

You just run the same software (with the same state database, if applicable).

Oh wait, I forgot, nobody knows or cares what software they're running. As long as the website is pretty and we can outsource the sysop burden, well then, who needs representative testing or the ability to audit?
> Expats are typically people living outside their country on a non-permanent basis (on assignment or some temporary basis), with no intention to permanent emigrate to the country.

> Immigrants however are people who move to a country with the intention of settling there permanently.

I think those are the textbook definitions, but in reality expat is usually applied to those from higher income countries only.

Do this quick experiment, do an image search "expats in <destination_name>" vs "migrants in <destination_name>" and compare the pictures:

See what their income appears to be, clothing, skin color and circumstances.

Dubai:

https://duckduckgo.com/?q=expats+in+dubai&t=h_&iax=images&ia...

https://duckduckgo.com/?q=migrants+in+dubai&t=h_&iar=images&...

Costa Rica:

https://duckduckgo.com/?q=migrants+in+costa+rica&t=h_&iar=im...

https://duckduckgo.com/?q=expats+in+costa+rica&t=h_&iar=imag...

For example, for 'expats in Costa Rica' I got shown a couple in an outdoor hotel, and for 'migrants in Costa Rica' I got shown the Immigration Police detaining a group from Africa and a dozen people sharing a bed.
There's no one in finance on HN and it shows. Elon can pay the $1Bn breakup fee and renegotiate the deal at a lower price, given the current market conditions. This is completely reasonable and rational, and Hindenburg called it days ago; but the top comment right now is arguing that Elon is "unhinged".
One would have thought the COVID-19 Pandemic would have been such an event, but alas..
instead of wild accusations, factual speculation or billion dollar ideas, what about learning+acting on it? others are.. so -

research:

https://pacinst.org/

politics:

https://www.acwa.com/resources/bay-delta-plan-resources/

meaurements:

https://ca.water.usgs.gov/bay-delta/bay-delta-water-quality-...

Board Members:

https://www.nwri-usa.org/board-of-directors
Maybe stop wearing the Hey Dad! t-shirt