skysight-inc/HackerNews huggingface dataset:
> they failed to come up with a diversified energy plan for the future

Why diversify? If you have enough power when you need it without emitting CO2 I would think that would be enough.

However, no new nuclear construction for that many years does look like a mistake as France looks like it is slightly increasing use of coal this winter: https://www.rfi.fr/en/france/20220112-france-fires-up-coal-p...

If France had more NREs it would still face the same issues without adding considerable storage capabilities (any big country that does 80% NRE thanks to storage?)
I guess that would be on the developer side to sanitize/limit/clean in some way, like limiting the number of key-value pairs, object depth, etc?
Newly declassified documents reveal previously secret CIA bulk collection
When I want to re-watch one piece from the episode 1 I can't find any good source, the one that has complete list of episode is from pirate site, but you know how pirate site, tons of pop up ads, so I made https://stream.yui.pw, basically just scrapper site from the original pirate site, but no ads, easy for me to navigate, and pretty good use case to learn react and I'm pretty happy about it because I could use it on my own.
> Every AirTag has a unique serial number, and paired AirTags are associated with an Apple ID. Apple can provide the paired account details in response to a subpoena or valid request from law enforcement. We have successfully partnered with them on cases where information we provided has been used to trace an AirTag back to the perpetrator, who was then apprehended and charged.

This makes me wonder, could Apple go further?

What if Apple put up a web page where anyone could type in the serial number of any AirTag they found, and instantly see the name and phone number of its owner? Apple could even print the website URL on the back of every future AirTag (albeit presumably in tiny print).

I bet that would make stalkers think twice! And, I don't think there's any technical reason Apple couldn't do it, right?

What I'm not sure about is whether this would be an invasion of the owner's privacy. But, if you're using AirTags to only track your own belongings, when would this ever come up? The owner's privacy seems less important than that of an unwitting victim, since the owner can choose to not buy an AirTag.
Interesting that there's another version of the story where "intelligence sources" say the culprit is Russia.

https://www.abc.net.au/news/2022-02-10/russian-agent-suspect...
I moved from C# to Java, largely because its more widely used and has more libraries out there. I miss C# though, Java has so many silly wrinkles. Java is getting better with records and ZGC and whatever they can copy from Kotlin. The worst part of Java is Spring and super elitist programmers that seem to look down on everyone else.
Jetbrains IDES with sublime text keybindings.

Second small keyboard to single press buttons for macros instead of killing my hands with weird key combos.

Multiple cursors, fuzzy search, local (not git) history, find next occurrence keybind, go to start/end of method, go to next/prev compilation error keybind, scratch files, not having the IDE lock up for no reason, JS + type hints is extremely productive and flexible in webstorm, built in web server for test HTML files...

I also like to bind the prev/next error navigation to the up/down buttons on my mouse. This makes code navigation and refactoring a breeze.
It's a bit of a win-win for China, either they corrupt the Labor party or they get caught sow suspicion against the Labor party
And, in fact, much of the front end ecosystem is constantly getting ideas from Elm which is pure FP… and a pleasure to use (I think).
I just shared the information based my real life. I live in China and had some business with Alibaba, even though I don't like the company.
I did not say anything about politics or dictatorship, I just shared the fact that Alibaba is still running well.
If you think whatever you don't believe is just fake, then you would better go back to watch your CNN.
So who is brainwashed?
Sounds interesting and useful.

How likely is it for this product to be alive and well maintained for the next 5 years at least?
A decade of major cache incidents at Twitter
Yes, docker has been the driving issue - The virtualization has a long way to go imho before it can stand up fully and the ARM rosetta + Docker is like watching paint dry - its brutal.
Looks great, but the example for SQL looks kind of bad. Is that how pg does things? I thought "modern SQL" used CTEs and other fun features, or this that not a thing for pg as much as say snowflake?
I do the same thing! I'm hoping that some day hotels won't send every wireguard packet they see straight to the bit bucket. Until then I'm really grateful for ssh.
If it takes seconds to execute more features you are doing it extremely wrong.
"Who prints money?" and "who creates money?" are two different questions with two different answers.
The sensation comes from the Macbook case voltage differing from that of ground, and finding a path to ground through your body. Sometimes, when you feel the sensation coming from the computer, if you lift your feet off the ground the sensation stops. This is because you are no longer a path to ground.

It's totally possible for this path to ground to go through two humans, making it feel like their skin is buzzing! For example, if your friend is in bed using a Macbook, they're insulated from ground and thus at Macbook case voltage. If you stand on the ground beside them and touch them, the current now finds a path to ground through both your bodies!
>I can't think of anything worse than a government led by nerds.

LMAO. Truer words have never been written. And yet, I don't think we have a choice in the matter. We're in the middle of a paradigm shift, akin to the managerial revolution. In the managerial revolution, power passed from the people who own companies and businesses, small and large, to the people who managed them. The control of capital (in the technical sense) mattered more than the ownership of it.

