skysight-inc/HackerNews huggingface dataset:
Clojure Java interop has been pretty painless in my experience.

https://clojure.org/reference/java_interop

It's pretty easy to translate things like

import java.time.Duration;
import java.time.Instant;
import java.util.Date;

//...
Instant nowInstant = Instant.now();
Instant fiveMinutesAgo = nowInstant.minus(Duration.ofMinutes(5));

Date nowDate = Date.from(nowInstant);

to

(import '(java.time Duration Instant))
(import '(java.util Date))

;; static method call with / (slash)
(def now-instant (Instant/now))
;; instance method call with dot. First arg is the instance
(def five-minutes-ago (.minus now-instant (Duration/ofMinutes 5))

(def now-date (Date/from now-instant))

Implementing interfaces and extending classes are a bit more involved, but I haven't had to do much of that in my experience, and when I have had to, that's been pretty good, too.

Here's an example implementing the AWS Lambda RequestStreamHandler interface

https://github.com/aws/aws-lambda-java-libs/blob/master/aws-...

(ns com.example.hn.handler
(:gen-class
:implements [com.amazonaws.services.lambda.runtime.RequestStreamHandler])
(:require
[clojure.java.io :as io]))

;; implement the RequestStreamHandler handleRequest method

(defn -handleRequest
"echoes request"
[_ input-stream output-stream _context]
(let [w (io/writer output-stream)
event (slurp input-stream)]
(-> w
(.write event)
(.flush))))

That's probably shorter than the equivalent Java implementation.
Prompt-driven JavaScript scaffolding for continuously evolving boilerplates
Yes!! I did one of those 0% TV purchases. They purposely made it so you couldn't set up automatic payments, so you had to do it manually every month. One month I was a day late, so they changed the interest to 19%, and charged me interest for all the past payments too.

Luckily I was able to get them to reverse it and then I just paid it off, but had I not noticed, I would have owed them a ridiculous amount of money.
I would be surprised if, given the antitrust sensitivity around chrome, these decisions aren't being approved at a very high level.
Krugman said that Trump, if elected, would bring global a recession. [0] Oops.

Point being, he tends to let politics cloud his judgement—especially in the last 10 years or so.

[0] https://www.politico.com/story/2016/11/krugman-trump-global-...
How about the thousands of millions that are spent on machine learning or overall data centers to collect the information of millions for resale and for service ads?

If you had carbon taxes in place, this "environmentally unfriendly" activity would go away.
This cannot be repeated enough. Bitcoin is consuming as much energy as a small-medium sized country and all so a tiny minority can speculate on it.
It's not required to plan an alternate that has a non-GPS approach if you have a WAAS-enabled GPS receiver, which is almost all of them these days. You can file a primary and alternate with only RNAV approaches.
I'm not sure about distraction, but the whole exercise called to mind similar exercises in Venezuela, Bolivia, Ukraine, Hong Kong, etc. Those were run by CIA, so even though I don't have a good theory for why they (or parties within the organization; it's not a monolith) would do this, it does make one wonder... Keep in mind that even if a particular party staged this exercise, it might not have gone as they planned.
As Noah says in the article. The question he's addressing is how to know when we are approaching the cliff. We all agree it is out there but we can have a much better society if we know how far. If we fall off the cliff of course that is bad. Conversely if we cripple our opportunities because we are afraid, but the cliff is really many many trillions of dollars further away, that is also bad.
Is tree featured on there?
Also morally repugnant? Whataboutism.
ok, this is cool: it actually simulates the physical process of how film developer chemistry "spreads/gets used"

https://github.com/CarVac/filmulator-gui/blob/master/filmula...
I'll add that it works well across chrome/brave/firefox.
You can self-host it with 3d party https://github.com/ishani/xSyn
Which is written in go so it's as simple as running a binary.
Against “Relevance” in Art
Lots of bugs fall into "valid and need to be fixed but aren't high priority".
It's entirely the point until it isn't, such as when you (or the distro package maintainer) want's to change something only available in compile time. E.g. up until recently I had to compile with certain options to be able to pass the runtime flag for native Wayland integration.
Wouldn't your phone have a flash light? Also, what use is the knife and multitool? At least for me, I've never needed either and certainly not a knife
I wasn’t necessarily talking about my team. In fact mine has remained productive. But it has taken more effort on my part to keep them organized and on task. I’m the opposite of a micromanager, I hate that stuff. But the fact is I’m having to probe more and more as time goes on to keep things moving. Heck it not cuts into my productivity which also cuts into my teams.

Heck Just last week I had an admin that it took 45 minutes to get a hold of during an outage mid day because he was trying to renovate a bathroom and had setup a workstation in his garage.

Time theft is just a common term and I used it for that reason.

And I’ve seen it elsewhere in my workplace and across my communities. We have seen an increase in AV/app whitelisitng reporting attempts to install mouse shakers, auto responses, running video all day to avoid idle timeouts on teams Statius etc.

People calling into meeting while out fishing, hunting, shopping doing home improvement etc and usbeing asked to locate them at xyz time.

On a personal level idgaf about personal time. I heavily encourage my employees to take it. I heavily encourage mental health awareness and having hobbies and interests outside of work. Heck I regularly take off for such things myself. And I work to give my employees projects that fit their interests and strengths.

But what would your prefer I call it when people are trying to do these things and not claiming vacation time?
It's not a niche, in the same way that the Arduino isn't a niche. Back in the day the BBC Micro B had a thing called the "User Port". It was a TTL level bunch of pins you could attach all sorts of experiments to, controlled by a 6522 VIA. It was amazing, very few home computers had this feature (though the ZX81, Spectrum etc eventually got these add-on boards over time)

I for one, when writing BBS software, hacked together a thing to allow my BBC's User Port to detect carrier select, ring indicate and something else off of my old (pre-Hayes) modem to provide these signals from the modem's RS232 interface to detect calls and dropped calls etc, because the beeb only had RS432 which made it impossible to do this with (all you had was CTS, RTS, RX, TX and Ground).

The Beeb had an analogue port. You could hang all sorts of experiments off of that...external thermometers and the like. PC's (Apple included) "ruined" all that, and what external interface boards you could get to replicate this functionality were usually pretty expensive, because the world moved on, and this kinda thing wasn't built into the design spec.

The Pi was intended to recreate that 70's/80's fun, joy and excitement, and re-introduce the ability to do stuff like this that modern PC hardware simply doesn't provide for out of the box.

I don't mean this as a slight, but perhaps you missed out on that era, but have also missed out on the point of this stuff for "hacking" out ideas because where you've got an itch you need to scratch....like building a weather station out of bits.

The Pi, it's marketing etc is an amazing thing and should, and does, get folks back to hardware and software hacking for fun and intellectual curiosity without spending megabucks.

Sorry I missed the last part:

> "I want a microcontroller, but don't want to program a microcontroller."

But it encourages you to learn how to program a microcontroller, that's the whole point. Curiosity which leads to other things.

I had to fix things on my car but didn't wan't to learn or wasn't interested about how to fix things on my car...turns out I am now. And saved money. And learned things. And saved money. And satisfied some mysteries about how cars work. Again, to encourage curiosity which leads to other things.
LaLaLand: A Leninist Reading by Slavoj ŽIžek
You exactly described Big Green and Big Oil propaganda - to influence public opinion. Your definition explicitly mentions "facts" so therefore Big Green fits too.

Also Big Green likes to half-truth about how ethical or clean green is. Here's for cobalt, but not the only problem: https://www.washingtonpost.com/graphics/business/batteries/c...
I think it's fair to assume that America's current grid cannot handle 50% of people switching to EV, so obviously we need to build more. However, it's not like they're switching to EV overnight - even with the best (worst?) scenario it will take years, so hopefully we'll be able to ramp up the grid in time.
Would you be willing to live in society that has a legal system that works like this?
Congrats on launching! Excited to try it out!

Full disclosure: I’m the creator of Pushpin…and yes I feel guilty about how long it’s taken me to make improvements.

Your client looks fantastic, awesome job!
Looks a lot like this machine:

https://www.clockworkpi.com/
Gemma Atkinson blasts ‘lowest of the low’ thieves who
I'm not really well-versed on US law, but wouldn't that hacked data not be admissible in court?
The cable itself, charger, dongle or whatever they are calling it has safety circuity and will cut charging at the slightest hint of overcurrent.
Yeah, navigating overly-architected OOP is like playing super mario brothers. The princess is always in another castle.
> Electroplating requires a clean environment, high voltage and usually rather odd and sometimes nasty chemicals.

The voltages are actually very low - you want to get as close to the ideal electrode potential as possible. Most galvanic cells have a potential of only a few volts. In the case of copper electroplating, for example, you want between 0.5 and 2.5V. Potentially you could have a high current setup (the higher the current the faster the deposition) but if you care about safety more than print speed there's no reason you can't run it on a few milliamps. As for chemicals, it differs with the material you want to print, but most are pretty mundane. Again in the case of copper, copper II sulphate is a common fungicide applied to fruits, you don't want to drink it obviously but it's no more dangerous than common household cleaners.

Sintering may be doable for a few thousand dollars, but electrodeposition could potentially be done with a $20 print head on a standard 3D printer. Further, the same setup can be used for subtractive operations (just reverse the voltage) and it's trivial to set up multi-material printing (which sintering can't do). Given that 3D printing is mostly for hobbyists who can sacrifice time to save on cost, electrochemical printing seems like a strong option.
The Masked Singer's Joel Dommett Blanked by Wife
oh yeah - WFH is not gonna do anything about say signing bonuses or stock options. I just think it has enough cost savings potential that companies will be open to it going forward.

I especially like the "employees can access any company.." part, as it gives me a lot more options. Up till this now, it was basically only SV companies and small startups that were open to it.. So I'm looking forward to being able to cast a wider net next time I need to look for work.
> huge pressure on the virtual memory (VM) subsystem due to extensive dirty page writeback and page steals. The VM subsystem is constantly modifying page table entries (PTEs). This PTE churn results in frequent translation lookaside buffer (TLB) flushes and many inter-processor interrupts (IPIs) to do so. These TLB flushes have a very negative performance hit.

Interesting. I was aware of various mmap limitations, but I didn’t think about the TLB changes/flushes, which obviously come with an important overhead.
Not to mention the inelastic necessities of healthcare, education, and housing, which don't make it into the CPI basket.
While it could have happened anywhere, it's more likely to happen in certain cities, but would be good to know which

Likewise, if you've been mugged multiple times, either you're really unlucky, are perceived as an easy target, or visit the more risqué parts of the city ...

Either way, stay safe mate!
Just because there's a lot of news of US police brutality and little or no news from [insert country]'s police brutality, that data point could just as well mean that the news are more robust in the US than that there's less of it in other countries.
Emotionally, I see "time theft" and I have to work extra hard to continue to be objective, because I associate it with the "higher productivity with static wages" problem that I don't see getting solved the way I'd hope.

FWIW I understand where you're coming from generally, I don't want to make these concerns about you or your team specifically.
Can you think of a way that talking to the police might be different from posting on HN when it comes to self-incrimination? If you truly can't just let me know and I'll give you a hand, but you should try the exercise yourself first.
You'd be amazed how easy it is to spend $10m a year.

Real-estate, private jets, yachts, trophy cars, trophy alimony payments, security, art collections, horse breeding, interior design, fashion, private islands, expensive educations for the kids, bequests, public philanthropy, legal fees covering both public and personal disputes, investment management fees, political sponsorship and activism...

I'm not suggesting anyone needs this level of spending - just pointing out that the people who operate in that bracket wouldn't necessarily consider themselves completely secure and comfortable, even though they're spending sums that are unimaginably huge for most of the population.
Working with java for 20 years. Have never used Lombok, and honestly don’t personally know anyone who has. (Same with Kotlin.)

It’s a big world.

(Another weird thing for the first 25 years of my career never used anything but Sybase as a relational database — across 5 different firms. Never used Oracle or SQL Server.)
Not really, not if the tooling is half decent. And for stuff like the Arduino it's fairly good, even for a beginner with a wee bit of programming knowledge.

I used to be pretty fluent in 6502 back in the early 80's, it's a long forgotten skill in my brain. I bought an Arduino kit back in 2010 and had a bunch of flashing LEDs working in about half an hour. And I'm not that clever. It's all about the tools.
Fastcore is great. I've been going ape with it recently for a work project, and I've particularly fallen in love with patch. Made it extremely easy to assemble a collection of pure functions into pseudo methods attached to an existing class.
That doesn't really have anything to do with the GPS jamming tests. That's because GPS isn't actually global, or at least wasn't a couple decades ago. What you're checking is the number of satellites available on your flight path at the time you'll be there such that you can create an accurate and redundant 3d fix.
This is terrible. I've never seen a Googler get thrown under the bus so publicly by one of their own. Just doesn't fit the company profile.
If not customers, then what else could they be? Data entry workers?

That just makes Facebook’s behaviour all the more egregious. Perhaps there needs to be a social data a try worker’s union.
How about a Mexican co-founder? I have both technical and non-techincal knowledge. I speak 3 languages (English included). De hecho no sé por qué escribo esto en inglés. En fin, búscame si te interesa. Mail: tadeo1914@gmail.com
Particles have a position and a momentum (even though they can't both be measured per the uncertainty principle, so you could say they don't both exist at the same time). The wave function gives you both a position and a momentum (and other properties).

I believe what you're referring to when you say that it's wrong to talk about 'where particles go' is that it gives the wrong image of the particle moving continuously through space, occupying each point between its current location and its final one. You're right that this model is wrong. But the wave function still has a position which evolves with time, which is what I would describe as movement (even though it's not continuous).

Now, related again to identity - let's take a real experiment: we fire an electron cannkn at some benzene gas. We configure our cannon such that it fires a single electron per minute. We then want to compute what happens when this electron interacts with an atom in the gas. If we could solve the Schrodinger equation for the system, it would give us some wave functions which would probably show 42 electrons whose positions is always very close to the 6 nuclei, and 1 electron whose position can be far away, then close, then far away again. Now, whether this is even 'the same electron' between any two moments of time or not is more or less a philosophical question. But if it were a neutron instead of an electron, would you say it is not distinct from the 42 electrons? And if you wouldn't, then why say that when it is an electron?

I do understand that moving towards QFT, where we see the electron as an excitation of the field, it does make a lot of sense to say that even in a system with a single electron it's not 'the same' electron across different moments of time.

But on the other hand, we reach again the measurement problem at some point: we know that classical objects have identity. We also know that classical objects, like balls, are ultimately composed of electrons and quarks. If the electrons and quarks don't have identity, how can a ball?
Learning Userland DRM
> What is under dispute are the methods used to determine who that was.

What's the dispute, though? Use of cell records to filter suspects has a long history. And here we have a situation (an assault on a single building) that is almost perfectly suited to exactly this technique.

> The particular method outlined in the article implicates a number of completely innocent protestors.

Again, I see little evidence for an organized protest outside the capitol. Virtually everyone walked across that barrier. And given that, yeah, I think it's reasonable to assume that people in the capitol building cell viscinity without an existing alibi are suspects.
Financial regulation is and always has been two sided. To protect you from losses and to protect you from profit.
This article is really glossing over the fact that non-military jamming now occurs all the time, courtesy of truckers and criminals. Actual GPS jamming is only done rarely on special military ranges with significant separation from civilian traffic, or very rare wide-area trials (days when I would not have flown anywhere near the area in the NOTAM).

One thing is true: GA and Amati pilots rely too heavily in GPS. If they can't fly with DR+VOR in VFR then maybe they shouldn't fly through an area with GPS interference...
That video was good, but I'm disappointed he didn't point out that it's usually better to rent a depreciating asset, ie. get a lease. Of course there are a lot of other factors, like how long you typically keep your car for. But if you're the kind of person who like a new car every 3-4 years, it's almost always better to just lease the car than to buy it. Especially if you have a schedule C business that you can write some of it off against.
Isn't catching criminals a pretty good way to prevent crime?
> I’m doing it for the blog content and the experience and to hopefully provide you guys with some very cheap Raspberry Pi’s for your projects!

One other thing here that makes me happy is that these repaired Pis will not end up in a landfill, which I bet would have otherwise been the end result. Yes, there are electronics recycling services, but who knows if the original owner would have gone that route, and I imagine there still ends up being quite a bit of unrecycleable waste, not to mention the energy required to do the recycling itself.

Meanwhile, I have a thermoelectric wine fridge that died recently. Looks like it's the logic board, but the manufacturer doesn't make them anymore (couldn't find anything on ebay etc. either). I feel really awful that I'll likely have to have to toss the thing due to what is probably a really cheap and easy-to-replace dead part. (I need to take another look at it to see if there's something obvious like a blown capacitor that I can replace.)

> Instead I will be donating the proceeds of the sales to the Raspberry Pi Foundation and they can decide what to do with the Money!

This is just really awesome. Kudos to the author.
Not really, OS wise it can't be Home edition but because Homedoesn't officially support hosting RDP at all. Hardware wise it requires basically "a gpu", even a low end decade old integrated Intel GPU will work.
This is super cool. I had no clue that there were these interesting effects from the development process, it's a great write up you have in the wiki.

I ran through the docs but haven't tried it yet. One question/feature request, is there a cli mode available? I'd love to be able to set up some automatic pipelines to develop my photos, using a couple of pre-configured settings. If I could save some settings & then run those settings from the cli on a photo, that would be most excellent.

Edit: existing issue for a cli-driven interface exists at https://github.com/CarVac/filmulator-gui/issues/119
> Turbine engines are expensive to buy.

A big paradox given that they are not that expensive to build.

Such a prehistoric engine as PT6 cannot possibly cost so much to build in materials. It actually went up in price over the years.

As I know, the main PT6 line don't even use monocrystaline blades.
For Julia there are PyCall and RCall to seamlessly use Python and R libraries.
> To reiterate, the APIs were not designed to be used by third-party software, so short of a complete rewrite, there is no unfortunately no option.

The unfortunate (for Google) reality is (as had already been pointed out to this fellow multiple times before he said that): whether they turn off these Linux distros' keys, people can still write third-party software to (ab)use these APIs, using Google's own keys. The CFAA is only going to keep legit uses from using Google's keys. This does not, in any way, fix the issue that Google is claiming it fixes.
Then you weren't paying attention enough, and just because you don't recall doesn't mean it didn't happen, which it did:

https://theintercept.com/2020/07/09/twitter-dataminr-police-...

Know where I recalled I read this? Here.

https://news.ycombinator.com/item?id=23783503
I put them above most academic economists. Economics is a broad discipline and even macro specialists are most often not experts on monetary policy. Their research focus is likely distinct and tangential, and their understanding of central banks is theoretical and abstract with little understanding of the actual goings-on in the real Fed right now(1). Fixed income managers are experts on it since they need to understand the yield curve, to which Central Bank policy is one of the most important variables. Most importantly they are practical experts and know the minutae of the actual decision making variables being considered right now by the current Fed.

Yes there's some fixed income trades (in the short term quant space) that don't require such expertise, that's Taleb's Green Lumber problem, but that doesn't apply to PIMCO. Especially if we're talking about the lead at PIMCO. It's harder to get that job than it is to be a staff economist even at the Fed, so I would put him as close to number one in terms of expertise in understanding and especially predicting monetary policy.

(1) I've published papers with academic economists. I have to say, they really don't know the practical details of central bank policymaking, and nor do they have to in order to publish more papers. That's not their job.