skysight-inc/HackerNews huggingface dataset:
Are the recently introduced generics part of Go 2 - or not? I thought at one point in time the team announced that Go 2 would always be a backwards compatible evolution of the language, so it seems new features could happen independent of whether one labels them as Go or Go 2.
> "Watching this program execute (c / ctrl-c) at adjustable speed (ctrl-t / alt-t) it becomes clearer that the process of printing an image is basically a pipeline that goes: IDCT → Y′CbCr to RGB → decimate → sharpen → block render. Thanks to Blinkenlights we can also see that the RGB conversion is going slower than it should, because code isn't benefiting from SSE register vectorization. Many other common issues concerning micro-optimization, such as register spillage, become super apparent as well."

Could anyone ELI5 how this information is obvious?
Association of Realtors reports weakening housing dynamics [pdf]
I don’t think that theory will pan out. The AR product is expected this year, with VR to follow.
It is pretty sad how hardware test suites are uncommon, hard to use and sometimes are missing altogether. Consortums release the standards for free or for nominal fees, but don't release the test suites under the same conditions.

Forget complex USB 3 - even something as simple as I2C often has bugs under unusual circumstances.

Ans compate this to software world - Python for example comes with a large test suite, and re-implementations can use it to see how close they are.
Yes they did -- but as a thought experiment, these types of security measures could be totally reasonable to have if the owner of the phone had root. Sure, lock my phone down until the cows come home.. but I hold the master key (or I can get it easily in a fashion I have control over -- if you fear being forced to under duress then you can set something up to prevent that). Lets be real here (as many people mentioned) the key exists, its just not in your hands as the phone owner. It is in the manufacturers hands. And we want it. The one problem to solve is how to verify that you own the device. Saying that that is too hard to solve is not a good enough reason to deny people from having it. There are 100 solutions to this that cryptography folks could devise -- probably folks here could think of tons (one time keys, requiring physically going to a safe place to retrieve the key, requiring a secondary person, having the ability to provide provable information to the person who wants the key that the person who you are threatening does not have the ability to unlock it, etc) -- but yea, there is theft, hacking, border security snooping phones, etc.. those all exist, so blocking those people from getting root on your device is critical -- now lets think of solutions rather than saying OK Apple and Google get to own my device. If we are one patch away from essentially having no clue whats running on our phones, then we are in way more trouble than we thought we are in... we should have "right to root" on our devices now.
mactrey, found this pubmed paper from Taiwan and they paint a very different picture. See table 3 in particular:

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6164767/

Although the SIRs of melanoma, cancers of oral cavity, hepatoma and lymphoma were also increased in vitiligo patients, the significance was lost after correction for multiple testing. No specific cancer occurred less frequently in vitiligo patients than in the general population.
Show HN: Earthview Desktop – Sets your wallpaper to a random aerial image
I'd argue the exact opposite, the number of people who have a strong preference for one or the other is dwarf'd by the number who mostly care about which pays better, has better benefits, and leads to a better work-life balance.

Most people are strongly motivated by money and benefits over personal preference. Most people, especially in manual labor, don't like their jobs, or merely put up with their jobs for the purpose of making money. Money is the incentive that matters here. Which is why accurately representing to said people what careers can be expected to earn compared to other options in the same field matters.
Yeah I was guessing that's possible. I mean that the separation of these into separate products seems confusing when they're actually one.
Grapheme segmentation in Unicode is actually kind of interesting and completely data-driven. I wrote my own implementation of the segmentation algorithm in Rust recently¹ (because the existing segmentation crate didn’t have an interface that let me get the next grapheme cluster from a char iterator). It was fascinating to dig into the specifications and see how everything fits together.

⸻

1. It will be published to crates.io sometime in the next month or so, there’s possible optimization work to be done, or at least, an alternate interface to the iterator to see whether the speed penalty I’m paying is an algorithmic problem or just an artifact of the trade-offs I have for my use case. I also ended up writing my own character class code as well and in benchmarking against the current popular crate got a 10x speedup,² so even if my segmentation code is useless to anyone but myself, I think that this code at least will be useful.

2. The other crate has a really inefficient implementation of looking up character classes where it ends up having to do a binary search in the data tables for many characters while I use a two-step table approach which lets me get a character’s class in O(1) time (and the tables are designed to be small enough that they’ll stick around in the CPU cache for lookups in a tight loop).
Been listening to these channels most of my programming career.

https://di.fm + somafm

this network it has many sister channels including https://zenradio.com

soundcloud can be good, once it knows your preferences, but to much random stuff and volume changes happen that i switched back to di now. di has a treasure shows now for each genre which basically what i used to use SC for so im set.

hos.com get s special mention
I'm still not clear on what their plans are for CA Technologies and Symantec. VMWare would be similarly baffling to me.

