skysight-inc/HackerNews huggingface dataset:
One of the major issues with a lot of the outdated concepts in programming is that we still teach them to young people. I work a side gig as an external examiner for CS students. Especially in the early years they are taught the same OOP content that I was taught some decades ago, stuff that I haven’t used (also) for some decades. Because while a lot of the concepts may work well in theory, they never work out in a world where programmers have to write code on a Thursday afternoon after a terrible week.

It’s almost always better to repeat code. It’s obviously not something that is completely black and white, even if I prefer to never really do any form of inheritance or mutability, it’s not like I wouldn’t want you to create a “base” class with “created by” “updated by” and so on for your data classes and if you have some functions that do universal stuff for you and never change, then by all means use them in different places. But for the most part, repeating code will keep your code much cleaner. Maybe not today or the next month, but five years down the line nobody is going to want to touch that shared code which is now so complicated you may as well close your business before you let anyone touch it. Again, not because the theoretical concepts that lead to this are necessarily flawed, but because they require too much “correctness” to be useful.

Academia hasn’t really caught on though. I still grade first semester students who have the whole “Animal” -> “duck”, “dog”, “cat” or whatever they use into their heads as the “correct way” to do things. Similar to how they are often taught other processes than agile, but are taught that agile is the “only” way, even though we’ve seen just how wrong that is.

I’m not sure what we can really do about it. I’ve always championed strongly opinionated dev setups where I work. Some of the things we’ve done, and are going to do, aren’t going to be great, but what we try to do is to build an environment where it’s as easy as possible for every developer to build code the most maintainable way. We want to help them get there, even when it’s 15:45 on a Thursday that has been full of shit meetings in a week that’s been full of screaming children and an angry spouse and a car that exploded. And things like DRY just aren’t useful.
I just run Go servers under fcgi. You get orchestration and crash recovery with a very simple interface. Fcgi will launch server processes as needed, feed them events, and shut it down when there's no traffic. Performance is good, and you can run on cheap hosting.
If people moved to the suburbs, then voted to put rules in place to maintain the reasons they moved there in the first place, that’s choice. They chose to move to the suburbs. They chose to create those rules. If that’s what they want, and people come to town and try to turn it into something else, they’re going to have to keep moving, which they don’t want, so they vote to keep things the same.

People can choose how urban or suburban they want to be, by choosing a community that fits what they want. Don’t move to a cookie cutter suburban area expecting it to change to fit your desires. The current setup evolved over decades and won’t change over night, and it is the way it is, because people wanted it that way (at least at some point in time).

If people wanted to change the rules of the city, they’d put it on the ballot and vote. If this isn’t happening, it’s because they are choosing not to. This doesn’t mean people don’t have choice, it just means that if you want something different today, you need to choose somewhere else to live. The alternative is choosing to get involved in local government and working to change those rules, and getting the citizens on your side. That can be a long road, but someone fought to do that in the past.

There are a lot of reasons people may not want to live next to a bunch of rental units or low income housing. Call them names if you want, but forcing this on them is taking away their choice.
With the native web control approach you can write the bulk of your app in whatever efficient programming language / tech stack you want (Rust, C, C++, Go, whatever). The webview need only be for presentation - the 'V' in MVC. You aren't stuck with Node.js.
Honda sold one for the US, but it didn't catch on or something:

Well I found this, they used the heat for hot water:

https://global.honda/en/newsroom/news/2012/p120925eng.html
At least click the link before submitting your premature damnation
It's not even like Apple is hiding that they hate their DMA when they're announcing their compliances with it.

Looking forward to the EU Commission taking Apple to the ECJ over this, I strongly suspect the EU Commission will win, because even if it doesn't, it will just propose legislation changes to outlaw Apple's behaviour anyway.
Sounds like some pretty poor planning. Modern heat pumps including the ones that I'm familiar with work down to around -5F. They aren't very efficient obviously at that low temp but mine also has a resistive backup that fires up if needed.
> They've been at this much longer.