We're seeing something analogous where the people who manage the complexity of these large managerial institutions have gained more power than the people who officially manage them. The leverage technology provides to the users is only outmatched by the leverage it provides to its implementers. Technological concerns have more power in America than any concern, and in every organization, the implementers and maintainers of technology are more business critical than any individual manager. This is power in real terms.

A side effecting consequence of this is the glamorization of the "coder" (mind you, not the hacker, though it is the hacker who has gained in actual wealth, power, and status). You never would have seen glamour shots of coders on instagram 20 years ago (and not just because it didn't exist!). Glamorization is what happens when you gain power and money in real terms, as an individual or as a class.

I don't think we have a choice in the matter. The signs of the sea change are all around us. The question is what will the leveragers of technology into the wheels of power have for their values, and what will the consequences of their ascendancy be?

Thiel is just the first.
At least on my older mag safe charger, only 2 pins are connected. You can pull off the UK plug and plug in the US or EU one, or even just a regular figure 8 lead (not sure of the correct name for these!)

Had a few times where I've had to disconnect the charger as I could feel an effect like static electricity on the metal case of the MacBook.
Yes, that's the overall discussion, but that's not this specific sub-thread is about. This subthread was about addressing the strange, oxymoronic doublespeak being used by someone responding to one of my comments. Maybe you meant to respond to a different comment?
https://docit.dev/

I am building a Knowledge Transfer platform for software engineers that let's people make documents with video recordings, screen recordings, voice recordings, diagram making, document hosting, and more all in one place. The goal is to put all the features native to the platform, that way the user can just click and use rather than be redirected to a third party integration.
The only and I think the ONLY benefit from this, is what we will absolutely find ways to unlock these features ourselves for free.
I understand your concern, but newsdesks and op-ed pages aren't run by the same folks in reputable organizations - which leads to situations like the one you are describing.
> It's just supposed to allow people to to make transactions and be confident that the thing they are selling won't be worth 20% more tomorrow.

Huh. I'm pretty sure the things people are buying costs 7.5% more compared to last year.

Those stupid people shouldn't have been holding money for a year, they should have bought that stuff a year ago.
> Modern sleep, in its infinite comfort, is an unnatural superstimulus that overwhelms our brains with pleasure and comfort

Would you expect this to generalize to other animals? For example, if you gave ultra-comfortable beds to dogs, mice, etc., would you expect them to spend longer times asleep? And I think we should specify "asleep, not merely resting" here.
Him signing the check doesn't matter to me either way.

However, there's some irony in the fact that we got money, printed out of nowhere, signed by the previous president, and yet there are people that act like inflation is solely a "current administration" problem.
Yes, it’s not like the good old days when you’d just hope JP Morgan was still in town to stave off depression.
> That's also a big plus for Bitcoin, because it's been around the longest and because it's so much simpler than more complex chains

I’ve always understood this on a basic level, but reading an entire exploit debrief with intricate technical details really hammered this point home for me.
My anecdote is that when I get migraine headaches, I have to lay down and try to sleep. I have to lay on hard ground. I can't stand being on a mattress for some reason. Maybe it's about feeling more control over the position of my body.
IBM has been doing capacity/features on demand so long that the patents must be expired. And yes, they still do it on mainframes.
Not just ibm - I believe ncr for sure and I think likes of Honeywell Unisys etc all did it as a standard practice 5 decades ago :-).
Ah yes, the classic "No True Scotsman" OOP defense.
I run a clone of hacker news with a small but dedicated group of users. I implemented support for basically every public feature in HN, with the exception of the “past” link and getting rid of dynamic links. It implements HN search via Algolia, HN’s api via Firebase, HN’s javascript and css. People have submitted a total of 2700 items over two years, which is frankly incredible to me. It’s also scooped HN three or four times, where stories that appear there end up on HN a day or weeks later. I find that amusing.

It costs $12/mo, runs on FreeBSD just like HN originally did, and requires almost no moderation. It succeeded in replicating the feeling of HN’s early days, in terms of a sense of wonder when you stumble across it. But almost no one comments, much to my surprise.

I should probably do a writeup someday. But mainly I wanted w high quality HN implementation. pg’s original code vs this took two months of dedicated work. Figuring out firebase and algolia bindings for Arc took some (enjoyable) doing.
If I have to spend an hour or two setting up each solution, I could pay $4 a month many years before I'd feel like it was worth doing that twice. You're not wrong, but I would gladly pay the monthly to only have to set it up once.
Japan is certainly not comfortable about a particular [very close] neighbor of theirs.
Imagine this scenario, you open Wordle to guess the word for the day. You put in your guesses and manage to guess it right, but it's a slur that's been used against you on many occasions and now you have to relive traumatic episodes, when all you wanted was a positive experience?
I'm going to go with a slightly higher bar. It is perfectly plausible that these particular candidates really do have some relation or funding from the PRC. But can you say for sure that ASIO doesn't systematically fail to scrutinize the connections and funding of Liberal party politicians?

