skysight-inc/HackerNews huggingface dataset:
Not really. AFAIK it all amounts to something between 600 to 800Mhz for real world code, at best. About the same for affordable FPGAs.

That aside, I don't really get this nostalgy for these systems. I don't care about Doom, or some port of Quake. While 68K assembly was much nicer for me than anything common today, what do I get from that without a usable Browser, Office, "daily driver" apps? Show me how to port Firefox, Chromium or something functionally equivalent to these, and how those perform! :-)

Or Blender.

(Or Android 68K! (Giggle))
See also: WaPo reminding us that billionaires, like, totally feel bad about inequality: https://news.ycombinator.com/item?id=30145208
I'm nosy and curious.
> With the average price of gas now more than $5 a gallon, Americans are reeling at the pump.

Are they? On my drive(s) today, there were plenty of fuel-inefficient trucks driving like bats out of hell!
I mistook H1N1 to be a reference to COVID-19 hence assumed parent had mistakenly written years instead of months. The mistake was mine. H1N1 is swine flu which indeed goes back years.
The Pros and Cons of Apple AirTags
That's either wrong, or right in a way that requires playing with definitions until it's meaningless. Take the traditional example, sorting algorithms; they all do the same thing, but at wildly varying speeds. The only way to claim that some do less is to claim that they use fewer instructions (loosely speaking; pretend that CPU operations are constant time and nothing else matters), at which point you're right but claiming a meaningless tautology. Removing work is a strategy for optimization (sometimes a good one!), but it's not the end-all be-all.
I'd say it wouldn't even be required for all bad press to be somehow "actually supportive". If they were to selectively choose to publish articles that are in no way supportive when it doesn't matter so much to them, but still bury any articles that they fear would meaningfully harm them it's still serving Bezos/Amazon and allowing the relatively "harmless" articles helps to insulate them from accusations that their reporting is dictated by what's acceptable to Amazon/Bezos.

Being able to choose your bad press is just about as good as preventing all of it, and if your goal is trick people into thinking you aren't manipulating what gets published, it's even better than censoring every negative article.
There are many more variables that matter that I can think of,

How long battery holds charge

How it behave at various temperatures

How it degrades over time

How it behaves in its discharge life cycle, e.g can you drain it to 30 percent? 20? Do you have to charge it to 100?

Hence, why we havnt seen radical innovation in the battery space in the last 20 years though we see articles like this all the time.

I'm still buying lithium etfs.
This is pretty accurately my feeling. I trust Apple honestly not much, but more than Google, and I pay Apple for iCloud and know what I'm getting. Paying Google is a huge pain in the ass while Apple just collects every month off my balance - which I can also spend for physical products, which is nice.

I don't have many apps and I tend to curate those that I do have, so in general not much of a heavy user such as full screen mobile gaming.

My most recent experience trying to use Google Play for a purchase was "INSERT US SIM CARD TO CONTINUE" after applying the code. While in US, on a US cell tower (on eSIM). This is after applying the code, so it's been consumed and is now useless and can't be used to buy anything either.

Samsung is still probably my top hated OEM. Everything from a Bixby key you can't disable and marketing you can't opt out of (mandatory push notifications from an un-uninstallable system app that deliver fullscreen image push advertising their new products) to Samsung store taking over random shortcuts and containing nothing but shitware to put it nicely, inability to unlock phones, ludicrously bad security track record, all while trying to sell you a "premium" $1.5k device
Many junior developers in my city make around $300 a month. After spending $200 on rent and most of the rest on food, you're not left with much. I understand nobody really cares about crap-holes like mine when they're making most of their money in Western Europe and North America, so just throwing it out there.
The cheapest android options are borderline a scam.

They cant even run the OS. I switched from Android (Galaxy) to iPhone and now just recently my iPhone.

Unfortunately thanks to god awful 2fa systems, I decided to get a burner phone immediately, and decide on a new daily driver later that week.