.. but is that true?

MSR has been putting out research in all derivatives of modern large neural network architectures (NLP, CV, etc.) for the same amount of time that Google has. If there was a drift between timelines, its not large IMO.

What you could argue is that Google historically was more successful in their research outputs.

However, historical consumption of resources may not compare to current resources consumption.

> I doubt we have the visibility to know how they compare in terms of available flops and the unit costs

Completely agreed, unfortunately, this is all guesswork at best
OP was complaining about CA, and this appears to be an proposed law in AZ. It could affect CA utility prices because it relates to export, but it's not up to CA to decide what laws are passed in another state, governing the usage of land in that state.
I am cautiously excited for these, because they're almost normal-looking enough to be useful, and because you can just use bluetooth & a python library to drive them, you're not tied to some godawful app... they might be just what I'm looking for in a wearable computer I/O device.

However, based on my previous experiments in wearable displays, I'm also extremely dubious about their performance outdoors -- I'd want to hear from somebody outside the company who's worn them outside before I bought a pair.
Has anyone else described how a Flipper Zero can be used to aid in car theft? My understanding is since the 1990s car have used rolling codes for keyless entry, making it improbable for a Flipper to replay captured signals to unlock vehicles¹. But surely Canada has at least a modicum of evidence that thieves are using Flippers?

¹ Caveat: Some cars will accept rolling code signals with a counter only 1-3 values off. So a Flipper recorded unlock message could be replayed successfully if the owner hasn't used their fob again. Plus, replaying codes can desynchronize the car's system from the fob, leading to non-functional keyfobs. You can find online reports where Flipper users did this to themselves: https://www.reddit.com/r/flipperzero/comments/yxgn60/flipper...

edit: A deeper dive makes me think a the Flipper could help with some attacks. On some cars recording multiple successive unlocks and replaying them in order will make the car resynchronize its counter to the messages on your Flipper and the next one will unlock the car. It seems this attack relies on the first signal being jammed, but you could do that with two Flippers. One next to the car jamming, and a 2nd closer to the keyfob recording. Lots of info here: https://i.blackhat.com/USA-22/Thursday/US-22-Csikor-RollBack...
I think a useful iteration of that pattern is one called Functional Options:

* https://dave.cheney.net/2014/10/17/functional-options-for-fr...

* https://github.com/uber-go/guide/blob/master/style.md#functi...
That's true I did not think of that.
For somebody who's legitimately doing complicated business management stuff and already has two monitors covered in documents all the time, of course it would. I don't do that myself, but I've worked at multiple companies with people whose job includes trying to synthesize all that stuff together into useful business decisions.
Most large companies aim for ~10% total turnover a year.
I appreciate the response, this is good to know. I apologize for not being clearer but what I'm specifically looking for is the "GeoColor" full-disk imagery [0], which I don't think is archived anywhere (beyond a couple weeks worth). That imagery is generated from the raw data you linked, but sadly the code isn't publicly available.

There is a good amount of material around the techniques used to generate the GeoColor images [1][2] but understanding it well enough to implement it is a little above me.

If any HN'er can code up something like this, I'd definitely be interested in talking with them.

[0] https://www.star.nesdis.noaa.gov/GOES/fulldisk_band.php?sat=...
[1] https://www.star.nesdis.noaa.gov/goes/documents/QuickGuide_C...
[2] https://journals.ametsoc.org/view/journals/atot/37/3/JTECH-D...
> What material would this have to be made of to not melt?

I would just use a giant array of solar PV panels as screen, then build a huge coil gun nearby and use all that energy to deflect potential dangerous asteroids by throwing them projectiles made of collected and recycled debris from decommissioned satellites.
This does not seem to be accurate - see https://twitter.com/i/web/status/1755411290107863429

