skysight-inc/HackerNews huggingface dataset:
Will they cherry pick Kotlin’s null safety…?
https://gist.github.com/b7r6/fde6fb3be9a752a989054e62905307f...
This is the implementation of hashtable_rand_obj:

cache_obj_t *chained_hashtable_rand_obj_v2(const hashtable_t *hashtable) {
uint64_t pos = next_rand() & hashmask(hashtable->hashpower);
while (hashtable->ptr_table[pos] == NULL)
pos = next_rand() & hashmask(hashtable->hashpower);
return hashtable->ptr_table[pos];
}

It returns first object in random chain, not the random object. This introduces a bias into selection of random objects. I have not had time to review your other code, but I strongly suspect return values of hashtable_rand_obj are skewed into preferring more recently inserted objects.

As the code of RandomTwo depends on the hashtable_rand_obj, it also biased.

The same is for Random cache policy.
Can you quote the relevant parts then, since you have apparently read all the prospectuses? I am wondering the same thing. Will they publish the custody addresses?
> syntax is overrated

Speak for yourself there good buddy. It's pretty important to me!

But I do agree with your broader point. From one perspective, Kotlin has been a great success if we define its mission as a test-bed and laboratory for improving Java proper. Unfortunately, while it has arguably succeeded in that mission, in doing so it might unavoidably fail in another mission, which is to thrive as an independent language.

I'd liken it to yarn and npm. Yarn was a huge success.. at forcing npm to massively improve and thus basically rendering itself irrelevant. A bittersweet success, but a success nonetheless..

I wonder if there's a term for this kind of self-sacrificial project which makes the world better for having existed but doesn't survive the process..
Millions of people leave their spouses, kids and parents to move to another country for work. Most don't even work anywhere adjacent to tech. We call them migrants. If you're ambitious/hungry enough, you'll do whatever it takes.
It's a delicate question.

Starlink does have some satellites in polar orbit (initially it seemed like there wouldn't be any, so this is relatively new), and there were some limited Starlink tests last year, but due to the CMB telescopes at Pole, which may be negatively impacted both by the satellites and the ground antennas, any Starlink deployment will be very cautious.
CICO is very nice if you put it into the proper context, which is,

1. The scale lies. Liar liar pants on fire it lies. (We could go into this in detail, my wife never seems convinced, but it is to my mind a basic fact of the physics of the system that the scale lies in multiple orthogonal ways.)

2. So you want multiple different probes into the same phenomenon so that you get a better insight into what is going on.

3. So, track calories as a second piece of data to try and check whether the scale is lying to you or not.

4. As part of that, they give you greater insight into the choices that you make. For instance you realize that it is functionally impossible to jog off a Krispy Kreme donut but very easy to replace half a meal with it. Or you discover that you can cut fruit juice for water with no dissatisfaction.

Regrettably this is not peoples’ usual relationship with food and the scale, which is exemplified by the Cheat Day phenomenon. The calories are viewed not as a separate data stream but as a morality judgment, which is then turned off for brief periods because constant judgment is hard on us, and these periods contain a lot of very relevant data such that if you turn the metric off selectively for them, the metric is no longer useful.
So you want to force everyone to walk and bike and give up the conveniences of a private vehicle? Why not just mandate that everyone has to do compulsory exercise everyday instead if we’re going to be paternalistic like that.
No, Many criticized these initiatives for years because they are a bundle of bad ideas. And it was predictable that these ideas would also be used to criticise Israel as the alleged oppressor.

It was a predictable as its failings to alleviate prejudice in any form. It is because of the bad ideas, not political allegiance.
On the contrary... bitcoin desperately needs this approval. The current (and future) price of BTC is absolutely predicated upon the greater fool theory.

The network is dependent on miners. Miners earn bitcoin but spend dollars to create it. They're dependent on price appreciation to provide the liquidity that sustains their business. Without this approval, who is going to continue to pay more for bitcoin?
>Do Java projects in industry even use the new stuff?

Yes. Kotlin fans need to understand that Kotlin is not competing with the old Java ways and stop mentioning bloody enterprise as an argument against Java, because bloody enterprise is largely ignorant to Kotlin‘s cause. EnterpriseStrategyAdapter anti-pattern is not a language problem, it is a management problem. It won’t be solved neither by new features of Java nor by new features of Kotlin. The real competition is in the new code in startups and Java has one big advantage there: faster recruiting, more reliability in tooling, better quality of business code for the money.
Kotlin is a good perk for developers in late stage startups, where the teams are big, delivery timelines more relaxed and you can afford fancy but less mature language or tool to consume resources instead of delivering more business value.
No, they could be using any of the variants of pointwise scalar trig-style embedding, one imagines it's at least a little custom to their particular training setup.

It was just an example of a modern positional encoding. I regret that I implied inside knowledge about that level of detail. They're doing something clever on scalar pointwise positional encoding but as for what who knows.
Wow! I didn't know that.
I'd love to see Java adopt Kotlin's more advanced type system: Proper support of nullable/non-nullable types, better generics and no primitives.

Not sure how they could get there but that would be amazing.

Also Kotlin has a pretty good JavaScript and Native support story now.
What about AI/ML attracted you more? I’m at a point in my studies, and I can either go down the big data route (more backend focused) or AI (frontend focused, i.e. how the computer interprets data), and I just can’t decide. Any insights would be much appreciated! :)
Yes this is accurate, satoshi is the unit and Bitcoin is more of a UX thing
They meant GPT-4 Turbo, which is an improvement over GPT-4.
top notch domain name
I wonder if the discontinuity of illegalization has made this a bigger problem than it would have been.