The inherent problem with what I've said is that its a very plausible and precedented thing for a spy organization to do, but it is also a fundamentally untestable hypothesis because you can't really scrutinize the work of spies. So the state of reality where ASIO is earnestly fighting corruption looks the same as the state of reality where ASIO are a political tool. How can you be certain which reality you are in?
I don't see how its fraud. "Associate" is a pretty generic term for any employee below C-suite or partner.
They also blocked an emissions trading scheme in the senate because it wasn’t perfect. They have almost no credibility anymore.
They also have put significant investment into media, especially towards controlling anything Chinese language.

https://www.smh.com.au/politics/federal/beijing-controls-chi...

And universities are targeted for both students and lecturers.

https://www.bbc.com/news/world-australia-57647418

Personally I feel this behaviour is counter productive to Chinese interests long term as in an open society these actions become public. For any good it does, it will also generate mistrust, ill feeling and potentially by extreme groups as leverage for fear/hate.
As an Australian living in California I’m surprised we don’t see more such issues in California elections. There is out-of-state but still US money in referendum questions but that seems to be it, despite the fact that California’s economy is a lot larger than Australia’s.

Australia is of strategic value to China, as it spent the last 20 years as a Chinese mining province, so I can understand their wanting to meddle in Aussie elections (if these allegations are true). But why not California?
The item posted to HN, linked above, begins:

> but after some months in production, and a severe lack of any meaningful reply from the CF Images team addressing any of these concerns

that's the concern, that the feedback didn't reach the right ears, or trigger actions, until the HN post, when it should have been possible to use normal customer relations channels and get some kind of meaningful reply.

Still, yes, this is a common dilemma these days with many vendors, and that the HN post worked is also better than some!
Malware gang plants incriminating evidence on PCs, gets victims arrested
> it’s really hard to trace back who gains by subduing ... Elon Musk

https://www.opensecrets.org/orgs/ford-motor-co/summary?id=D0...

https://www.opensecrets.org/orgs/general-motors/summary?id=D...

https://www.opensecrets.org/orgs/toyota-motor-corp/summary?i...

Not particularly hard, as it turns out.
Functional purist here (mostly Elm), and I have very few problems that arise from the paradigm. Also fewer bugs than pretty much any software I use or deal with.
Well that is simplistic hyperbole to say the least.
And it really doesnt matter how you perceive things.
People wanting radical change are going to act radically right?
The problem with the "inheritance isn't part of OO" take is that every single one of the languages we call object-oriented that gained mass adoption have inheritance, including Alan Kay's own smalltalk. There have been entire books written about object-oriented design describing ways to use (or not use) inheritance in program design. So whether or not it was intended to be important by the author of the term is immaterial, it for all intents and purposes is a crucial part of object oriented languages.

Inheritance is not the only problem w/ OO either, many things are straight up awkward to express when you must couple data and code together. Many 2+-argument function w/ disparate parameter types create confusion about which class "owns" the definition of the function.

You also don't need to marry data and code to get the benefits of encapsulation. Many functional languages in the ML family have developed clever solutions to encapsulate the definition of a datatype while exposing it to module-local functions. There's no need for the datatype to carry a method around with it to support this.
Ask HN: How to Make Knowledge Transfer and Documentation Better?
TL:DR How can software documentation be improved? What featured would you like to see in a knowledge transfer/ documentation platform.

The Long version: Software documentation and knowledge transfer are important parts of the software development process. Hate it or love it, most developers still have to do it but usually don't do it well. In general, a Wiki is as good as it gets and is usually not enough. At my job I once had to do a knowledge transfer where we had 7 screen recordings over 3 hours long then had no where to put those videos nor was there a tool that made it easier to search the videos thus making it too difficult to find the part that I needed in the video fast. Honestly, that experience sucked but I still had to do it for work.

How do you do knowledge transfer and documentation? What do you hate most about it? What could be better ? If you where to have a single tool dedicated to software documentation, what would it be and what features would it have?

I am asking because Me and my cofounder faced this issue at our companies and decided to build, DocIt, a platform where developers can document their process and transfer knowledge. We hypothesize that with video, screenshots, voice recordings, diagram making and more, developers could create better and more interactive documents quicker and easier. We both want ourselves and others to forget the days where you need to use Excel, SnippingTool, some screen recorder( Zoom or Webex), Teams, Dropbox, a diagram maker and more to get the perfect knowledge transfer job done. We would greatly appreciate if anyone can share their experience and any suggestions. We are developing our MVP.

