skysight-inc/HackerNews huggingface dataset:
Code duplication sometimes is a good thing but it doesn't prove that clean code is a bad thing.

I think you overcommitted a bit on the refactor, if you had replaced those "10 repetitive lines of math" with a function it would have been cleaner.

Let's be crystal clear about it, your teammate did a terrible job not creating a function for those 10 repetitive lines. I would be rejecting this PR but never rewriting it.

Rewriting a PR is a quick way to insult someone because you're not open to debate and many times you don't have the full picture of why the code was written this way. PRs have to be reviewed and rejected when there are no coding standards, the last thing I want is people committing code and saying "Clean code is not important", this mindset only leads to a codebase that no one wants to work within a matter of months.

Communicating better and having some tact is the lesson you should be taking from your experience, clean code has nothing to do with it.
That’s a defensive statement from CNAF when they were asked to comment.

What do they actually do with that data in those circumstances?

It’s a completely different endeavour to look for fraud and to look for under-claimed benefits. I can’t believe the same project by the same people would be equally concerned with both tasks
Not only the resulting abstraction is harder to adapt, but the abstraction itself is badly chosen.

The first and foremost thing you want to refactor is the repetitive set of arguments. As it stands, all those arguments will come from interacting with handles, so you can reasonably expect that they are deeply coupled with handle changes (for example, it may allow for fixed 1:1 aspect ratio in the future). So they should go to its own object or even class, so that some duplicates can go into its methods while allowing for individual changes. And then you can decide whether you want to refactor more or stop there. Some refactoring changes are clearly beneficial in virtually all counts, others less so, and mixing them is not a good strategy.
Exactly. Seems like the obvious way to go and this is what I typically do.

The end result is of course a huge bag of small, pure functions, but they're easy to test and refactor so it's never an issue.
Stop Hiding the Sharp Knives
I didn't read the paper but I loved the title.
That's fine. I can negotiate my own breaks and days of work. Maybe I need 1 break and I want to work the full week cause I need the money. If I want what the union is offering, I can always join the union, then I get the union "package". But if I don't, then leave me alone. I am a grown human, I can negotiate my own package.
You should start a company providing kissing therapies
Reply All was so good long time ago
Gandalf was clearly a sith, only a sith deals in abstractions.
I'm not advocating anything be broken. But if they're really doing what they say, and what I assumed you referred to by existential risk -- developing technologies "akin to the hydrogen bomb", that stand to "capture the light cone of all future value in the universe", etc. -- then of course that has to happen.
Venusian Arts: Revelation
I think your second point actually is covered:

> Note that “applying” an operator can mean a couple of different things in this context. You could actually execute the operators, in which case the operands would be numerical values of all the terms and subexpressions; you could also build a syntax tree, in which case the operands would be subtrees. The algorithm works the same way in either case.
I also don't understand their comment. I've been buying either a flagship Android or iPhone every upgrade and don't remember not getting at least 5 years out of a phone.

Even at 5 years I only ever felt like I was upgrading because it was 'time', not out of a direct need.

I can only imagine a person getting 3 years out of a phone if they are buying junk.
I was exactly the same. I tried various search engines but always reverted back to Google after a while. I think I stuck with DDG for the longest time but it wasn't enough to win me. And somehow Kagi managed to do it and now I'm a very happy paying customer of theirs.
That's true, although Pixel seems good as a successor, but the big thing Microsoft did was use what they had to get into new markets.