Many/most parents have no interest in it, because they value stability and risk aversion. When they were interested, it was illegal and a no-no. So many kids grow up with free-for-all, and with parents who can't teach them the respect they need. Add to that group pressure, and re-legalization without some sort of phasing-in seems like it would cause lots of acute issues.
I'm pretty sure 2025 will see the rise of the Koteka in western society, especially since it doubles up as a sundial.
How do bitcoins protect you from centralization when they are mostly used via coinbase and the likes?
Saying that we most likely don't have a problem because garbage studies fail to capture that by numbers is not the right conclusion.
I like to watch YouTube videos like those of Adam Neely [1].

Rant: I imagine reading a novel, in which every paragraph came with an additional author note/explanation of the actual meaning. Clearly leaving room for interpretation and ambiguity is part of the enjoyment of reading or even writing that book.

This is to say, if we are going to make music, we don't necessarily need to constraint it to any particular theory or rules on how it should sound, which chord should come after the previous, etc.

On the other hand, some theory can go a long way in making the music understandable, like sharing a language with the listeners, and to collaborate with other musicians. It is a balancing act.

--

1: https://www.youtube.com/watch?v=siHfCV6vuSc
We will add a FAQ entry about scalar and we have one about submodules. But in short, here's why you might want to use this instead of the existing solutions:

* sub-repos -- projections as we call them -- are still a part of the one big history. But the history is filtered on your end and you only see relevant commits. You don't need to manually bump the version of projections
* you could also get "one big history" behaviour with a traditional monorepo, but with projections you get benefits like fine-grained ACL
https://www.city-journal.org/article/the-racial-profiling-my...
I liked Heather MacDonald's article covering the New Jersey Turnpike study.
UK plans to build another large nuclear power plant
Not really, no.