Oh my God, this thing is bad. It was a $149 Nokia and the cheapest unlocked phone at the target next door.

I booted up this phone, and the first thing I see, after the splash screen before any interface is presented is a bunch of dialogs about system services ceasing. Then I tried to get a few apps I typically need for the day. Google play is telling me I don't have any space on this brand new phone. Turns out it's a known bug with a solution of "reboot". Ok whatever, but now apps are telling me I don't have a SIM which is pretty odd because the OS says otherwise and the web browser could access the network just fine. This was a reported issue, but with no states causes or fixed, I ended up using a different SIM and it worked. Now, I have most things installed and working, but for a very minimal definition of working. Constant lag when trying to do things as simple as switch between apps and media streams playing long after the app playing it was closed.

Also, this may just be me, but does anyone feel like Android UX has degraded. I never had isues navigating and using old Android. It took me a while to get used to iOS, and I definitely have my qualms, but the new gesture system is killing me. OS gestures and App specific gestures collide, leading to inconsistenties and annoyances.
I also find myself fat fingering buttons and other UI controls more, but that may be because a bigger screen.
If you're using a free service, expect to be the product.

If you don't want to be the product, with YouTube you can pay to be the customer instead.
Any dorm called Random Hall has got to be good.
> I went to my parent's house the other day and the TV was on. I had to turn it off so we could have a normal conversation like normal people do. The TV was constantly pulling our attention on some stupid crap like ads or some garbage program that tries to polarize people.

It's like that at my (Boomer) parents' house too: If it wasn't for me consciously and constantly (re-)turning it off, the TV would be blaring during all waking hours--sometimes two TVs in two different rooms, working our anxiety up with two different BREAKING NEWS updates simultaneously!

But before I get all high and mighty, I look at my own generation which has their smartphones dinging and buzzing at them constantly, feeding them that same steady drip. I remember pre-COVID sitting at a restaurant and watching this couple that seemed to be on a date, except their phones were vibrating and dinging every 5 seconds, interrupting whatever it was they were talking about, and they just couldn't ignore them. They couldn't just let their minds be at peace and relax, as you put it. They ended up not even talking to each other--just constantly checking and swiping, then checking again, then tapping, then swiping, then checking, then swiping, then checking and checking again OMG it must be exhausting! Like the Las Vegas Strip in your brain for hours straight!
> Maybe, some experts speculate, consumers won't even need to buy tyres outright. Instead, they'll get them free and pay-per-mile, with sensors monitoring usage.

You'll own nothing, and you'll be happy.
Well, the companies won't buy it for them without wasting about 10x the cost in approval paperwork.
I teach a C++ class, and I can assure you that one of the most frequent errors I see in students' codes is to copy-and-paste a header file into another and modify it instead of writing a new one from scratch (beats me why they think this is efficient), forgetting to change the name of the include guard or only modifying the #ifdef part but not the #define part.

Since a few years I teach them only to use #pragma once, and the problem has disappeared.
> is a real and unaddressed problem

No, it's not. It's one of the best features, and I wish every language did this. At least TypeScript does it, too.
I think his coworkers were telling them exactly what they said.
They were no true Scottsman. [1]

https://en.m.wikipedia.org/wiki/No_true_Scotsman
Not so much high-density as much as highER density.

https://www.autoevolution.com/news/lfp-cells-are-getting-mor...
I think a tool like GitHub Copilot is worth far more than $90/year and I'll gladly pay for it. Probably up to $500/year or even $1000/year I'd pay for Copilot. It has saved me so much headache and time. There's no real competitor for that product and I'm looking forward to it going GA. I'd use emacs/vim and Copilot any day over an IDE.

But I'm not sure any IDE is worth $90/year when VS Code is free. The extensions for VS Code are next-level, especially the SSH extension. No other IDE comes remotely close to how well that extension works for its use case.
One advantage (albeit by no means perfect) is that subdepdencies of Ruby gems tend to be much more limited than what you see in NPM (probably largely because you can only have one version of a gem running in an application).