(I have not personally verified the behavior described in that tweet, but if it's true then a lot of the reporting and commentary around this story has left out important details and the actual change is positive for users. Intentionally configured PWAs still work; everything else opens in your default browser, without any potentially unwanted magic.)
Just like they can see the anger on my face any time I can't avoid going near one of these things.
Hoping it's just a beta issue. Otherwise there goes the "for the user" pretense, reminding us that there are no "trustworthy" companies, only temporarily aligning interests.

Edit. Links below suggest a less than nefarious explanation but the reality of the point above stands.
Morpheus Space Unveils New Thruster That Uses Liquid Metal as a Propellant
I write mostly frontends. Sometimes the APIs I talk to give back beautiful English error messages - that I can't just show to the user, because they are using a different language most of the time. And I don't want to write logic that depends on that sentence, far too brittle.
What kind of system do you have that is only giving you (if I’ve converted the those very confusing units correctly) a COP of 2.2 at 10° C? That’s really very poor… There are air-to-water units that can achieve COP > 4 at 0° C, and even a good air-to-air should still be over COP 3… I’d expect to see a COP like that at -15° C or below on a modern unit…
Lean code doesn't get written because there's crazy time constraints and the market generally doesn't reward or care about code quality. Managers want things shipped last month and they want to keep churning new features without long-term planning.

But even going beyond that, we're forced to keep building upon tons of old design decisions which don't always match modern software expectations. It doesn't help that modern operating systems have failed to evolve in order to provide a better ecosystem. And that's not even taking into consideration the barriers created by artificial platform segmentation enforced through copyright abuse. In general, platform owners are very resistant to working together.

The biggest innovation in the OS space during the past decade which I'm aware of has been the proliferation of containers. We've given up on combating software complexity and decided that the best thing to do is throw everything into a giant opaque ball of software and ship that.

Anyway, for all my ranting all this bloat has at least enabled a lot of people to ship code when they probably wouldn't have otherwise shipped anything at all. The choice is rarely between good code and bad code, it's often going to be between nothing and bad code. And a lot of this shitty horrible code is often solving real world problems, even if it's bloated.
Blue leds also gave birth to purple leds, which for some reason every condo building has multiple units lit up like vampire dens.
I got moved into a 'growth' department in one job and that was enough for me to put my feelers out and tender my resignation. All the work in the pipeline was about pulling the rug under from customers, increasing prices, and not adding value but removing it from general availability and paywalling it. It just felt wrong with me and what was important to me at the time.
Jailed Imran Khan uses AI video to claim election victory
Y’all just say the quiet part out loud now?
Logic as applied to the real world is just beliefs too; using probability for the math is a way to account for uncertainty, instead of rounding everything up or down to impossible standards of "true" or "false".
What about branding yourself as an "Engagement Consultant"? That's a more defined service with plenty of demand (probably) and doesn't quite pigeon hole you into one type of activity.
Around here most of them require an electrical or plumbing contractor's license to sell that stuff. There's an online system to verify the license, and one of the conditions of the license is purchasing a bond and insurance.
If you're going for months at a time and you're used to a couple of large monitors/ultrawide, a USB-C display is a grim downgrade and sidecar is really unreliable. Currently the Vision Pro doesn't beat my current solution cost-wise (just buy some monitors there and flip them for cheap before I leave) until like, 15 trips and the quality of it as a solution for doing what I want seems roughly similar so I'm avoiding it for now. If it was $1200 or so it would be a no-brainer for me.
Not to mention, you can’t just throw a large pile of money somewhere and create another ASML. It took them decades to get EUV working, as that tech is insanely sensitive and complex.
I haven't tried it personally, and I'm sure I will be blown away. But the novelty will wear off fast. There is no way I would use a headset for hours.
Why wouldn't heat pump work on gas?

It's already done -- RV fridges work on propane directly, without converting it to electricity. A fridge is a heat pump.
interesting to look at their site from a couple years ago. no mention of AI, they are simply "Open source eyewear."

https://web.archive.org/web/20220809080848/https://www.brill...
Yes, and for nominally climate-driven reasons MA has constrained the construction of pipelines and other facilities that would allow the cheaper delivery of natural gas for cheaper electricity… thus discouraging consumers like me from moving to electrical utilities that would net reduce emissions.
Thank God Elon bought twitter!
He doesn't seem to have any further commentary, so this tweet just reads like a smarmy way to implicitly brag about ChatGPT.
Just create an open wifi network and throttle it down to 1kbpm, plausible deniability!
What an absolute cluster of crap software the Android Gemini app is!

Unlike Assistant, when you put in a request, you THEN have to hit the Submit button to make the request go through.

And it can't do things like set timers.

I'm shocked at how such a big company releases such terrible features thrust upon (b?)millions of users and how so called "product managers" are able to keep their jobs and move up the ranks and make millions of dollars in comp.
Well, I would put a dollar on this proposal being made again and again over the years to come. It’s still not too late.
I will email you, but really I don’t know that I can be much help. I did speech lessons as a really little kid, but don’t think they helped much with the lisp. The stutter comes and goes - I will suddenly have a run where it’s happening a lot and then it goes away. Not sure if it is tied to stress or sleep or ?? Started very young but has never been so pronounced that I’ve sought to do anything about it - I generally don’t even think about it, but lately it’s been back again.
> You can have formally verified programs in a non-memory safe language.

But you can't have formally verified libraries in a non-memory safe language; or rather, when you use such a library in a non-memory safe language, the proofs don't carry over because the ambient program may break the underlying assumptions at any point in execution.

It doesn't matter if the library carefully tracks its buffers if the main program can accidentally overwrite the library's book-keeping structures between two calls into the library.
> Please don't respond to my thread nor impolitely reference me or accuse me of things if you're going to post things that aren't for me.

It's not your thread, I replied to someone else and the effort put into that reply was for them.

> I already stated this conversation is over.

I don't really care what you state. Stating something doesn't simply make it true. If you feel the conversation is over, don't respond further.

> Walk away now. Do not respond me.

Don't give people orders that you have no authority or right to enforce.

If you feel the conversation is over, don't respond further.
Since I didnt think such word even exists I googled and apparently there is something called "falsy" in javascript.

To make it worse, there is a "truthy" too.

I guess a technical question. But my eyes.
Hey, if you're looking for a real-world pragmatic and performant implementation of a theoretically-cool algorithm, my https://github.com/tpn/perfecthash project might fit the bill.

It's geared to generating perfect hash tables with the fastest possible lookup/index times (for 32-bit keys), for key sets in the <=100,000 range. (It scales well up to millions of keys, but the solving time takes a lot longer.)
I don't think it's doing anything with fundamental understanding capability. It's more likely that their system prompt was naively written, something like "Your response will never contain unsafe or harmful statements". I suspect their "alignment" ability has actually improved, so it did literally follow the bad, ambiguous system prompt.
There's some pretty glaring aliasing and moire issues. Gamma correction might matter once they try to come up with better shaders but that's not the main issue. Rendering fine detail like a spreadsheet without major artifacts is an interesting problem, burden is mostly on Apple to figure out a solution for app devs. Higher resolution screens won't really help that much.
Show HN: Play Shengji (tractor), a Chinese card game
It really doesn't change much.
Just please don't use it in public!
So much for „free market”.

> You can do it your own way

> If it’s done just how I say
> It’s almost always better to repeat code.

God no. Stop the copy pasta disease! It's horrible, mindless programming.

When reviewing code, I'm astonished anything was accomplished by copy pasting so much old code (complete with bugs and comment typos).

Incidentally, OOP encourages you to copy a lot. It's just an engine for generating code bloat. Want to serialize some objects? Here's your Object serializer and your overloaded Car serialize and your overloaded Boat serializer, with only a few different fields to justify the difference!

OOP is bad. Copy pasta is bad. DRY is good. All hail DRY, forever, at any cost.
Navidrome: Self-Hostable Music Server
I’ve been a Navidrome user for a few years now. It’s been extremely stable, and runs extremely smoothly for my 300GB library on a $5/mo VPS with slow disk.

I pair it with beets to organize, autotag, and convert. (Happy to share beets config + scripts on request, but my setup is pretty idiosyncratic.)

Sharing in case the project strikes anyone else’s fancy on here :).
No worries. It is indeed tons of data. I've already stored 200GB+ and I just started on Jan 1st.
>If you're going for months at a time