The example I used (based on this: https://www.scientificamerican.com/article/surface-tension-s...) is precisely to show that if you play with scale too much, you might introduce (or remove) phenomena that make the whole model totally inapplicable.

- a 1-inch cruise ship (model) can definitely be moved by 1 drop of dish soap.

- 12000 drops of liquid dish will have no effect whatsoever on a full-sized cruise ship.

Let's go back to our "State economy is just like a household economy".
If you google for "major expenses of local government" you will get something like:

"public school system, law enforcement, fire protection, public facilities , and public health."

do you really believe that the household budget for "fire protection" or "law enforcement" is comparable (as a percentage of total expenses) to what a state spends?

(According to the California State Controller's Office, in the 2021-22 fiscal year cities spent $14.82 billion on police expenditures, making up the highest category of spending at 14.8% of total expenditures in the state)

Does the average household spend 15% of its annual budget on enforcing corrective measures to be applied to the family itself?!

Same applies to income, actually. States have taxes, and may have some sort of natural resource that they can sell or "lease" to private companies for a fee.
Something that is really difficult to shoehorn in something remotely similar at the household level.

The only "insight" we can obtain from something like a "household economy model" is that if you spend more than what your assets are you will end in debt.

Not exactly unexpected.

But any kind of measure you might find useful at the household level (e.g.: everyone will fast by skipping 1 meal / week, reducing groceries bills by 7% - nothing to sneeze at, at the household level: https://www.statista.com/statistics/237211/average-food-expe...) will not really work at the city level, let alone at the state level.

And it is not that difficult to understand why, either: enforcing the new law "absolutely nobody will have lunch on wednesday" will be complicated and expensive to enforce at the state level, and require more resources to be devoted to this new task, possibly resulting in a negative gain.
In the 1980s I worked as a programmer at a large institution which shall remain nameless that had a database of people who had applied for one of said institution's services. One entry in the database stood out because it had a first name but no last name, and it was very clear by the first name which celebrity that was.
That seems a little harsh. There was clearly what amounted to an internal point release in Q4, there was a big announcement and the historical convention on versioning is `.5` increments.

It's "unofficial" but "literally made it up" seems a bit unfair, it's not like I called it `GPT-4-Ti Founders Edition` and tried to list it on eBay.
> I dont think it has anything to do with a BMW sports coupe

Well, the Paul Ricard circuit in France has a straight called Mistral. Plenty of BMWs have been there for sure, and a zillion other cars.

I wonder if that could have confused the AI a little in combination with other hints. Turbo?

If that's a thing maybe we should start picking our names not only to make them googlable but also not to confuse LLMs at least for the next few years. Months?
I didn’t know that the hacker news demographic had changed so much. Are there any stats on this anywhere or is it a general feeling that you have?

And if so then where do all the hackers hang out now?
It is truly remarkable what some humans can do when they commit. There was a person in my former runner group who weighed approx. 130 kg when he started running. He only started when he was in his mid-forties. Never really exercised previously in his life (as far as I know). It is also worth mentioning that he is a farmer, so his day job is not exactly energy conserving.

Ten years after starting to run in this group he was set to run a marathon under 2:50. Unfortunately a cramp around the 30 km mark made it impossible to continue and actually achieve it. But his grit certainly motivated everyone around him, marathoners and short-distance runners alike.

I would love to share his eating habits but I do not remember them in detail and I do not know enough about nutrition to confidently share any presumptions on this part. Your first paragraph simply reminded me of this great individual.
>It's currently impossible to provide custom watch faces for the Apple Watch.
>This is somewhat infuriating, especially given Apple's default watch face options.

Why is this infuriating? It should be expected: it's just like this with all Apple stuff. You use it the way they want you to, or you don't use it at all. If you want something customizable, you don't get an Apple.

Heck, I'd be surprised if any LCD-faced watches allow custom watch faces, but Apple is the last company I'd ever expect this from.
Building a baseline JIT for Lua automatically (2023)
Your sibling commenter said (s)he just got off Java 8 in 2023. My experience was similar; that's why I asked.

Also, it's hard to find Java programmers who haven't been tainted by that enterprise mentality, so in a way it makes hiring hard if you don't have the resources to filter the junk. When you see Clojure or Scala on a resume you know they're above that.
surely this guy is a bot.
Spiral of Fifths: The Difference Between the Sharps and Flats
this is a very weird claim. big tech companies regularly fire employees in Europe for low performance, they have entire elaborate machinery for it.
"just" is carrying a loooot of weight there fyi. but given your 20 years... you should have some appreciation of that :)
A felt tip can't really work here can it ? Try a pen or pencil ?
> but one of the hardest promises Bitcoin makes is that you can't change the rules mid-game

Am I misremembering or did the other blockchain do exactly that in response to the DAO hack?
Google cuts jobs including Fitbit founders
Even if you look into it from the outside you see it happen. This isn't a new phenomenon, it really took off steam around 2014 or 2015. Then when Trump was elected it hit another level.

It was clearly shown in the Twitter files that there are many relations deep into social media companies and that is very likely true for every larger platform.

It would be surprising if there weren't backchannels, because they have become relevant, sadly.
"3 for an extra risk split"

I guess in the end they are all fully dependent on Coinbase.
While the author dislikes extension functions in kotlin they enable one feature that Java doesn't have: With them you can create domain specific languages within kotlin that are quite ergonomic.

- Jetbrains has built a nice reactive js wrapper with them.
- The gradle configuration is written in a kotlin dsl.

They can be used to specify configuration and add meta information and thus replace Java annotations.

That is my kotlin "killer" feature because I personally don't like annotations.

Java's language design has always been "pedagogical" (or patronizing) to not give the developer to much power to create to much abstractions and complexity.
So it's not just its age but also this philosophy that has made Java a rather inelegant language ( compared with e.g. kotlin)
How long do the carbon filters last in your experience? Does it have an indication of when you should?
Just represent the data in Arrow memory format, then you can operate on it directly, no ser/de required.
Just had to say that the original comment, and then yours right after, is a great combo. Laughed my ass off :)
I agree with you completely, but the target audience of people who will do such a thing have no clue what a linter, lexer, or parser are. Maybe even a compiler. And that audience is much larger than us folks at the ripe old age of 25+ even realize.
I’ve definitely run into its members recently. They tend to have other strange beliefs, like “methods can’t have more than four lines” and “you can instantiate an object only in a factory service”.
I love the game of monopoly! Always interested in the different winning strategies but cutting off others from buying a street was always my best winning strategy
> They don't want the theoretical advantages

Surely only a fool would want advantages that were theoretical only?
respectfully, 20 yrs of software dev experience doesn't entitle you to understand the last 2 months of AI if you didn't spend the effort to keep up. jargon happens, its not your fault but also people need to communicate thoughts concisely given a base of knowledge. its ok to ask of course but the rest of us who have been keeping up can parse this well enough (even though I disagree with some of the assertions)
Yep, like I said, whistling in the dark.
Wind farms often get turned off because there is too much Wind, solar is also often throttled. There is a lot of "lost" power that could rather find its way into batteries or H2-electrolyzers.
A buddy of mine is working on an app for this: https://www.flourish.garden/
Engineers affected.

The coasting day care is over and Google is in code red wartime mode in a state of panic.

Sorry. The market is brutal and it does not care.

No one is safe, not even Google.
the game had regular ballpoint pens when I had it as a kid.
I genuinely think this tech is really cool for old or disabled people who can all of a sudden interface with their devices with just natural language, that said I legitimately just do not see the appeal for regular users but cool tech nonetheless.
This is nice and all, but when I see what the big companies do, I always have this cave-at in my head - "is this one of the teams with enough resources to boil the ocean?"

I.e. it's proof that Shoelace, in this case, is not inherently useless. But it's hard to get a hunch for how good it is to a mere non-corporate.

Gotta give props though, the apps site is fast and slick.
Sounds like you get it. It's unfortunate more people don't follow this mentality.

And there's no incentive to stop this. When email inboxes turn into marketing dumpsters, it just drives users to WhatsApp/Discord/FB Messenger/Slack/etc. for communication, which is good for those affiliated companies, but is bad for open platforms.
Too bad the source doesn’t say it either. Is that 160-380 MWh of energy storage or 160-380 MW of peak output power?

It’s probably the former.
They killed Google Code in 2016, and Google Code Search in 2012. Internally those types of products still exist, just not for public use. I see no reason Google groups could not also be killed for any public use.
True, the old article had some nice rebuttals. I wonder how many of these predictions came out to be true so far.
I think the problem for people who are not in Germany is that manufacturers often release different versions for each market. So, for example, you might find that >50% of the models being tested by Stiftung Warentest exist only in Germany or other parts of Western Europe.
Lichee Console 4A portable RISC-V development terminal review
Normally I'm the mid-ass, out of touch old guy, it's a rare chance to be the one using the insider lingo :)
There was the early investment in Google by In-Q-Tel, but I’m not sure what that entails or might mean now. And another In-Q-Tel company was later purchased by Google, Keyhole.
They do so out of desperation. If that's the future of the tech industry, I would prefer to leave the industry.
It's the "fancy new thing" and rust people having to reinvent the wheel a few dozen times.
One time a made a prototype VR death simulator for some monks
Even that analysis can lead you astray. If you only need a small car for essential life function L but opt to buy a bigger car because every few weeks you want to take the entire family out to dinner then it's not reasonable assign the entire fixed cost to L.