To learn more please checkout our landing page: https://docit.dev/ and please signup to our mailing list so we could update you on our progress and when we will have a working beta ( it is on the website)

Thank you!
I don’t see much difference between

some_state.do_stuff()
do_stuff(some_state)
> Both China and Russia are using similar tactics.

Are you perhaps forgetting another major player?
In this particular instance it's illegal.
"The saddest thing about the "object–relational impedance mismatch" is that the focus went totally to the wrong side. The relational model is a much nicer way to model relations than a graph of objects (that's the whole point after all)."

I found the same thing. When I was using ORMs I always found them clunky for all but the simplest tasks, where I would long for an easy way to use SQL and have it "just work" for objects, so I created this:

https://github.com/iaindooley/PluSQL

It's obviously not been maintained but I think it's a model that has legs: that is, simply the creation of SQL with some convenience methods, allow the use of completely arbitrary SQL, and then intuit the object mapping automatically without loading the entire result set into memory.
generating html using find and replace/regex safely is hard. escaping is easy. and the solution is to just not generate html using find and replace. You'll run into the exact same problem trying to do a bbcode/markdown/whatever parser using javascript
We raise our kids using the same educational model that was in place back when we needed them to come out at 16, obedient and ready to work mindlessly screwing bolts onto cars for 8 hours a day, 6 days a week for 50 years.

Yes if we take those children and cut them lose with no one to tell them what to do, they will be lost. I don't think the problem is that we aren't giving people busy work to do. It's that we're raising them to psychologically depend on it. My wife literally thought she was worthless as a person because she didn't have a job for a few years. It's kind of disgusting.
The problem with the OO style taxonomy is that doesn't just model the taxonomy but it also structures your code, that's usually where the problem is, and it leads to issues like what is the proper superclass: Square or Rectangle.

A square is a kind of rectangle but the "API" of a Square is more restrictive than that of a Rectangle (where both width and height can change independently). I've seen this issue discussed in either this year's or last year's CPP-CON...
I wonder if there could be a successful group working strategy in here somehow -- everybody follow this greedy algorithm of just working on what appears to be appealing, then have the coordinator put up roadblocks to funnel the focus toward the most valuable work.
They are popular journals, not scientific ones and fluid dynamics is apparently not sexy (though planes are — go figure!)

I’m pretty stoked by these results.

(Sorry about the pun)
I stopped reading after they said they don’t know much about what unit tests are really. It’s clearly not a well informed opinion, even if it happens to be right, which, from what I did read, it very well may not be.
this would violate privacy laws like gdpr
That Apple trackers work well makes them worse, so yes, the high profile is a real factor.
SSGs through the ages: The ‘Before Jekyll’ era
Maybe they mean to counter trade you, i.e. short the terrible stocks you recommend and become immensily rich.
Nuclear can spin up and down rapidly, it’s simply really expensive to do so. In the mid term heavily subsidized Nuclear is the fastest way for most countries to reach a 90+% clean grid. The risk is ever cheaper grid storage can quickly render such investments obsolete.

A nuclear power plant that comes online in 5 years and operates for another 40-50 is going to be part of an extremely different grid in 25-55 years from now. That’s why private investors are so hesitant, but governments have more flexibility.

It could be that subsidized grid storage is a more cost effective solution, but that’s also limited by manufacturing capacity.
Really though? I think wasm app will be able to write to DOM so no JS required, it can't yet but seems inevitable.
> So you go from saying what I claimed "isn't born out in the data" to saying there's no way of knowing when the effects kick in

No, I didn't "go from" one of those criticisms to the other. I am making both of them. I am saying both of the following:

(1) The variation in the data can be explained by things we already know happen: seasonality and new variants emerging. So there's no need to hypothesize an additional effect just because you would like to claim that printing trillions of dollars of new money was a good idea.

(2) The model you are using to make your claimed prediction can't make any such prediction anyway, because it can't predict how long it should take for the effects of printing trillions of dollars of new money to show up in the data on COVID deaths. So even if we did see something in the data that could not be explained by seasonality and new variants emerging, we would have no reason to believe that it was due to printing trillions of dollars of new money.

It's perfectly possible for both of those things to be true.

> the effects we do see in the data (contradicting your first point)

My first point makes no such claim. Indeed, it says the opposite: it says there is variation in the data.

> Occam's Razor here says that the dump of money helped people, as that is by far the simplest explanation.

No, it isn't. The simplest explanation is the one that does not hypothesize any new effects over and above the ones we already know happen, like seasonality and new variants emerging. Both of these have been visible in the data throughout this pandemic. Indeed, both of these effects are well known and expected for any viral infection that causes respiratory illness. Or have you never heard the term "flu season" or been aware that flu vaccines have to change every year because of new variants?