But could you use the AVP for months at a time for work? That's the main question everyone's avoiding to answer.

So far, everyone just plays with it for a couple of hours to post on social media "wow that's so cool, it's the future", but so far I haven't seen anyone saying they actually use it for work 8h/day 5 days/week long therm.

All those who have AVPs still default to using their computers with monitors for their daily work. So then how can you say AVP is gonna replace your setup for months on end?
Abducted Ukrainian kids found by hackathon organized by Dutch police
Have you used the Microsoft Sculpt Ergonomic keyboard? I really like that, but it isn't mechanical.
AI fake IDs successfully bypass identity verification
Interesting. I see two different aspects here:

1) Mental model. My claim comes from the firm belief that the more code is aligned with how we think, the easier it is to reason about the code. I naturally think about actions as they are not async or sync by nature – rather, it's me who's in charge of how the action is going to be executed (back to my "watching TV" example). Human attention here serves as an analogy to utilizing the logical CPU core during runtime.

2) Performance consideration. What you described indeed can work, too, but it comes at a cost. With Go, yes, you have to handle async results yourself (if you care about results), but you now understand the price of this and can make better judgments of the code and complexity and have better performance overall.
What is a theorist if not someone who works on interesting problems which have a tenuous-at-best relationship with reality?
Metal thieves who are exchanging wiring for cash for drugs are even more impulsive than other street criminals. Sometimes raising the bar a bit can make a big difference.
Some dupes /w comments: [0](48 points, 7 days ago, 19 comments) [1](93 points, 2 days ago, 79 comments) [2](7 points, 10 hours ago, 2 comments, same URL)