The calculation becomes more complicated: a smaller car is likely cheaper to operate for L, and the cost savings over using a bigger car for L may be enough to pay for a taxi or ride-hail for the occasional times you need a bigger car for dinner, or to pay for a rental car for a vacation trip, or to pay for delivery if you need a large volume purchase.
He is all over the place, mixing tech specifics with unproven models.

Basically, he said he is happy with Mistral 8x7B and thinks it is on par/better comparing to OpenAI's closed source model.
> who saw their lives ripped apart by a computer system

It seems really unfortunate that anyone would claim that the buck stops with the computer system. Humans made choices and apparently didn't perform independent audits.

> The scandal has raised serious questions about Britain’s legal system

It seems more like a systematic failure of the legal processes at play. Worse still that there was a separate judicial system involved:

> often through an obscure internal judicial system that allowed it to try, investigate and convict postmasters without going through the police or the local courts.
There is nothing inherent with desalination that requires releasing the salt back into the ocean.
I’m not sure that’s entirely accurate. As far as I understand the internally available equivalents are entirely different products than what was publicly available, and have never been made public themselves.
I usually hide the web components until they are defined using `:not(:defined)` CSS selector
One thing to note is that we don't bump package versions but rather "mirror" the source code, so in that sense it works like a monorepo. But you're right that PR mirroring doesn't work beyond a certain point, and we certainly intend to scale beyond that in future
If they don't like screen scraping they probably also don't have an API and probably don't have 100 different ways to auto-export data.
I'm snarkier than most on HN and have the scars to prove it, and I do miss the RTFM-by-default vibe of the early days, but on this one topic as you can see I'm going out of my way to apologize for being cryptic and try to include everyone in the conversation because this shit matters a lot even by our standards.

Give me a hand?
Just this tiny polyfill, and you should be OK on Safari. https://github.com/ungap/custom-elements
> Bitcoin energy usage accounted for 0.11% of global energy usage and you think it is the biggest threat to humanity since the A-Bomb? Bitcoin is entirely irrelevant to the grand scheme of things re climate emissions.

GP already explained why he thinks that and you did not spend a word addressing that. Here is what GP said:

> The reason that bitcoin's energy usage is a philosophical nightmare is because it's a system where energy consumption is the product. As opposed to industries which are "merely" energy-intensive, let's take aluminum refining for example, spending more energy to refine aluminum does not create more demand for aluminum, but spending more energy on bitcoin increases the price of bitcoin, which induces more demand, which increases the price, which incentivizes mining, which costs more energy, and so on in a vicious cycle.

Basically, for BTC to "go to the moon" its energy consumption must also "go to the moon".
'Iranian cyber army' blamed as Wikipedia deletes atrocities
A paragraph by paragraph "dumbed down" translation of your original words would be pretty neat to have for starters. Both to understand what you mean but also to understand the lingo.