Any idea what these acquisitions are building towards?
Smartphone use:
https://leftronic.com/blog/smartphone-usage-statistics/
> If something is used once, ignore any abstractions.

This is a terrible advice.
According to this, a classic program that loads data from a file, processes it, then writes the results to another file should be a single giant main() that mixes input parsing, computation and output formatting. Assuming file formats don't change, all of those would be used only once. CS 101 style. :D

The primary reason for building abstractions is not removing redundancy (DRY) nor allowing big changes, but making things simpler to reason about.

It is way simpler to analyze a program that separates input parsing from processing from output formatting. Such separation is valuable even if you don't plan to ever change the data formats. Flexibility is just added bonus.

If the implementation complexity (the "how") is a lot higher than the interface (the "what") then hiding such complexity behind an abstraction is likely a good idea, regardless of the number of uses or different implementations.
I don't think the paragraph metaphor works well since written works are often read front to back, and the organizational hierarchy isn't so important on such a linear medium. There are books that buck the trends and IMO you don't really notice the weirdness once you get going. E.g. books with long sentences that take up the whole paragraph, or paragraphs that take up the whole page, or both at the same time. Some books don't have paragraphs at all, and some books don't have chapters.

Splitting material into individual books makes a little more sense as a metaphor, especially if it's not a linear series of books. You can't just split a mega-book into chunks. Each book needs to be somewhat freestanding. Between books, there is an additional purchasing decision introduced. The end of one book must convince you to go buy the next book, which must have an interesting cover and introduction so that you actually buy it. It might need to recap material in a previous book or duplicate material that occurs elsewhere non-linearly.

A new book has an expected cost and length. We expect to pay 5-20 dollars for a few hundred pages of paperback to read for many hours. We wouldn't want to pay cents for a few pages at a time every 5 minutes. (or if we did, it would require significantly different distribution like ereaders with micropayments or advertising). Some books are produced as serials and come with tradeoffs like a proliferation of chapters and a story that keeps on going.

Anyway, it's a very long way to say that some splitting is merely style, some splitting has deeper implications, the splits can be too big or too small, and some things might not need splits at all.
> the much bigger problem with SIMD is that it is really hard to program for since vector sizes keep getting bigger
This can be fixed with an abstraction layer such as github.com/google/highway (disclosure: I am the main author). The programming model is variable-length vectors and we can map that both to SSE4/AVX2/AVX-512 and SVE/RVV.
It seems to me that the actual pain (of large numbers of unique instructions in the ISA) is pushed to the CPU decoder, binutils, and abstraction layer.

> doesn't look good at all for big-little designs which seem to be the future
Why not? It's not clear to me why OSes shouldn't provide a "don't migrate me while I'm checking CPU capabilities and then running this SIMD/vector kernel".

> very few applications use it [AVX-512] because it requires optimization for a very small portion of the market.
Maybe so (though increasing), but the cost is also low - we literally just pay with binary size and compile time (for the extra codepath).
dd is one of THE most common ways people accidentally wipe disks. All it takes is typing sda when you meant sdb.

The by-label trick helps a bit, but I still don't like it. Etcher exists. Etcher will give an alert when it's done flashing. Etcher will verify what it wrote. Etcher will predict how much time is remaining.

The raspi imaging utility goes even farther and gives you configuration options. There are many other special purpose flasher utilities like that.

Where dd really shines is in a script, for making empty images of a certain size. But even then... there are tools like truncate to make a sparse file instead.

The only other time I ever need the CLI is for directly creating a compressed image, but that's a somewhat uncommon task for me. And I would not be surprised if one of the GUIs had it by now.
Eroding the 'natural' i.e. market rate of interest made inefficient activities relatively more valuable. The more we interfered, the more valuable financial holdings became, regardless whether or not they actually contribute to society. IMO we hardly have any idea right now what's worthwhile business activity and what's not, because we destroyed the measuring stick.
The thing about unit tests is that the better they are, the less you have to debug.

A very good one, with effective use of matchers, you don't even have to read the test to know what you did wrong. You just know from the error message what you broke.
I read this a number of years ago and it's been churning in my mind ever since. While I do think Bostrom is definitely onto something here in terms of dangers of technology, his proposed solution of heavy surveillance via a "high tech panopticon" is seeming worse and worse to me every year. Primarily because recent years have made me pretty much certain that idiotic activists would attempt to control this system to achieve their own ends. It would start out monitoring people for signs of developing some killer virus or WMD or something, and within 10 years it will have been hijacked into a system that monitors and punishes people for "problematic" speech and whatnot. Of course, it's the activists who get to decide what exactly constitutes a "problem".
Your guess is wrong. It was a two-step attack that relied on social engineering and misleading. They had scammed about fifty people in Munich by the time it was in the papers, and my guess is that a substantial number of ordinary adults here would fall for it.