Lots and lots of gems depend on Rails and / or ActiveSupport. There's probably a lot more "glue" gems that are widely used for stuff like HTTP clients. Beyond that though, your typical gem doesn't have an enormous amount of dependencies, and there's a pretty good chance that the dependencies of the top X gems are themselves in the list of top X gems.
Totally. In fact, if expressions are the very first example of “if” in the Zig manual

https://ziglang.org/documentation/master/#if

Also, Zig is so into expressions over statements that they plan to remove “function definition as statement”, which I think is awesome. In other words, conceptually function definition is a compile-time expression that creates the function.

Edit: here’s that Zig rfc:

https://github.com/ziglang/zig/issues/1717#
What's even worse is getting companies to pay for this stuff. Getting a company to buy software to help you do your job is like pulling teeth.
Airbnb Reviews Decoded
Not sure what you mean. The types consumed by an API are declared (though they might be interface types), and reading the godoc will give you a good overview of a package.

When would you want to look for all implementations of an interface? Is this something like an abstract syntax tree?
What's a specific example of the 99% individual, 1% float?
I mean, what’s with ostensibly “progressive” companies engaging in union busting? I assume neither Bezos nor Howard Schultz voted for Donald Trump, so what gives?
Well, I believe Radio had a GREAT opportunity during the 80's.

What radio did was look for ways to eliminate dependencies on "the talent." And what they should have done is get more talent and put the incentives on interactions.

Radio was super compelling. Audio only material still is. Being able to listen while doing other stuff, like driving, software, all sorts of partial attention consuming tasks makes for an audio only market that is consistent and demanding.

And it was, and still is going nowhere!

Radio got this horribly wrong, and they got it wrong because they did not understand what compelling means and why that matters.[0]

And they got it wrong because of raw greed and a failure to respect their listeners, who form the heart of what was otherwise a government protected magic money machine![1]

So, what they did was research the tunes, sort them into buckets and blast those out as cheaply as they could, and at the same time water down the talent by having them record all sorts of stuff for many cities thinking recordings are almost as good as real people are.

And what that did was nationalize radio making it bland and soul less. And then rise of the Internet and the phones being portable radios, among many other things, completely dominated.

Radio divides right along Internet / pre Internet lines. Older people mostly, but not completely, like radio and can relate to it well enough to listen. Maybe during work, or a drive.

And there is talk radio. When it is done right, talk radio is very compelling! The divide here is mostly old vs. young, but also authoritarian vs more egalitarian. Talk radio plays extremely well to authoritarians! It can play well to others, but the industry is establishment aligned and that is hard to shake due to very large numbers of stations being owned by single entities.

It is a mess nowadays. But it could have been much better.

Podcasts have replaced this stuff for many, and there are plenty of tou tube people doing the work radio used to do.

Having video is nice, but totally optional.

-----

[0] Thought experiment:

Say you get two streams. Stations. One is great quality, but dull. The other is of dubious quality, but super compelling!

Which one do you listen to? Why?

Which one do you believe most others listen to and why?

What do you feel explains your answer being different?

[1] Fact is we are super good at detecting other minds through communications. It can be simple or complicated, and it does not matter much at all. We connect, identify and start to bond with and understand this other person well. This is daily relevance and once it is established, people crave it and will put up with a lot to keep their daily driver type person happy, healthy and able to entertain and inform us every day.
If it isn't going to work, just shut it down
> Come on, put yourself in their shoes. It's a small business. They made money, but probably not tons. Their personal capital is tied up in an obsolete business, which has had its value drop due to technology changes, so they probably can't sell it for whatever they expected. They'll probably see large personal losses, and it's never easy transitioning to a new line of work.

Yea but think of all the other small businesses not getting this extra help. This bill is meant to stop restaurants from using EV charging as an incentive for people to spend money. It’s well discussed that gas stations make money from the convenience store not from gas. A restaurant that gives away free EV charging is essentially the same idea, except electricity is so cheap they don’t bother selling it to you at cost.

