skysight-inc/HackerNews huggingface dataset:
I recently setup fly -> ec2 -> rds using their wireguard + pgbouncer template.

I'm getting 7ms RTT on us-east-1. Of course I messed up my setup the first time and had RDS in Ohio... That was 30ms.

You would probably get sub 5ms if you did public RDS connection. Don't know if that would ever pass an audit though.
I recently went through the 2021 puzzles and I don't recall having this experience.

I also think the choice of language matters a lot. I did it in prolog a few years ago and it was super concise because you just dealt with pure logic at that point.

I can see it be more verbose in Java :) but seriously I find these puzzles hard but not in a chore kind of way.
I've also worked on percival a bit, it compiles (transpiles?) the datalog ast into javascript code on demand and executes it to get the results, see [1]. Percival's creator, Eric, submitted a Show HN that received a couple comments [3], and also submitted a 10m presentation about the project to the HYTRADBOI 'virtual conference' earlier this year [2]. The Have You Tried Rubbing A Database On It conference included several awesome presentations featuring datalog, which readers may find interesting [4].

[1]: https://github.com/ekzhang/percival/blob/main/crates/perciva...

[2]: https://www.hytradboi.com/2022/percival-a-reactive-language-...

[3]: https://news.ycombinator.com/item?id=29521975

[4]: https://www.hytradboi.com/
I'm not an expert (sigh...) but the hardest work I had to do was implementing a computational geometry library. For the first time in my career I had to buy text books. Looks like the closer you are to the hardware, harder it is. If I could go back in time and pick a field I'd choose from OS/runtime development, HPC, CAD, graphics, compilers, scientific computing (this feels a bit dry and too hard, so, perhaps not \0/), network security/protocols.
These probably won't replace password managers, just result in passkey managers... Dashlane already supports passkeys & 1password just announced intent to support soon.
Coinbase story?
>Also, Microsoft's Translator app can do the same (offline translation for text) and IME is about on par with Google)

Interesting, I'll have to try this.

Well, I tried installing the app and using image translate mode on some Japanese and the results were not very good, not nearly as good as Google Translate. I'll try it out later with regular text.

I also looked at the phrasebook feature. That's a pretty neat idea actually. However, for some really strange reason it defaulted to showing me phrases in Spanish. I have no idea why it thinks I would want to speak Spanish (My system language is English, and I live in Japan, so obviously I want to convert to Japanese. No one speaks Spanish here.)
> As of 2020, the Federal Reserve lowered reserve requirements to ZERO

Because it's no longer the favoured mechanism. Large banks in the US still have capitalisation requirements, and there are various other measures, they're just no longer required to keep a certain percentage specifically in a federal reserve account.

https://www.federalreserve.gov/supervisionreg/large-bank-cap...
I bought Pixelmator Pro for that reason. It's smaller than PS, it has great usability, no cloud-based subscription model and it's not Adobe but a small indie company.
> This can be avoided by having the process listen on localhost, and then have the login flow redirect to localhost (including the token) on successful completion.

I'm confused, isn't having the device listen on localhost necessary for the device authorization grant flow? What's the alternative (that, apparently, people are doing but shouldn't be)?
Seems accurate for my area in West Denver
> an overwhelming majority of people do not want to fight with or customize their tech

> while also having a locked down iPhone for the less tech literate?

Your post comes across as snobby. Not to mention demonstrably inaccurate. Someone who doesn't want their phone to be a tinkering device may be the most tech literate person on Hacker News. Not everyone wants every piece of tech they own to require tinkering, they just want it to work and get out of their way, so they can focus their tinkering on something else.
One of the best ways to test drive a new language. Love aoc for this.

In the 350 (for now) stars club.
Some journalists could be betting on crypto as their main (early?) retirement plan and don't want to see it go down in flames.
At the risk of moving the goalposts: so what? The vast majority of applications running out there would not be impacted meaningfully in the least by taking that performance hit.

