skysight-inc/HackerNews huggingface dataset:
Kotlin has value classes. Here's a good overview of how they work in Kotlin: https://github.com/Kotlin/KEEP/blob/master/notes/value-class...

That document is a few years old now and was intended as a design document. But Value classes shipped with Kotlin 1.5. Apparently they are compatible with the project Valhalla value objects that will be added to the JVM at some point. So, this stuff is coming.

I had to look it up because even though I write Kotlin a lot, value classes are not something I have used at all. Looks useful but not that big of a deal and doesn't really solve a problem I have. Data classes and records (in Java) are a bigger deal IMHO.

In practice, the way you deal with immutability in Kotlin is to keep most of your data structures immutable by default unless they need to be mutable. E.g. there's a List and a MutableList interface. Most lists are immutable unless you create a MutableList. Same with val vs. var variables. Val variables can't be reassigned and you kind of use var only by exception when you really have to. The compiler will actually warn you if you do it without good reason. A data class with only vals can't be modified. Java is a bit more sloppy when it comes to mutability semantics. It has records now but all the fields have setters by default. It has var but no val assignments (you can use final to force this but few people do). And so on.

Semantically this is not as strong as what Rust does of course but it's good enough to make e.g. concurrency a lot easier. Mostly, if you avoid having a lot of mutable shared state, that becomes a lot easier.

You could imagine a Kotlin like language with much stronger semantics implementing borrow checking instead of garbage collection. It wouldn't be the same language of course but I don't think it needs to be very different. Using it would not be a massively different.
Ask HN: What to Call This Role?
We got 20 web developers, all full stack. We have realized we need someone to take care of our databases. We are a product company with a few web apps. Mainly on MySQL. Now databases are taken care of by every dev.

The tasks will be:
- making sure we upgrade mysql
- db optimization
- changing data directly in db when needed
- Teach devs more about databases
- have opinions on when to use something else, e.g. elasticsearch

Is that a db admin? A database engineer? Does it even make sense to hire someone for this?
good opportunity for metal toys
This is exactly what the article describes. Lint ERRORs that block CI but not compilation.
well the Envato elements has a bunch of different content together, so templates for print brochures, fonts, video templates, audio samples etc.

In a modern project's life time you might end up with all sorts of stock content, so I don't know that I can narrow it down meaningfully. I don't really want to go to the gazillion sites for each, but rather the best sites for the categories and category aggregators like Envato.
The question is does it shed nanographite or other nano-carbon particles and if so, at what level. Of course, open fires and photocopiers produce these particles as well so there is some level of background exposure that appears to be somewhat "safe". I expect the "no such thing as safe" crowd will be out if they sniff the opportunity for a witch hunt or 10 [1]

[1] https://particleandfibretoxicology.biomedcentral.com/article...
By this rate, in 14 years we'll be seeing pre-seed rounds of $20 million!
Oh I guess I confused Dan Harmon with Bill Hammack (the Enginnering guy)

It's great advice nonetheless. (I mean, it probably explains some things about R&M but anyway)
Not 'char' - because it's using BPE (byte pair encoding), so after tokenization you might get ["Transform", "ers"] instead of ["T", "r", "a", ...]. This is relevant to how it struggles to reverse words. Not 'largest' because there are larger models like Pathways Language Model (PaLM) with 540 Billion parameters.
I was not suggesting the opposite, by any means. But I am not sure I agree with your statement either. I won’t even get into hunter Biden’s Ukrainian business dealings and I agree the blame is technically all on Putin, who is an evil madman, maybe even literally going insane from cancer or paranoia or something.

But flooding Ukraine with cash and weapons, with zero oversight or public debate should concern people. It all seems a bit poorly managed, something that most intelligent people now agree is the overarching theme of the current administration. Dropping buckets of cash aid and weapons — 20 billion here, 40 billion there — will probably do more than intended. It usually does. We love regime changing the world, spreading American style peace and democracy, typically with an unwarranted optimism about the outcome. Let’s hope things go better this time.
Great book, just finished it for the second time. Also recommend (both on Gutenberg btw)