Why should we be thinking of the gas station owner selling a toxic fuel destroying the planet instead of the local restauranteur thoughtfully adding a hook to her sell. Besides, what ever happened to the free market? If we stop subsidizing gas and people go to gas stations less, then I’d be sympathetic to the gas station owners. But I still wouldn’t want it to come at the expense of other businesses!

I would much rather support and pass laws that help restaurant and shop owners than gas station owners.

PS I Think a healthy welfare system that supports the gas station owner and her family would also be a good thing.
Maybe because it's a-partisan it's not bi-partisan, like neither party can deride the other for having thought of it?
heh, thats fun to play with.
Running water cooling in the pack seems like a much easier issue than creating faster charging chemistry though.
There some file name conventions in place in Go [1]. Files ending in *_test.go are going to be run dufing `go test ` invocation, but not compiled during production build run. In general, last parts of file name reflect "tags", or a platform that this file should be built for. So, in the case of *_linux.go file will only be compiled when it targeted linux platform. Allows to have a file say file_windows_amd64.go and file_linux.go that have functions with same signature, but only one will be picked up for a target platform. Sort of like #ifdef , but at file-name level.

There is a way to specify what file is actually targeting inside the file, through //go: "pragmas" too

[1] https://stackoverflow.com/questions/25161774/what-are-conven...
It's complicated. The site is a former paper mill, and the power comes from nearby hydro plants in a very concrete sense. The plants also deliver power to the grid. Things are changing so fast that it's difficult to tell where the marginal energy will come from next winter. The share of renewables and nuclear is rising, Finland uses very little fossil fuels for electricity outside cogeneration plants, and Russian energy imports have already stopped or are about to stop.
> However, the issue this brings up about structs / types not explicitly declaring which interfaces they implement is a real and unaddressed problem

You can do this with a line of code below the struct definition, something like:

var _ <interface> = &<struct>{}

The compiler will also generate helpful errors if the struct doesn't implement the interface.

Not requiring struct definition is a great feature in golang. I'm able to add an interface to a struct defined in another library to inject a different implementation for unit tests.
As a new Go user I seriously don't get the hype. It feels like C with some (not many) niceties thrown on top, that's not what we expect from high level languages. I am still waiting for the tada moment, hope it comes.
Yes, for the majority of the English translations verses map to each other exactly with a few minor exceptions. NIV would map virtually exactly.
Sure, that’s technically feasible if you’re willing to pay all the greedy fees.

Here’s how it looks for me using Coinbase:

- On-ramp (fiat to CEX-fiat): 0.15€ flat

- Conversion (CEX-fiat to CEX-crypto): ~4%

- Self-custody (CEX-crypto to wallet-crypto): Depends on coin, average ~10€ flat

And if I want to off-ramp, I need to follow all these steps in the opposite order.

Meanwhile, atleast in the non-US countries I’ve lived in, all fiat transactions are free. I can top-up my bank account, send digital money to others, withdraw fiat, etc etc with ZERO fees.
I feel like that article has just strung together every negative complaint you can find on Reddit. With a few "but it's not all bad" anecdotes for some sort of balance.

Personally I feel the larger problem is the mostly invisible city workers and non-profits that are constantly sidelined by the visible elected officials. There are a great many projects slowing making an impact. But they often lose funding or support once someone has finished using them for some Twitter/photo op.