Bounds checking should be the default, and then only when someone has proved through benchmarking and profiling that it's actually a problem for their application, should they even consider turning it off.
Honestly between pouring money into competing with TikTok in an AI arms race to suck everyone’s attention into oblivion and the meta verse, I’d prefer them to explore VR and AR. There’s definitely something in the AR metaverse if the technology can get there, and I think that’s where they seem to be headed.
I believe you, but do you have a source so I can read more?
Can you teach cats to recognize pointing (like dogs)
Is it possible to teach cats to look and investigate cues provided by pointing in a direction like is possible with dogs?
Facebook already abused the limited side loading available on iPhones to trick teenagers into installing spyware. The media did have a field day, and Apple pulled their enterprise certificate.

https://www.theverge.com/2019/1/30/18203551/apple-facebook-b...

This isn’t even a hypothetical, it really happened. And yet people still have a hard time believing Facebook (and other companies) would abuse iPhone side loading if given a chance. Of course they would!
I saw this earlier and thoroughly didn't understand what is going on with that. I can't make any sense of why that would be so high.

Feels like a better test would be for the healthcheck to time the query RTT and report that back. Completely remove the web request from the equation.
Anyone remember Cyber Privateering being brought up on another forum, someone trying to call it the Morgan Doctrine?

Found it: https://www.themorgandoctrine.com/?m=1

I'm not pushing this, just thought it was interesting when I read about it in ~2009, and here we are 2022, and no magic beans have appeared...

I'd also like to add that during the Obama presidency, a law was written and passed to the effect of authorizing kinetic effects in response to cyber attacks. Bombs for bits basically.
They couldn't have given them even a week before disclosing? Seems more black hat than white hat to do the disclosure this way (resulted in the app getting taken down).
No. Because if they’re offering it to me they’ve been turned down by millions of more qualified investors for some reason.
I've never used password managers, partly because I don't trust them and partly because I've found an alternative that I feel is secure enough and more convenient. I split my passwords into two parts, one secure part that is memorized but reused and one weak part that is written down but not reused.

The main ways people are hacked are re-use of passwords and writing passwords down. If someone gets access to one of my passwords, trying it in other sites won't work. If someone finds the written parts of my passwords, that won't work either as they would need to know the secure part of the password that I memorize. I can even easily take the written part of my password with me if I want to use a password on a different computer.

The only issue with this technique would be if someone finds multiple passwords of mine, they might be able to figure out the scheme and brute force other passwords, but if someone already has multiple passwords of mine and is taking the time and effort to go after me individually then I figure I am probably screwed any which way.
If you don't mind, what where the things that were hard to deal with? You mention "function calls", but I'd like to understand what that actually means in practice. This kind of negative feedback is useful to improve Rust for any other newcomers, even if we have already soured you for good.
Seems to me the main constraint in the decentralized world is that the bank will have to pay higher interest to other banks, if their own loans start to default at a greater rate than the money being deposited with them. If people stop depositing with that bank, or withdraw their money, or their loans start to default, then the bank's balance sheet will become lopsided and they'll have to pay higher interest to other banks.

Is this what LIBOR is basically?
And that's the thing, really. Sure, they're not free, but they're pretty cheap. In a project like OpenSSL, if C had bounds checking, it should be enabled, all the time. Sure, disable it for some random bit of custom high-perf software where you really need to eke out the last few percent of performance. But for 99% of everything else, leave the bounds checking turned on.
in my judgement, the quality of this information (methodology, population size, etc.) is not even close to good enough to rely on when making decisions about the well-being of my children. 250 kids, 5 years, study ends when they were 11-15 ... nope, nope, nope.

reminds me of the scene in the most recent yellowstone episode, the scientist stridently insisting destroying 7000 acres of sage brush couldn't possibly hurt sage grouse.
Indeed it sounds hypocritical to state "Google and TAG will continue to take action against, and publish research about, the commercial spyware industry.", while not including Google itself in the said industry.
I’d like our local utility to support community net metering.