[0]: https://news.ycombinator.com/item?id=39236862
[1]: https://news.ycombinator.com/item?id=39299007
[2]: https://news.ycombinator.com/item?id=39314074
Patches are not necessarily good.

This is a massive issue with soft dev today.

That being said, the books can still exist - dynamically updated, well versioned books with frequent updates, and low cost distribution methods such as websites or module print formats.

The problem with frequent updates is the lack of rigor, which is partly why we don't see as much of this...
Or it could be like multipoint touch screens, early version of which were a solved problem in 1980s or earlier, and just needed compute power to catch up, which it did over subsequent decades.

Or it could be like code=data and homoiconity and other CS fundamentals that were figured out 40+ years ago, but are still mostly ignored by software industry/culture.
Like everything, it depends is the right answer.
I know that legally, employee data has no expectation of privacy. But I'd like to gently push back here.

The word "private" means "having privacy" in the normal, everyday sense. Using that word to describe something that isn't private is lying. You and I both know there do exist many people who suffered consequences for not understanding the definition of that word.

In my opinion, the ethical thing to do is to use a different word when no expectation of privacy applies. And the upside is powerful: transparency gains trust.

Slack did this well: they call them "direct messages".
May be time for Unionization in Tech to stabilize things and protect tech workers? There is already unionization in some parts of Europe.
Can you name an example of this happening? Because OP's narrative is very common in a lot of "progressive" places in in the media. It's one of the core ideas of progressivism that poverty is a trap and that people need help from the government to escape it.

I can think of some other less mainstream news sources that would have a problem with that idea.