Pet projects are the norm, feels like no one wants to do the hard work to reform processes in place that allow for deadlock :(
Isn't that kind of how it worked out with Jack Parsons?

https://en.wikipedia.org/wiki/Jack_Parsons_(rocket_engineer)
This is a marketing fail, again. Call 98% to be 100% and you can claim 100% charge in 10 minutes (plus an optional 2% overcharge!).
You have elected a representative who agreed to them. Your personal opinion doesn't matter on the subject.
6:7: “Do not be deceived, God is not mocked; for whatever a man sows, this he will also reap.”
https://news.ycombinator.com/item?id=28537549

Previously
My thoughts on his points, from someone who really likes Go and has used it heavily on small and large projects (1M LoC):

1. Probably a matter of taste, but I love this feature, just because of the lack of noisy public/private keywords everywhere that you see in Java et al. It also means you can tell from a usage (not just the definition) that something is exported, which is often useful.

As far as renaming goes, either rename the definition and see where the compiler complains, or get your IDE to do it (I use GoLand, but good things are said about gopls).

As for his example, the idiomatic way to write that is either just call it `usr` or `adminUser`, or use `user := &user{}` which is valid (if a little confusing).

2. This is a feature: it allows you to define interfaces only where you need them (on the consumer side), and you define the interface with only the methods you actually need. This means that when you add a bunch of new methods on the implementation, you don't need to change all the consumers. Go interfaces are amazing.

The downside he discusses almost never happens: it's surprising, but even in large projects I've never had structs accidentally implementing interfaces or a IsAdmin method being implemented with reversed polarity by accident.

3. Definitely has its downsides. Tooling helps find unchecked errors. Though I've found the biggest downside to explicit errors is the verbosity. You do get used to it, and the explicitness is at least clear.

4. There are a couple of "magical" things like this, but they're well known and documented, and simple to fix if you run into them. I love the fact I can just name a file foo_test.go and add TestFoo methods, and "go test" finds them automatically.

5. I have not found this to be the case, and in the rare cases it does happen, the compiler tells you loudly and it's easy to fix.

6. Yeah, this is a slight pain, but the semi-official "imports" package (golang.org/x/tools/imports) fixes it up, so you just run generated code through that (and it auto-formats the code as well). It's a couple of lines of code. See: https://github.com/benhoyt/prig/blob/2df1b65a2bdf34c10bb5e57...

7. Yeah, I wouldn't mind a ternary operator. Easily misused, which is why they didn't add it, but it would be really nice used judiciously, rather than the 4-line if-else block.

8. Fixed by sort.Slice, which avoids the need for Len and Swap (and even more so by the new generics "slices" package, coming soon). I guess this was added after the article was written?

9. Fixed by "Go modules", which is really well designed and works well (though opinions differ).

10. Fixed with generics being added in Go 1.18. And generic helpers like "slices" and "maps" packages coming soon.

11. Yeah, slightly annoying for newbies, though as he mentioned, tooling tells you. I do like the control you (can) get over allocation and memory management with Go slices.

As far as his summary goes (eg: the type system getting in your way for large programs), I have definitely not found that to be the case. The author doesn't like Go, and that's okay! I don't like Java. :-)
Shakespeare and Einstein both benefitted greatly from synthesizing existing work; if they'd had more and easier access to what others were writing that seems likely to improve rather than diminish what they produced.
100% agree with this. As a solo dev or freelancer things are different than as team member.

With 12 hours time difference, it is better to have separate team in India who can colloborate with offshore team on bi/weekly basis.
It is not a matter of being "supportive", so much as a way for them to have a hand at managing the narrative which the discussion will take and proactively lampshading upcoming arguments
Explanation from a previous discussion - https://news.ycombinator.com/item?id=16414435

...seriously wtf
Go with the ESV or NASB as these are word for word translations similar to the KJV. There's also the NKJV that uses modern english. Can use modern translations on the backend and still display the KJV verse.
Nationalism isn't capable of "creating a third community". You can't have an association of nationalists; they can't resolve their inherently opposing interests.
My first reaction was that he's probably not in his right mind. I mean he also openly ran a DDOS service, which also doesn't seem like a rational act.
The NYPD union endorsed a Democratic mayoral candidate who campaigned on public housing, low-income support and more funding for schools. The LAPD unions have similar Democratic endorsements.

You'll be hard pressed to find a large police union that isn't Democratic, much like most unions.