Some neighbors live under trees, and spent 2x more on solar than us for less production than we get. Half our roof is panel free. There’s clearly some efficiency being left on the floor in the current billing set up.

(Also, people in apartments don’t have roofs.)
Make them write, and find someone to be an editor.
They just got way better at that: https://news.ycombinator.com/item?id=33808553
Seen these at Ross and/or other discount stores. It boggled my mind. How could these possibly be cheaper than the staff swapping bits of paper. 10 year battery but I assume they break (and you have to walk around to find the broken ones) in 1-2 years, or get retail abuse, or other calamities.

The 4" ones (close to paper tag size) are $20.
I'm not sure why you're being downvoted here, this is all good sense - if "Layer 2" casino chips are actually more useful to me, and interoperate seemlessly with "layer 1", there seems no particular reason to care about the power struggle the author frames, or even paint it in terms of a struggle.

AFAICT there is no war between the Bank of England and the banks in the UK over who gets to issue the money, no conflict, just the system running as it is designed with various participants in their niche.

The author likes to paint proponents of cashless societies as naive, but to me it looks like they have decided there's a moral component and a battle where it seems really there is none, or at least it is a political/idealogical viewpoint they are superimposing on the situation.
Last year I went through 8 of them. I wonder what's the theme of this year. Hopefully it's somewhat closer to CPU design (because reading Soul of the new machine)
> if they aren't on their platform they might as well not exist.