Procuring Azure is a good option for lots of companies because most companies' IT staff know AD and Microsoft in general, and Microsoft's cloud offers them a way to use the same (well, not the same, but it's too late by then) tools to manage their company IT.

I'm not disagreeing with its success, but I do think they had a much simpler journey, as to my understanding a lot of it involved cloudifying their locked-in enterprise customers, rather than diversifying into new markets.
As for "you don't have to evaluate", from the article:

> you could also build a syntax tree, in which case the operands would be subtrees.
This must’ve been shot by one of the directors who did Apple’s new show Extrapolations. Very plausible illustration of AI in daily life though, despite the aggressive climate change claims made in it.

But neither AI not climate are there yet…
Still it's quite rude when some people spend a lot of time on some part of the codebase only to find someone rewrite it without discussing it first.

Also the point here is about cognitive cost of working on the refactored code, not broken functionalities.
Essentially it was question casting of this size being automated at car maker scale. Bigger castings were integrated before on assembly lines, but at higher costs and complexity before Italians made the large mostly automated caster that Tesla called GigaPress (iirc) - it's essentially COTS factory equipment.
This may help (as a place where to build a reference repository)

http://www.linuxsynths.com/
It should change do english by default. If it does not you can change it on the top of the page.
For dry goods I don't even look at total price, I look at price per weight (wet goods, same but volume). It's almost always lower the more I buy. I'll buy the largest quantity I can consume before it spoils.

Off the cuff I'd say I save about 20%, and buy a few hundred pounds per trip. Probably saves us amongst a family in the vicinity of $1000/yr. This same concept extended to all other non-food consumables.
> Widgets are definitely not as good yet, though

That's true. The seem to especially be confused with `,` and `.` in fractional numbers; sometimes it recognizes `,` , sometimes it doesn't, but it does use `,` in the results. This leads to the fun result that you can't use the output it gave you as input in a new calculation.

But that's a minor issue and otherwise I'm also a happy paying user.
Related to this: the worst part of all this “Clean code” mindset, it is the idea that having comments in the code is somewhat harmful, because “if there is a comment, the code is not simple enough”.

Currently in my second workplace that belongs to that “school of thought”.
Missed one important part in my other reply:

> As far as I'm aware, browser vendors do not benefit from users using HTTPS everywhere. They encourage its use because it is generally beneficial to users.

Google (which is to say DoubleClick), which funds the majority of browsers, has a huge financial interest in HTTPS. They make their money on ad tracking, and it suits them to put a moat around that; privacy initiatives help them by making it harder for any new competitors to get hold of the same information they built their business on.
> It's not about saying goodbye to clean code, it's about actually maintaining a clean code by not overabstracting.

But the title says so! :p

I get the whole point of this post, but it can easily be read as an excuse to actually messy (as opposed to "non-clean") code. The author doesn't actively distinguish them, so others do.
Errr sorry what’s the innovation of google docs exactly ? Being able to write simultaneously with somebody else? Ok, so this is what it takes for a top notch docs app to exist? Microsoft been developing this product for ages, Google tried to steal the show, although had little to no experience in producing and marketing office apps…

Besides collaborative reuniting is a no feature and there is much more important stuff than this for a word processor to be useful.
they probably should have went with 9.5 in case something better comes along
Electricity is for the orc
> IDEA and 3DES for example are perfectly secure for that usage.

I wouldn’t use the phrase “perfectly secure”. They are both 64-bit block ciphers so vulnerable to generic collision attacks like https://sweet32.info/. This is why NIST deprecated 3DES and reduced the allowed limit of data encrypted with a single key to 2^20 blocks = 8MB. Many emails with attachments exceed that size.

Now, you may say that such attacks are largely theoretical and the actual amount of (known plaintext) that needs to be captured is much larger in practice, but this is quite a step from “perfectly secure”, especially when you are considering the NSA as your adversary.

Edit: spelling/typos
The intended thread might have been https://news.ycombinator.com/item?id=38562939
Yeah, my trial was also sitting with unused searches because I treated it as a scarce resource and couldn't search like I would.

Because of GPT4 and Claude 2 chat models available in Ultimate plan, I thought I'd gonna try it for a month.

No problems using it for daily search/google/bing replacement. Just few times I tried fallback to google and the results where either about the same or once the google gave trash.

Yeah, but I bought it for AI features more than the search.
Polysecure: Attachment, Trauma and Consensual Nonmonogamy by Jessica Fern.
I just rinse my mouth every night with sugar, in addition to brushing. Have not had problems since.
Effect of three-year consumption of erythritol, xylitol and sorbitol candies on various plaque and salivary caries-related variables https://pubmed.ncbi.nlm.nih.gov/24095985/

Xylitol and erythritol inhibit real-time biofilm formation of Streptococcus mutans https://pubmed.ncbi.nlm.nih.gov/32600259/

And, what I always expected, it is better to rinse with two sugars:

Exploration of singular and synergistic effect of xylitol and erythritol on causative agents of dental caries https://pubmed.ncbi.nlm.nih.gov/32286378/

two tablespoons and 50 ml of handwarm water (the stuff does not really dissolve good), a few drops of this: https://www.apodiscounter.de/myrrhentinktur-hetterich-30ml-p...

This tincture might not be available in the US due to alcohol content. I saw only oil based versions in the US.
I suppose you're talking about one certain life style where this kind of pattern fits well. I used to follow this exact description for many years when I was younger and did in fact live right in the center of a small city. It worked great for me. I remember one weekend where I suddenly craved a boiled egg and so just had to walk 5 minutes from my door to a farmer's market to buy a single egg which I carried home holding it in my hand. (The guy selling the eggs gave me a surprised look, but hey, I was single back then, one egg was enough...)

But later in life, with three little children, I just simply couldn't imagine a trip to the grocery store every day. Having moved out to the suburbs, public transport or walking wasn't an option any more, and I was already doing enough driving around what with the kids going to school and all kinds of afternoon activities.

I would have actually loved the more car-centric design of North American cities where at least the driving is made easy. No squeezing through small alleys, tiny parking lots (if any) and 3+ stops to get all the things you need for the week.

The reason the North American car centric design works (too) is that it optimizes for convenience rather than environmental concerns (and it's not like European cities optimized for the latter either, they were simply built in pre-car times). Even if the driving distances are further, that doesn't necessarily mean that the overall shopping trip is much longer in practice. And even in cases where it is, I just find it much less stressful to drive in North America. Of course, your mileage may vary.

When I lived in the city center many years ago, there was one larger grocery store about 5 minutes away from me on foot and a couple of smaller stores specialized in one thing or another in the same area. And while that was very convenient for me, it also meant that there was constant traffic in front of my house from people driving to these stores. There wasn't much zoning rules, apparently, the stores where all just mixed in among the residental houses.
First-of-its-kind study finds autonomous vehicles are safer than human drivers
Sorry, I should've been clearer. I was replying to the "families with with children". It applies only to children, usually up to 14 or the normal price.
> The results of the research are exciting both for the insurance industry and the safety community alike: in over 3.8 million miles driven without a human being behind the steering wheel in rider-only mode, the Waymo Driver (Waymo’s fully autonomous driving technology) incurred zero bodily injury claims in comparison with the human driver baseline of 1.11 claims per million miles. The Waymo Driver also significantly reduced property damage claims to 0.78 claims per million miles in comparison with the human driver baseline of 3.26 claims per million miles.

> Similarly, in a more statistically robust dataset of over 35 million miles during autonomous testing operations, the Waymo Driver, together with a human autonomous specialist behind the steering wheel monitoring the automation, also significantly reduced both bodily injury and property damage claims per million miles compared to the human driver baselines.

Link to the full research paper: https://arxiv.org/ftp/arxiv/papers/2309/2309.01206.pdf
> If a piece of code uses Applicative or Monad you know it’s behaviour due to the Applicative/Monad mathematical laws.

Well, we actually only know what it is supposed to do. The laws are not enforced, so it is perfectly possible to implement a type class that violates the laws of the type class.
Come As You Are by Emily Nagoski helped me appreciate certain aspects of my sexuality in a way that changed my life wonderfully
Yes ... but so is AI.

Generative AI is an attempt to mimic cognitive ability using statistics ... and it always fails at some point. It's cognitive skills are as fake as Google's demo.

AI can drive a car as long as the roadway environment matches certain expected statistical parameters.

But mismatches are inevitable and unavoidable. In the real world, stuff happens. Emergency vehicles, pedestrians, cyclists, children, illegal u turns, etc. are all part of the real world environment that can't be predicted.

AI's naive response to unexpected conditions is to slam on the brakes and stop --- which in and of itself creates an unexpected road hazard.

There is too much "A" and not enough "I".
I encourage everyone to click the images and zoom in on them. The test itself is pretty flawed since the images probably all came from the jpeg in the first place (and if they didn't, then that's pretty damning to the non-jpeg options, in my opinion).

The place I found the most interesting is the dark, top of the screen. Zoomed to 240% and looking at the top area, especially where the power lines are going across, there's a very, very clear difference in quality between even the 95% jpeg and webp, and in my opinion, the jpeg wins for being more honest. That difference is more stark at the 65% compression option.

Is that difference worth the larger size? That's up for each of us to decide as we choose our technology; but, those images are very different from my perception.

Caveat: I've used Firefox to render them, which may have different results than Chrome, perhaps.
Eight Predictions for Voice AI in 2024, from Krisp CEO
I hear it’s kind of a pain in the ass to do a front end alignment on the drive by wire systems.
> NSA is infamous for its involvement in stealing trade secrets and generally cooperating clandestinely to for example ensure US company wins the bid. And the competition is often supposed US allies.

This was my point. They don't steal trade secrets in order to harm US companies.
Except.

And I’ll never know. Because X has so severely broken the UX of their product I have no idea how to find out. Or if there even is anything beyond that.

Twitter is becoming a link I don’t bother clicking anymore…
One obvious alternative: eschew push for as-high-as-practical latency automated pull.
You could try work around the Amazon issue by lowering the non US ones and raising the US one
> I honestly don't think you have to. If banking apps are a bit slow, so what?

Many phones are essentially abandoned by the manufacturer and don't receive any security updates not too long after release, which might just be an issue: https://source.android.com/docs/security/bulletin/2023-12-01

Not only that, but many apps won't run on the older versions of the OS either, due to the API level deprecation in Android: https://support.google.com/googleplay/android-developer/answ...

In other words, you don't really get much of a choice, unless you are buying a flagship device and not everyone will be able to do that. The same goes for the comparatively expensive iPhone devices, the cost also being a factor there for many.
Come as You Are: The Surprising New Science That Will Transform Your Sex Life by Emily Nagosky
Didn't Intel switch to using d9vk on their Arc GPUs because it was faster and less work than fixing DX9 directly?
> which groups are more likely to be flagged.
Did I miss the part where they checked whether the risk assessment was correct?

I see a lof of studies like this:
»'Male drivers aged 18-25 leaving clubs at night' are a group that is overrepresented in police DUI (Driving Under the Influence of alcohol) checks.«

Stopping there is okay if you want to claim that any such targeting is wrongful. But the more useful information would be whether these groups are justly targeted.
> The USA regularly uses its intelligence apparatus to undermine economy and industry in other countries. I would even say, at a far greater rate, with worse results (for the targets) than anything China or Russia are doing ..

This was my point. How often does it use its power to undermine the US economy or industry in the US?
It's a core i5.

I think I set some option in the bios to limit CPU usage/speed for battery life or something hoping it would run cooler, but whatever I changed never made a difference and it's been a long time since I've looked in the bios.

I hadn't heard of throttlestop, just grabbed it to run. So CPU is specifically a Core i5-2540m

The 4 cores are all between 66c and 68c alternating, and it says max is between 76c and 78c.

'Disable turbo' is shown as checked, so is 'BD PROCHOT', SpeedStep and 'C1E'. 'High Performance' is not checked.

When you say heat pipes, would that be referring to the copper colored metal over the CPU and GPU, what I had been calling the heatsink? I had not realized they had coolant in them at all. I've never replaced that, but I'm comfortable enough changing CPUs and such so I'm not worried about doing so.

If that's what I have to replace I may look on ebay and do so, would indeed be nice to have it running less hot, and also get rid of my probably irrational fear that the heat might make the battery explode.
Good look doing DIY work on the 48V network of a modern car, ICE or EV or 12, 24 or 48 V doesn't matter.

And the past 12 V systems are dead easy to work on. On older cars that is, as soon as you have electronics and bus systems DIY basically requires deep car electronics knowledge and skills.
the way of superior man by david deida - this is a traditional take between the masculine and feminine.

the alabaster girl by zan perrion - this is an in depth exploration of social dynamics in relationships.
Ah that explains why when I get a call during an online meeting, on the phone and I reject the call, Spotify immediately starts playing.
What phone and bank app is this? I have a 6 year old phone. I've never come across such issues.
He did - see the replies to the top tweet.
The Crystal comment that we were missing

> I actually compile my Ruby scripts with Crystal when I want a portable binary!

Na, you probably don't do it, but you think you could do it. Until you really have to do it and then you see that Crystal isn't a drop-in replacement for ruby. Anyway.. if every single "Dude use Crystal" person commenting on HN would be actually using Crystal, what huge community we would have ;)
Sounds like my Latitude e6220 - running TLP and thermald will help with the overheating. It's a great little machine, unfortunately the screen lets it down.
In automotive, it is usually the other way round. Regardless, what exactly was wrong with the existing 12 and 24 V systems for auxiliaries that absolutely needed to be changed?
Would be nice to open those paywalled articles with archive.ph.
The demo may be fake, but people genuinely love it. the top comment on youtube of that demo is still:

"Absolutely mindblowing. The amount of understanding the model exhibits here is way way beyond anything else."
They may not be "willing" but that's what happens over the long-term due to the relative power of market participants.
>The Hebrew calendar is a marvel of historical engineering and complexity

I haven't seen glazing this hard at a cinnabun.
I think I'm still a bit on the fence after reading this post on whether building out relational queries on top of ECS will ultimately nuke the cache locality and multithreading performance benefits of ECS in the long run.

The great promise of ECS is that once we all have 128-512 core CPUs, that we will actually be making great use of them in the videogames of the future rather than throwing away the vast majority of performance which is the current world with the vast majority of Unity and Unreal games.

Once you hit the real world and start making queries of everything, everywhere, all at once, maybe it'll be lock, lock, lock on your "database queries"

And also, it seem like this DB really demands a game engine like Bevy actually get finished!
> You get haskell type system

No. When trying to use Rust's traits like Haskell you learn really fast why higher kinded types are needed.
If you can't feel 48 V with your hands I'd recommend moisturizer, because you have very dry skin.
> It is hard.

Of course. Doing the right thing at the moment is also hard. But that's the right thing. Google is famously under-communicating and opaque, locking a thread is par for the course.

Again, of course, their reputation loss doesn't show on their bottom line. (How would it? They let loose the whole CFO army, and we don't really have the convenience of a randomized trial.) But incidences like these are accumulating the kindling to slowly but surely chip users away from the behemoth.
How can fellow software developers not feeling doomed?
do you know if there are up()downgradeable versions on the iPad operating system as well? Please some one..
On average this saved people a lot of time and money.

One thing to remember is that most women were stay-at-home mums and were grocery shopping every day. But once you have a car and a fridge (1970s) you can go to the supermarket once a week only, which saves a massive amount of time, especially when you now also have a job.

High streets need to be attractive. Old, dodgy shops are dead, clothing shops have a hard time. That's the way it is and best to go with the flow than trying to put things back "the way they were".

New housing developments are awful, though. The price gap between nice neighbourhoods with "old houses" and those will just keep growing.
I will never understand the general thought process behind these articles.

"I'm giving up on X/Y/Z because I've found a case where it didn't work well for me".

Isn't that how pretty much everything in the world works? There's no reason to be dogmatic about things like this.