Personally, I consider it quite reasonable if our OSes are set up to make it difficult to scam regular people, even at the cost of making my tinkering difficult. It's the sensible default, IMO. Feel free to disagree, or even to downvote me.

(I'm sure some of the fifty-odd people used apps to pay the criminals, but that wasn't relevant to the way the scam worked.)
I agree, which basically sums up this entire thread and all others like it over the past couple weeks.

Air-chair economists pontificating on what will happen to our economy over the next 12-24 months like they know with certainty what they’re talking about.

I thought this article was arguably the most rational outlook I’ve seen. It’s insane to me that a small fraction of companies have had a couple routine layoffs, the market slightly dips as it always does cyclically, and people are already running around saying the sky is falling.
> it’s a more reasonable number.

No, absolutely not. House prices have grown much faster than inflation even if you introduce a fudge factor 2.

> Growth in games and movies and travel etc.

Is that like "eat cake"? Housing is incredibly more expensive, education is incredibly expensive, but don't worry movies are cheap and that more than makes up for it, right?
What are you talking about. As far as I’m aware walkability is increasing at a snails pace and people all over America are tired of it. Pedestrian and bicycle deaths are increasing in many cities, as people drive more dangerous cars.

I mean here is a pretty well done case study on how hard it is for advocacy groups to increase pedestrian safety: https://www.youtube.com/watch?v=zJlB4eVv2F8

Also, I don’t think you understand direct action. Most people engaging in direct action know the risks and are willing to accept it. There is also a little sense of relativity that you might be missing. Painting a crosswalk might theoretically increase risk to passengers (might, as you’d have to conduct a study to actually know) but that risk is irrelevant in the greater context of dangerous activities that drivers regularly engage in, such as speeding, drunk driving, etc.

LA (and other cities) really need to up their game in adding walkability, the fact that people are taking matters into their own hands is an obvious call for that.
His argument was that a lot of people being armed leads to regular standoffs. CCW being very common and leading to almost no standoffs over stupid arguments absolutely does address it. I'm ignoring comparing individuals to nation states, which is just silly.
> PHEVs have (pretty much by definition) smaller batteries, so they discharge/cycle more of their capacity, wearing down batteries quicker. They're also less convenient, because they have to be plugged in more often and charge slower (if you don't plug them in daily, they're just overcomplicated ICE cars).

If you don't plug them in daily, they're very fuel efficient ICE cars, with nice acceleration from a stop, and the opportunity to get free charging at some locations, rockstar parking at others (sometimes for a small fee), and maybe carpool stickers.

> • A pure electric drive train is pretty energy-efficient (80%+ Well-to-Wheel efficiency). Combustion engines are only about 35% efficient (and it won't get better: there's no room to use the heat, and you can't avoid generating heat in a combustion engine). It's already bad even if you have perfectly efficient fuel synthesis. We're not near having too much electricity to waste.

You're right about efficiency, but Texas often has overnight periods with too much electricity, and the California solar peak is close too (to the point where time of use rates have changed and there's an off peak price during the middle of the day). That's likely not enough to make fuel synthesis viable, of course.

> • There's still an engine and a gearbox to maintain. These are mechanically much more complex and inherently more fragile than an EV power train.

> • Most PHEVs on the market have weaker/laggier performance than BEVs due to having a smaller battery that can't deliver high peak power, and having only one electric motor due to sharing a power train with ICE.

Most PHEVs (and most HEVs) on the market are using a ICE + two electric motor + gears power system. Early Honda hybrids had a different system, but afaik, everyone else adopted the system that Toyota pioneered, sometimes called an e-CVT. There's no gear selection mechanism and it's relatively simple. (Apart from manufacturing errors, but if Ford can make a hybrid transmission that fails early, they can make BEV gearing that fails early too; hopefully my replacement transmission outlasts the rest of the components)

My PHEV has a two year maintenance interval for the engine, and sure, that's more than an engineless car, but modern engine maintenance is fairly painless. Change the oil when the minder tells you, make sure the drive belt or chain gets changed on times. Spark plugs when they need them. Fiddle with the emissions control when the light turns on.

Performance seems more than adequate, I can spin the tires from a stop, and it goes faster when I push the pedal down more. The only time there's significant lag in response is if you put it in EV only mode and try to get up to free flowing freeway speeds to merge. But, that's a silly thing to do; the battery evaporates at freeway speeds, and the gas engine gets best mileage at freeway speeds, using the whole car will get you the best results.