That's a roundabout way of saying that customers have clearly expressed a preference. Especially ones that spend money.
Well, can I also remotely use the energy? I would like to buy 1KW with battery storage along with 999 other people to remotely operate 1MW machines 1/1000 of the time. Like remote 1MW robotic steel forging presses. Or to remotely drive around a 1MW bulldozer. I would like to light up 1MW of GPUs from time to time. It would be lovely to do some 1MW resistive heating Photonicinduction style: https://www.youtube.com/@Photonvids It be really cool to fire up a 1MW ECM machine from time to time. A little rock crushing would be fun and of course such a fractional ownership should include access to a 1MW arc furnace. So yes! you have my vote for fractional ownership of a solar farm, but only if it includes access to an industrial fantasyland folly-plex.
Yeah but we want more. There's no morally correct answer to how much I should try to squeeze out of my employer, just what I can get away with.
Depending on what you mean, I'd say datalog is partially characterized as compared to prolog by it's lack of unification (also it's typically executed bottom up and sometimes considered to not have compound terms). Unification is roughly bidirectional pattern matching whereas datalog rules are in essence performing unidirectional pattern matching / query on a database.
I dunno ...for me they were the cost of a copy of GTA III
It may be. I don’t know their policies.

But whatever you thought of the old Twitter policy, that obviously changed. And they could’ve made that change without a new owner if they had chosen to.

He who owns the server sets the rules.
Interesting - I had to have mine replaced twice. Third time is a charm, but it's still not great to type on.

> 4 years after the first retail sale of the unit

Oh well... ;-(

Now, about that trackpad and the broken palm rejection...
> This is nonsense: that the oil industry knew about climate change but that the academic world and government scientists didn't.

That is nonsense, but I don't see it in the article.
The extent really matters. I don't care if Apple tracks App Store clicks or what I (don't) read on Apple News. I would care, a lot, if they tracked my browser history, chats, and email.

Could Apple conceivably be spying on my every move? Well... they really don't need to to make App Store recommendations so I doubt it.

When, and if, ever launches its own web advertising client which they bill as "privacy focused" I'll start being skeptical but until then there's way better things to throw tin foil at.
That would probably require redefining antitrust, yes? Neither Apple nor Google hold a monopoly in the phone space. Are they colluding, or just making similar business decisions. Is there a requirement that we subsidize a market entrant that is all about open fields instead of walled gardens?
A lot, actually. Script-fu is very powerful - see

https://docs.gimp.org/en/gimp-scripting.html
> But their grandmothers probably baulked at that too?

I don’t think it’s a very big leap from mortadella (circa 14th century) or bologna sausage (some centuries later) to vienna sausages. Abundant fresh meat and vegetables are a very recent development thanks to refrigerated transportation. The poor and middle class only ate fresh food during harvest time, most of the rest was either dry or processed.
That is a great comment. Not because it raises a valid point but because it is a great example of stringing irrelevant pieces together and pretending there is a valid point.

Starts off by digging back 90 years to pick an example that just barely applies and treating it as if it were a normal thing. Then disparages a fairly rare option while condescending about the recongizeability of foods available now.

All of this while deftly ignoring the original point of the comment it's responding to to dispute its validity without addressing it.

The variability of food over the last century has no bearing on whether you should eat foods you recognize or the adviseability of eating the type of 'food' described in the article.
and yet I've worked without them just fine for 15 years or more
> I get its criminal what SBF did and this is as bad as negligence gets in business but everyone is treating this like some overt Madoff like scam that was obvious to everyone in-the-know.

It's cryptocurrency. Of course it was obviously a scam to anyone who's bothering to pay attention.
Yes. It's a good place to look for Chinese government policy - it's not all propaganda in the "pack of lies" sense - but it's a very very bad place to look for science.
This assumes the reader knows what is and isn't illegal in every industry
So...status quo. This is what Twitter was essentially doing before, no?
I know my son has bullying tendencies, and he actually struggles to maintain close friendships because of it. Like you say though, it isn’t intentional at all. He would much rather keep his friends and have an easier time socializing.

The trouble is that he, for some reason, sees elevating himself and pushing others down as an appropriate thing to do at times. He is fairly insecure and reflexively does this. His mom is quite similar, and like him, also unaware of how it affects people.

When either of them do this, they are entirely oblivious to how uncomfortable or upset they’ve made someone feel. His mom is much better at apologizing even if incredulously, but he still lacks the social tact to recognize the importance of acknowledging and apologizing if it was insensitive. If anything, over time he may actually be less receptive to the idea that he’s doing anything at all.

I have no doubt that many kids will think he was a bit of a jock and a bully later in life. He will remember school as a somewhat lonely and confusing point in time.

Even discussing this with him openly has yielded no results. It makes no sense to him. Likewise, his mom is also still positive that anyone she offends simply misunderstood her, or that people are too sensitive or lack a sense of humour.

I wish I understood it better. At any rate, I’m fairly certain that a lot of bullies are very misunderstood and often potentially quite miserable and lonely. The more they push people away, the fewer opportunities they get to grow and improve themselves with deeper relationships. It’s not a good situation for anyone.
Not CPU design, but does involve a simple VM, have you checked out 2019? About half (1/3rd?) of the challenges involve a VM for "intcode". First few challenges get it up and running, then concurrency is added, and then challenges are presented inside it.
>And yet many don’t - certainly wasn’t the case in my travels in Germany that everyone could speak English and that was coming into it as a tourist.

I've been a tourist in Germany too. Basically, if the German person you're talking to is university-educated, they speak English, and probably extremely well. If they aren't (like the cashier at the supermarket), they probably don't speak English much at all.
It's not sucking all the oxygen from Krita. Those who want to hack on gimp and those who want to hack on Krita will either hack on both, or largely don't exist.

If you are infuriated by a project that has been around longer than Krita, then I think you need to seriously reconsider what makes you mad.
If you own a Mac there's Pixelmator Pro, that is around 25 dollars. On Windows there is Paint.net.
CL: in a primitive way this can be done with generic functions. Use a generic function object. Redefined methods will be picked up without needing a new function object.

When using symbols, often it is not needed to look up symbol functions. Symbols can be called as functions. In code Lisp often assumes that functions are late bound (unless inlined), so a function call to a global function looks up the function from the symbol at runtime.
I did this for the first time last year. It was fun! Really excited to do in again.
There was one about piecing together data from multiple under-water sensors regarding the locations of mines or something. With the data being rotated in various orientations (in right angle increments) thus having to correlate the overlapping data items. I think it was 19. I wrote quite a log of code to brute force this:

https://www.kylheku.com/cgit/advent/tree/2021/19

Some people's solutions used some linear algebra libraries in ways I don't understand; one day I will revisit that.
Before doing that, make sure you’re taking care of other aspects of your health.

A colleague was struggling with what he self diagnosed as ADHD, but after being dragged to the doctor by his wife, he was actually having blood sugar problems.
Once more unto the breach, dear friends, once more
The UV blasting is an actual medical treatment that has been worked on for a while before that tweet…

https://www.wsj.com/articles/an-experimental-ultraviolet-lig...
'Vegan Bacon' a moronic oxymoron.
Ultimately everything will be destroyed anyway... "legacy" is an egotistical concept, if you think you're building anything but sandcastles you're deluding yourself.

Enjoy the process, admire your castle, but never forget the tide will have its day.
No. It would be a financial investment.
As much as you can say it's falling out of fashion, just as many others are "doubling down".
Elixir ended up being a great choice last year. I contemplated using ocaml, sbcl, or guile this go round but ultimately decided to see how far I can get with awk. I'm feeling confident I can get by with awk using getline as needed, we'll see how long I endure...

Best of luck to everyone!
If you could store that power in a capacitor it might be fine.

Basically, only one change every ten seconds is probably workable, as long as you don't have a ten second latency when asking for a change.
I would say 3. Libertarian and 5. pro-oligarchy
I recommend Zerowater which have a 5 stage filter that includes ion exchange.
>Unless you are ideologically inclined, it would be a better use of your resources to just pay for photoshop.

Naw, there's better answers than that:

FOSS: Gimp, Krita; non foss: Affinity photo is a one-time purchase, at least for me. I haven't checked recently to see if that's changed.

>anyone using it professionally

Use what your boss tells you too/pays for -then it's not your problem.
That's entirely my point. People don't use Chrome on desktop because it uses Blink and V8 - they use it because of the UX and UI decisions, and the same goes for Chrome on iOS.
Competition in mature industries is all about processes costs becoming 110% or 90% of revenue, usually through a series of marginal changes.

That's not how unicorns are made, but it's how most of the economy operates.
How many of those newsrooms rioted during the decision to invade Iraq? One doesn’t need to be “directed to represent an agenda” in a competitive news environment, you don’t make it through the door without being a certain type of journalist to begin with.

One of the most frustrating obstacles in this conversation is people believing that being in the middle of the Overton Window makes you non-ideological. The idea of being ideological is offensive to people who believe that their view isn’t, which ironically is the hallmark of successful ideology. I’d point to Capitalist Realism by Mark Fisher for further elaboration.

This reminds me of the David Foster Wallace joke of the fish who reply to “How’s the water?” with “What the hell is water?”
Android and iOS work with Bluetooth keyboards.
Is it? Or is it for the guy who gets paid 2.85 million/year to run it?
Hypothetically and probably but doesn't necessarily mean its a bad investment or bad exposure to solar farms.
Time for my yearly tradition of making it to day 4 in Haskell and feeling very smart before completely giving up on the first hard problem that needs regular arrays :)
Yes? Easier to point with the eyes like they do, and getting cats to perform on demand like slaves tends to be difficult, but they are highly social and intelligent animals.
If they’re desperate enough they should promote bosses that can manage remote teams without feeling desperate and fire the ones that are so narcissistic they need an in person audience even if it makes their employees less productive.
> violent crime tend to increase every time the economy weakens

I expect that the ongoing pandemic, social upheaval, political polarization, war, etc. don't lead to a great social/economic/health/mental health environment.

Most people probably hadn't previously lived through a situation where millions of people die from contagious disease, the government shuts down businesses and schools, etc..

Besides the pandemic-related social isolation and political and economic fallout, covid itself can have short and long-term affects on your brain.