"Japan: An attempt at interpretation" (https://www.gutenberg.org/ebooks/5979) and

"Tales of Old Japan" (https://www.gutenberg.org/ebooks/13015)

Especially "Japan: An attempt at interpretation" I found remarkable, It really struck a cord and goes in-depth on cultural expectations and habits in Kami (villages). "Tales of Old Japan" is a great collection of mythological tales.
> Only EVs with CCS charge inlets were used. The vehicles used for testing were the Chevy Bolt, Kia Niro, Hyundai Kona, Ford Mustang Mach E, and Porsche Taycan.

It would be good to see a breakdown of which EVs had which problems. They say that all of the "cable too short" problems were with Chevy Bolts only, but it also sounds like they didn't make every EV visit every station. Maybe most EVs would have the same issue at those stations, maybe not.

The Chevy Bolt is also known to have problems with initiating charging sessions. So if most of the charge initiation failures were with Bolts then that may be more of a problem with the car than the station.

This YouTuber tests and reviews a lot of charging sites with his Chevy Bolt. In this recent station test video he talks about some of the Chevy Bolt specific issues:

https://www.youtube.com/watch?v=Fgeh3CozLFo
For real? Is like one guy doing it or a movement?
At least they are using electricity over gas to cook their food!
Thank you for the response and the judgement, but we obviously consider the word "rude" to mean something else.

I was not offensive or ill-mannered, I merely wondered why a person, that's apparently capable of doing minimal research, does not do so before asking for opinion of people on HN in regards to software details. Briefly judging GitHub activity is not the way to make conclusions, which was the only detail being covered.

It's easy to label someone or something rude, I can't control how you read the text I write and what the imaginary tone of voice is. Great Robin Hood display, I love the fact we all get to be judge and jury who decide what's good and what's bad, often missing the real intent.
> I know it's popular to be a millennial on HN and demand instant gratification of our short attention spans. But 20 years really is nothing for developments like this.

> Also, that's less than 20 years ago. They were messing around with sticky tape and graphite in 2004. The people that did that got their Nobel price in 2010. From there to thousands of tonnes produced per year in the space of 18 years is actually kind of impressive.

If anything, it's a pre-millennial attitude - the 20th century was the era when people got used to astonishing advances every few years, and the space race was preeminent in this.

1957: Sputnik 1
1969: Moon landing
1981: Space shuttle
1986: Mir space station

To a layman who has seen the above, 20 years to develop a space elevator sounds perfectly reasonable and even conservative.
Yes, I go back to slashdot every now and then and cry. It was so good in its glory days.

Makes me wonder what will come after HN. Everything has a lifespan.
There's an extensive literature arguing that patents in general are bad, that I broadly subscribe to and recommend reading up on.

Against Intellectual Monopoly is one libertarian style book on the subject that you can read online.

However, if you're not quite ready for that step, I found persuasive the argument that patents help more (relatively speaking) when the boundaries are very clear. So if you give patents to people who discover a new theraputic use for a chemical compound. It's relatively easy for people to come up with a different compound and prove its not the same thing (proving that either are actually effective in what they claim to treat and without major side effects is a different conversation).

But anywhere there is ambiguity, like software, they become a tool for the bigger players to bully the littler players. See the conversation between Sun and IBM ceos where the Sun CEO tells him to get lost because he knows they dont infringe the patents he's claiming they do. IBM guy says, but are you sure I can't go and find something that will stick in our vast pile of vague software patents. Basically a protection racket.
I guess these ones at the Baillieston Interchange on the M8 just outside Glasgow are about as thick, but they're much shorter. Of course down south there at below 56°N the weather's a lot gentler and kinder.

https://goo.gl/maps/MD6ErnBZ4mzDdkup9

If you spin round to look west at the M73 flyover you'll see they're a kind of tapered oval section, but they're also forming a triangle with the road deck which makes the structure a lot stiffer.

I was surprised to discover how much concrete bends when I was doing radio comms work on the Queensferry Crossing project a bit north of Edinburgh. The road deck was built as steel sections with concrete on top and lifted into place, one side then the other. With them "unbalanced", one side lifted on but the other not lifted yet, the top of the 600-foot concrete towers - the top had a working platform about the size of four parking spaces - bent over by about six feet...
"in the final two years of the Obama administration. After years of gridlock, we suddenly — with little fanfare but large bipartisan majorities — got:

The Every Student Succeeds Act, a major rewrite of federal K-12 policy

An overhaul of the Department of Veterans Affairs, spearheaded by Bernie Sanders and John McCain

The FAST Act, which authorized $305 billion over five years in infrastructure spending

A ban on incorporating plastic microbeads into health and beauty products"

This is buried within a lot of anti-Republican language, but the irony is that the Republicans controlled BOTH houses of Congress for the last two years of the Obama administration. So, they just torpedoed their own attempt at narrative.
The article doesn't mention it, but software devs are gamers. Cryptomining has made video cards expensive and hard to get, so that along with sheer brain deadness of building a system built around wasting electricity... anger seems like an appropriate reaction
> The history of the research and development of polymer concrete is relatively short compared with that of conventional cement concrete.

This history of most things is short compared to concrete.

https://en.wikipedia.org/wiki/Roman_concrete
Trending downwards doesn't mean it can't retrace 24% and liquidate your position before going down again. And that's if it is trending downwards.
Great way to explain the subject.
Apple’s board of directors reportedly tried out its upcoming AR / VR headset
> Well the state elections are overseen by the various state Electoral Commissions, which are independent from the Australian Electoral Commission, but yes.

Well, huh. Today I learned something. Thanks.
Where are my Kindle notes and highlights if I'm in the UK?
I made this single page site to resolve this obvious question, with the ridiculously obscure answer. I had searched for half an hour, and eventually found the page by guessing the UK URL from the US URL.
Is it the noise that makes it exhilarating though? If you had to use an electric motorcycle would your enjoyment be decreased that much? I'm sure you're right that it's a small amount of people riding obnoxiously, but those people make walking around a city stressful and unenjoyable for a far greater number of people.

What I'm saying is that although this will be a bit crap for you, to the average person that's probably worth the trade off.
Also bitcoin != crypto, those are not even subset/superset for the most part.

Bitcoin solves one single problem of "digital cash" with the most robust and boring mechanism (known to mankind so far).

While the "cryptos" aim at satisfying demand for all sorts of p2p apps and moneymaking schemes that can be funded with the digital cash to avoid getting regulated out of existence.
Art certificates, both physical and digital have existed for… ages?

And even the NFT frenzy is a good opportunity to market a « new », « better » Dropbox-like integrated solution, that’s supported in the long run and enables small artists to be as well autonomous on this.

Edit: seriously. Selling NFTs as a solution for art certificates sounds like an American coming in France to sell the concepts of bread and cheese.
I'm looking at a non zero propability of having to do that in the next 12-18 months. Not disclose too much, let's say it is funding related and has nothing to do with me.

Now my problem is that I have to move to something, and not away from something. If the company and job aren't intriguing I have a tendency to perform not as good. And I still like my employer and manager, the latter more than the former. Plus, I need to be able to show something before switching jobs.

Something to think about on the next weeks and months, especially with a family and commitments. As I said, the market is good. I wouldn't have much trouble finding something if I really wanted to. On the other hand, having a stable income after a failed attempt on a start-up is quite nice, and I'm out of the probation period.
People have such short memories... Was 2018 really that long ago... Even back then there was a tonne of MSM coverage.
Chiming in to totally agree. At the start of the year I had no local friends and was just starting to meet people. I matched with someone online who was part of a local queer skater group, and we met and got along. Then suddenly I had a huge group of people where there’s always someone skating Saturday and Sunday every weekend. This made it super easy for me to drop in to a social group any time I wanted, and for months that’s where I was every weekend. The queer skater group is one contingent of a larger group of skaters, so in all there’s usually a good 30 people hanging out and skating together every weekend. It’s a huge new social group for me and they throw events with donations from local skate shops, they do board swaps and clothing swaps, have Instagram groups and photographers. I laughed when I read “anti-social”. The skateboarding group I connected with is the biggest social group I have!
Webman – Cross-Platform Package and Version Manager
If you didn’t check out webman a few weeks ago when I first posted about it, it’s gotten some serious upgrades!

We’ve received some great contributions from a couple super active members (thank you!) and now have automated schema linting & installation testing for new package recipes, UI improvements, an interactive search command TUI to explore available packages, IDE package recipe autocompletion automatically with SchemaStore, lots of new packages, and support for installing package groups like modern-unix.

Webman is not trying to fill the same niche of homebrew; I think homebrew does a great job for Unix systems. However, Webman is built to be able to install on Windows too as a first-class citizen. It installs release binaries rather than building from source, which keeps package recipes lightweight & lets us require no dependencies. Webman also makes it super easy to install and switch between different versions of software (similar to tools like nvm). I’ve been using it to manage different versions of Go, and it’s worked nicely!

If you find any packages you’d like that aren’t in the webman-pkgs repo yet, I’d love to help you out merging a PR! With the new schema support, it’s never been easier to write a package recipe, and CI will make sure your package installs correctly on each supported platform.

If you find the project interesting, give it a star! It means a lot :)

FYI: Webman is under active development so breaking changes may still occur. Don’t rely on this webman in production at least until a major release.

https://github.com/candrewlee14/webman
I don't understand your response.

There's not a single proof except heartbleed in OpenSSL. I merely asked the author to provide the proof, not for you and I to engage in Go's memory safety and billions in damages and inherent nature of C and so on.

If we were to sum all the "damages" caused by faulty software, we'd arrive at a number that exceeds the total sum of money on planet Earth, let's not use that false metric for this discussion.

Is there an actual problem right now with nginx that Caddy circumvents with its architecture? Yes or no? That's the question.
The entire thing reads like copypasta - the lack of humility from a fairly junior developer (9 years? I have 8 years experience in tech and still feel like a beginner) is just crazy. It's either satire or written by someone with the EQ of a pigeon.
"Why loud pipes then? Because it's so much fun to open the throttle wide and hear and feel the roar vibrating through the bike and myself! Makes me feel like I'm riding a rocket into space.
"

Well you could use a vibrator then.

Quieter and more close to the body...
I moved from a role similar to what you're describing (spent 7 years there) into a role where I'm the least senior person on the project. And I'm having a great time.

It's always possible to find people who are so much ahead of you that you'll need to put effort into just following the conversation with them. And when you do, they're your peers and you're proud to be a 0.9x developer alongside them.
My Bluetooth headphones interfere with the wireless internet adapters on Ubuntu 18.04 Linux on both my desktop and notebook. How to fix that?
Why would web3 be capable of anything else? Satoshi invented the blockchain to solve one specific problem: creating a decentralised currency. It was never supposed to be some kind of universal "truth machine" applicable to any other kind of real-world problem. How would it? The existence of data on a blockchain doesn't prove anything except that some data was added to a blockchain. The idea that this has practical applications for anything other than a currency (e.g. supply chain management, concert tickets, property deeds, all the other classic examples that cryptoheads have been citing for years without a single successful example in real life) is absurd, in fact it's so laughably absurd that I question the intelligence of anyone who can say it with a straight face.

Basically, I think that everything in the crypto space is bullshit, with the possible exception of Bitcoin itself, but I'm still agnostic on that front. I hope I'm wrong - it's appealing to think that we're on the cusp of another technological revolution that will make everything better, especially if it gives me a chance to get rich! - but for fuck's sake, it's been five years since this classic article and still nothing has fundamentally changed: https://hackernoon.com/ten-years-in-nobody-has-come-up-with-...
> The system resulted in covid lock downs that look more like china’s than most other democracies.

Strange how these lock downs remained popular. People were happy to see them go once vaccination rates were up, but the governments who instituted them still poll strongly.

Something about people offering to sacrifice you on the alter of capitalism tends to turn voters stomachs.
That's similar to how we already had so much steel infrastructure. The existing infrastructure didn't hold back the people who owned none of it.

https://www.nytimes.com/1981/09/23/business/the-rise-of-mini...
30% stronger doesn't mean 30% less usage though so it would be interesting to see how much less concrete can actually be used in typical applications.
Point was that modular nukes would have well-known prices: a plant with two dozen modules would be expected to cost 24x the public price of a module. It is hard to bury much graft in the land acquisition, and hard to stretch out the construction time, or pad the cost. So you can't drum up enough support to start it.

Solar projects are useful at smaller sizes, so need fewer stakeholders, making it easier to find honest ones. People choosing to be involved with renewables are more often self-selected for idealism.
It's crypto we're talking about here. It's not just a few covert skinny dippers but a whole nudist colony.
>Even the discrete-ish Iris Xe graphics are surprisingly fast. So cool that we'll actually be able to update the innards in a few years as necessary to keep it feeling fresh.

Isn't Intel graphics always been the best bet for Linux due to their excellent driver support? I'm excited for their discrete GPUs just for the sake of proper Linux support.

I have an 15W haswell machine in the corner decoding & encoding multiple HD camera feeds from motion on integrated GPU using intel_vaapi while the CPU is free for postgres, redis and a qemu VM - 24*7.
Facebook Monetizing Searches for the Buffalo Shooting Video
Just because something relies on public funding doesn't make it political.

Public health is one of those. The overwhelming goal is to reduce health problems from becoming so large that infrastructure fails to handle it, as well as prevent death and suffering as a result.

If quarantine is the way to do it, then it makes sense to enforce it. If vaccination is required, then so be it, and the taxpayers foot the bill.

It has nothing to do with political ideology, left, or right, green or brown.
I cannot find anyone talking about rice weevils in my language online, so I really doubt finding them is a common thing everywhere. If it is that impossible to get rid of them then it is probably a climate thing, they are common in your climate but not in my climate.

So the advice would be to look at local pests and how to avoid having those in your storage. We still have other kinds of weevils but they are not everywhere like you say rice weevils are, you are unlikely to have them in packages meant for humans so storing things long term is fine.
I recently replied to a comment of yours where you went on a tirade against benzodiazepines saying there are safer compounds that mainstream medicine chooses to ignore, and here you are doing the same thing with HIV treatments.

Anyone cares to chime in and explain why it is not so simple like OP implies it is? Again, I very much doubt mainstream science is completely ignoring the panacea and preferring suboptimal solutions. Smells too much like a conspiracy theory to me.
Yes, the concrete manufacturing process emits more CO2 than aging concrete absorbs.
Yep. Plan to run Fedora 36
Couldn't disagree more about skateboarding. It's usually just friends hanging out having fun, it's a very leisurely, social past time. It hardly produces any noise, so I have no idea why you've listed it on this thread.
Comparing my concrete wall to a photocopier seems a little bit strange.
I guess you must have been on a college debate team.
I would probably pretender it.

Why?

Because markdown files seldom change and probably read much more often.

Anyway I would not agree that it is a good idea to move everything to client just because you can. There are always up and downsides.

I think your comment is too generic.