Poor interior space is a real issue, especially in mine (Ford didn't take the time to find a good place for the batteries, they just shoehorned them into an already small cargo area)
Just look at what happened when Gaddafi tried to create a gold backed dinar.
EU regulates trans fats to 2% of the total fat. US has completely banned artificial trans fats. While not outright banned it's a good example of a health risk that has been addressed by regulation.
Summer Blackouts Bring Deadly Risk as Heatwaves Grip the Globe
It is helpful to think if it more like an interactive comedy / satire than what many would think of as a game. Though in a meta sense there is a puzzle aspect if the player is a completionist.
For a few copies of niche design you would do vacuum molding.
In case you missed the hype, ADHD twitter has been posting a lot about bionic reading:

https://www.huffingtonpost.co.uk/entry/what-is-bionic-readin...
If your kids are high school age or ready to work on SAT math or AP Calculus then C2 is great.

If your kids are younger then Sylvan Learning Center or Kumon seem to be good.

It's good if the tutoring center is reasonable driving distance (i.e. near your house).

If there's no C2, Sylvan Learning Center, or Kumon, then by all means call or go visit all the tutoring centers near your house and ask about the rates for in person 1 on 1 or 1 on 2 tutoring. When you find one or two that seem good, pick one and ask to pay for just a class or two. Don't prepay or commit to 20 or more hours when you don't know if your kid is even going to like the tutor.

The big thing is your kid(s) should have a reasonable experience with the tutor. It's normal for kids to have a meltdown or a bad day, however the majority of days should be a positive or constructive experience (some kids would rather play computer games all day if that's an option). You want to keep it reasonably fun if possible. If your kids go to tutors for a while they will tell you if a new tutor is awful or they feel like they aren't learning anything.

You've got to tell the tutors and possibly the tutoring center coordinator that you want your kid to move at the pace they can handle the material (or as fast as they can handle the material). Many tutoring centers by default will just go lock step with the grade your kid is in (default question: what are you learning at school), which defeats much of the benefit of private tutors, especially if your kid is ahead of the material they have to do at school. Of course if your kid is struggling with the current material in school starting there is great.

Every kid is different and the tutors you get at these places are random. If you get a good or great result, fantastic.

The tutors that work at these places are often college students or other relatively employable people, so who is tutoring at a particular place tends to change as they get jobs. Tutoring tends to be less than full time.

BTW, if your kid absolutely hates studying by themselves (and just doesn't do it), using an in person tutor can be a way a way to work around that. I'm not saying that's a perfect solution, however consider it like using a JATO on a large plane.

Oh, nearly forgot, if you are going out of the way to pay for a tutor, you should see if you can get your kid to work through all of Khan Academy math exercises.

If your kid can handle all of Khan Academy math, then they may be ready for https://artofproblemsolving.com/alcumus which is an adaptive system using a database of competition problems. Warning, it tries to put problem solvers at the edge of what they know (it has a full range of problems, all the way from very easy basic math up to advanced number theory and combinatorics). Expect to need to Google math related words and terms used in problems as you encounter them.
Yea a lot of the inflation increases across the board are pretty easily attributed to depegging the dollar from $35 an ounce.

If that never happened then you could still buy an ounce of gold today for $35 instead of $2,000. The dollar has lost so much value in the last 50 years..

Allowing the government to have control of the currency has allowed them to low key flat tax us with most people not realizing it.

Maybe crypto can save us, but it will take probably 1000x the adoption for it to begin to stabilize it.
It probably peaked now, but smartphone adoption rate must have been enormous in the last 15 years.

Available CPU/GPU power increased a lot - mostly following Moore's law.

For extremely high growth percentages super-popular apps like TikTok might win.
In the meantime, we see transmission lines defeated in places like Maine: https://www.forbes.com/sites/robertbryce/2021/11/05/maine-vo... and Colorado: https://www.bloomberg.com/graphics/2022-clean-energy-power-l...
> holy moly is it dirt cheap in the US, averages not even 4%

That's out of date, its above 5% now: https://fred.stlouisfed.org/series/MORTGAGE30US/
My best useless use of dd was in the Ubuntu 16.04 days.

I was at a satellite office with all windows PCs for the day, so used a live disk to get a decent environment to get things done.
Only problem was that the DVD drive kept spinning down and every time I did something that was not cached it made me wait forever.

nohup + while loop + sleep 4s + raw dd read from CD for the win :)

EDIT: Reading this article it sounds like dd has no "special" ability to access the disk in a raw way. But surely that's what the nocache option is for...
You mean, how everything is either a solid (earth), liquid (water), gas (air) or plasma (fire)?
> Boomers all over Silicon Valley are still paying 1976 tax rates on their properties worth $2m+ now

Prop 13 limited tax increases to 2% a year, not zero. No one is paying 1976 rates.
Yeah. You could index the notes or just the titles in FuseJS then implement a UI to search and show results.

https://fusejs.io/
The segmentation goes the other way too. At one point, there were no Ryzen boards that could be rack-mounted for enterprise use.
Background: https://abseil.io/resources/swe-book
"There's nothing wrong with the tech, we just need more adoption" sounds suspiciously like cryptocurrency.