skysight-inc/HackerNews huggingface dataset:
I think this is probably the right positioning for anyone's decision on managed database vs. running it yourself, or any cloud managed product for that matter.

If you feel you either don't need the managed offerings and/or can manage it to a point where you're spending less of you or your company's time resources on it, then by all means manage it yourself.

If the managed-ness of the cloud offerings are a high enough value for you, then you will pay for it.

Creating, maintaining, constantly upgrading and improving a managed database product takes a hell of a lot of expensive engineer hours. It's probably a better bet for cloud providers to have relatively fewer high-margin customers on that product than they would if they tried to squeeze margins to compete with "I can provision a VM and install Postgres myself" which is also a product they already offer - just buy the VM.
> Is "for i in 1:length(A)" ever correct?

Yes, actually. While I have approximately zero knownledge of Julia specifically, a language-independent example might be:

B = OneBasedArray(length(A))
A_ = iter(A)
for i in 1:length(A) { B[i] = pop(A_) }
assert(iter_isdone(A_))

And if that looks contrived... yes; it is contrived.

> that pattern followed by usage of i to index into A inside the loop?

I can't think of any legitimate uses for that, but there probably are some; make sure to allow:

len = length(A)
for i in 1:len ...

as a `if( (x = foo()) )`-style workaround.
We don’t have a Java library, yet, to be honest I haven’t worked with Java in 10 years. But we’ll build one soon, watch this space!
But they also offer Linux. In fact they already ship you Linux when you order the FreeDOS option. Why the extra effort?
Which would you use if you could run WinMerge seamlessly in Linux or Meld seamlessly in Windows?
> My conservative parents think it's woke social justice warriors

I know you aren't claiming that's true, but for anyone who thinks it is true, and since you asked for evidence, here are some bits of it.

Demographic change in California isn't really different than other similar states. California's racial and ethnic demographics are [1] pretty similar to Texas [2]. Most of the west and southwest is getting less white, with few exceptions.

Both states' populations (and population growth) are primarily concentrated in their cities, with rural areas continually emptying.

The only difference is overall population growth rate, which has declined in CA, due mostly to economics, and specifically the very high housing costs, which tend to inhibit immigration by lower and middle income workers more than higher income workers.

1. https://www.ppic.org/publication/californias-population/

2. https://demographics.texas.gov/Infographics/2021/Redistricti...
Sure, I've been accused of being overly concerned with correctness. :-)

> because imagine doing full snapshot of 1 Terabyte drive it takes I suppose at least an hour anyway.

On copy-on-write filesystems, snapshots are nearly instantaneous.

> time than setting up and keeping file system snapshots running

As shown in the code snippet, pretty much all it takes is a few snapshot commands around the backup command and changing the source directory to the snapshot mount point.
And PDO isn't even a proper database abstraction layer, it's just a way to connect to various databases and issue prepared statements. You still have to write your own SQL queries and create table statements, which will most certainly not be portable.
WhatsApp should fix these issues
But we were talking about bots. You and Parag are shifting the dialogue to spam

> The hard challenge is that many accounts which look fake superficially – are actually real people. And some of the spam accounts which are actually the most dangerous – and cause the most harm to our users – can look totally legitimate on the surface.

He's not talking about detecting bots. I.e. fake and automated accounts. He's talking about twitter users/bots that cause what they perceive to be harmful content. Which is a very different thing, and was the whole point of Musk's intended involvement in the first place.
Point three is great! To add my own experience; I often got distracted when a task seemed “too hard”. Out of a fear of failure I didn’t start the task but due to ADD or whatever I never realised it was anxiety that was causing it.

Knowing certain ‘triggers’ can help you prevent distractions. For me simply the realisation was enough to improve it.
Captcha breaking is SO easy these days; even the modern captchas are easy to defeat.
Prove Productivity scientifically.
Beyond Compare is a pretty good diff/merge tool that runs natively on macOS. Sure it's UI is slightly non-native too.

https://www.scootersoftware.com/
> If I want to search for something topical and relevant, I go to Facebook, Twitter, Reddit, HackerNews, Instagram, Google Maps, Discord etc.

High chances you will find a link to an external site over content actually on those big named sites though, right? That tells us the organic web isn't dead, it's just hard to discover/navigate - because of SEO wars, most probably...
The problem isn't the lack of content, it's the number of shitty spammy sites standing in your way of the sites you actually want to see. Like a sleazy salesman trying to direct you to the crap laden three wheeled rust bucket when you were heading toward the family sedans.
To Turkey, there is no distinction between PKK & YPG, and Sweden is host to a number of YPG politicians.
Waiting for this to become the next TV trope.
Ask HN: If you have a personal blog, what's the most popular post there?
I've always been puzzled by 4-way merge not being more common. Support is quite rare.

KDiff3 is another tool that supports it.
The problem in this case (as with most issues regarding `@inbounds`) is that this text was written before arrays with non-standard indices existed in Julia. So the example was correct at the time it was written, just like the StatsBase code was correct. Old code needs careful checking to fix all these occurrences.
> I love Python, but still hate it

Well. This makes a whole lot of sense.
Shoudn't a `terraform plan` tell you that? If not then the state of the infra vs what's in the terraform state is different. I've had issues with version changes in the past and needing to update state files and all that malarky.
Interesting, I also have a big scraping project and the breakdown is probably like 70% HTML parsing, 25% JSON APIs, 5% weird APIs. I can of course imagine that this pie chart simply depends on the sites/genre/industry you're scraping.

DDoS protection does throw a wrench into the mix, though I don't blame anyone for using it. DDoS protection might seem antithetical to the web, but... so is DDoS and abuse.

Kind of like how being an asshole is antithetical to getting along as a society but you still have to address the reality that there will always be abusers and bad actors. I also think being able to do what you want with your service is a fundamental part of the web incl putting it behind a captcha. It's just part of the beautiful chaos.
If a majority of the miner pool decides to make a change the change is made. That's how decentralized concensus works right?
I think a company charging their employees $1 a day for a perk speaks more volumes about the character of the company than it's employees.
Sure, but defer still fairs worse than RAII does even in this example. In this particular example, yes, you'll need to call flush yourself and handle the error yourself: which you'd still need in a GC'd lang/lang w/ "defer", in addition to remembering to close the file (which the RAII example will have your back on).
> Why _doesn't_ an ultra-strict lockdown for this long prevent spread (and allow existing cases to resolve)?

It works, but 3 weeks is too optimistic. You need to deal with noncompliance, spread within apartments, and essential employment which adds additional time to achieve to 0-COVID.

I live on the Isle of Man, which successfully introduced a 0-COVID policy in 2020 (imprisonment for breaching restrictions) and subsequently removed all COVID restrictions once 0-COVID was achieved.

> Throughout 2021, I had sort of told myself that most of the harms of the pandemic were optional ... evidently that's not true. Why not?

Since it's infeasible to enforce a 0-COVID policy globally, strong border restrictions are required. With strong border restrictions, 0-COVID isn't economically viable long-term as it permanently affects any industry relying on tourism or travel which causes structural unemployment if left unchecked; very few visitors are going to accept a 2/3 week quarantine on arrival unless there's a large incentive.
> I never understood the argument why crypto was a good store of value.

Its digital gold thats it, its no more a store of value than antique's, rare cars, fine arts etc etc and unsurprisingly those markets can also see the bottom drop out of them for decades. Ultimately its people en masse who decide what something is worth, but big players can manipulate those markets with resources, laws, taxation, media sentiment and its easy to spook people when they value something, so dont get attached to anything if you dont want to be manipulated.

The other thing to note is, it only takes a few hundred million £ on the Asian market to get the GBP to drop against the USD in time for European markets. So there are very few entities who can cause the crypto market to fall like this. Think about that.
Netflix has dropped 45% over the last month, Amazon 27%, TSLA 27%, Disney 17%, BTCUSD 26%.

I'm definitely not sold on Bitcoin, but it tracks along with tech stocks for some reason.
"Supercharging" is such an exhausting buzzword these days...
I'm very sympathetic to the YPG, and I don't think they are a subsidiary... but any objective observer can see that YPG and PKK are very closely related. They have posters of Abdullah Ocalan everywhere, they have many PKK fighters in their ranks, etc. etc.
Genuinely don't understand why they ditched LIDAR sensor from their solution. LIDAR + image recognition looks like a win choice for this problem.
has anybody tried this? Does this actually work? Does it depend on what language is being typed?
I love your search engine. Should I stop recommending it to friends to keep it safe?

I jest a little bit, but your comment genuinely makes me wonder if Marginalia++ is search results - Google - Marginalia
Which begs the point why use Ruby at all, plenty of AOT/JIT languages with great IDE tooling to chose from.
I host quite a lot and the size is around 40-80 MB for presentation sites. Shops are around 100-300 MB. So a nice fit for SQLite.
Would be a really nice options, but it should be part of the normal WP distribution.
I worked at walmart for a few years when I sort of lost my way in my mid 20s and I have to say it was an eye opening experience. Everyone knows a lot of the bad stuff about walmart so I wont dwell on that but the good stuff I saw were things I had no idea about and was pretty impressed with.

At the time I was a college dropout with a pretty bad attitude but I needed a job and I wasnt afraid to work long boring hours and so I got a job stocking shelves at a walmart near my parents house. It was a mind numbing job but it actually paid ok at the time (12$ hour, I was in orlando, this was 2008ish).

After simply showing up on time and doing my job properly for just a few months I was told that if I wanted I could take on more responsibilities. I met with our store manager who showed me stats about how walmart really likes to promote from within and that if I stuck with it I could get to be an assistant manager in a store in just a few years. The store manager telling me this had a GED and had worked at walmart for 15 years. He told me his salary was "close to 200k." I couldn't believe it.

In my few years working at that store I saw several people get promoted from shelf stocker to department supervisor to assistant manager. One of those people is a store manager at a store in Georgia now. I left my job at walmart with a pretty evolved opinion of the place. For a long time I told people who were directionless and worried about what their future would look like to seriously consider working at walmart and to make it clear to their bosses they wanted to move up.

There were other benefits back then that were pretty solid. I worked with a couple of women who got a lot of their tuition reimbursed. Both of whom are nurses now. I really did feel like if you could put up with some of the BS you get working at walmart you could actually get something good out of the experience for yourself.

Anyway this was a long rambley way of saying that at least in 2008-2010 when I worked at walmart they really valued promoting from within.

Oh final note: there were lots of programs like the tuition reimbursement one tha I was told about when I was hired but assumed there was some catch or some way that it wouldn't work out. The HR manager at my store told me once that some of these things just required you do sign up and that she was shocked how low the participation rates were.
Sounds like they want to hire more "college grads and outside hires" and THEN fast track them for management. So idk, make them get a feel for what most of the everyday work is before moving them up. I do think it's good that managers have some idea of what their people are having to deal with regularly.
On the other hand, making content difficult to parse is easy to do and a very strong weapon. Make them waste dev time... It is much easier to make variants of HTML than it is to parse it. You can even automate it to some degree.
> Ignoring that this can be addressed through regulation

That's just

> basically inviting corruption

with extra steps ;)
An actual maintainer of an open source project that has users would get my attention, but that's not what I call a "personal project." There's a big difference between someone's work on a useful open-source project and their personal to-do list app or social network for people who own ferrets.

If a candidate had a personal or side project that solved a unique and challenging problem I would look at it. When I have seen personal projects they look like programing class assignments or riffs on a language/framework tutorial.

When interviewing I am always most interested in how the candidate will fit into the team and organization, and if they understand the difference between adding value to the business and playing with technology for its own sake. The last time this came up in an interview the candidate had some Raspberry Pi/Arduino code they were proud of, probably fun but not relevant to the job, and so far removed from the business domain that I couldn't judge how relevant it might be.
> They have completely different semantics, performance characteristics

Many times it is the different semantics that allow for better performance.

If you can add new methods or change their implementation at runtime, performance optimizations get a lot trickier, for example.

The immutability that's foundational to Elixir and Erlang enable the incredible scaling capabilities of the Erlang VM.
I'm willing to wait it out and see what happens. I've been very happy with Linode, and I don't have anything against Akamai which would force me to migrate immediately.

This could accelerate Linode's growth into a larger alternative cloud provider. Right now they are still very much a VPS provider with some recent managed services offerings thrown on top. I'd certainly say having an alternative to the big 3 providers in the market to create some competition is a good thing.
I think it's actually pretty well known that with a stable population there are always a lot more people with fewer kids than their parents have than there are people with more kids. After all, a decent fraction of people never have any kids at all, but everyone's parents had to have at least one.
> Nobody cared.

People cared. We had a recall election. https://en.wikipedia.org/wiki/2021_California_gubernatorial_...

> In California, climate and the environment is a giant non-issue

That's ludicrous. CA has been on the forefront of environmentalism since it was a thing. Yosemite, John Muir, eh?

> There is no viable Green Party in the state. Why?

Because they're weirdos. Most of the state is represented by one of the big two. The cities are "blue" but most of the countryside is "red". Ronald Reagan, eh?

And because environmental concerns are being addressed by Newsom well enough. That's part of why he survived the recall election:

> Newsom has outlined ambitious commitments for the state in his electoral platform, espousing 100% renewable energy within the state, expanding public transit efficiency, and zero diesel pollution by 2030, with overarching goals of equity and accountability.

~ https://bpr.berkeley.edu/2018/03/07/turning-the-golden-state... (2018)
It's been a while, but with e.g. Oracle 10, it was specifically stated in the docs that backing up the data-file(s), followed by the archive-logs, you would end up with a recoverable backup. I'm not sure if other databases are designed that way.
> Does anyone have an ad free search engine

kagi.com
search.marginalia.nu
Off-Grid Cyberdeck with RPI and Pelican Case
The even funnier aspect is that that instead of trying to stabilize the token or just liquidating all UST at 30¢ on the dollar, the creators decided to abscond with all the collateral and leave UST holders with nothing
I’m guessing it doesn’t need to be all that accurate for certain use cases.

Even just knowing the length of the password, estimating which keys in the sequence are capitalized (if Shift behavior is fairly easy to pin down) and being able to pin each key down to 5 possibilities would make a 20 character password trivial to crack. Right?
Ask HN: Is Authorization Development Difficult?
Hey everyone. I’ve been researching for the past few months about authorization. I’ve read articles about how difficult it can be to build your own. I was wondering if that is true? If any of you are facing the same problem, I would love to know your thoughts and experience in building one. Thanks.
I thought CSP mitigate this risk.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...
What sort of accreditation process do you put forth for the guides? My gut is that the vast majority of the experienced guides out there are also terrible and unlikely to dramatically alter the outcomes. Unless we are in a scotsman debate about "true guides would prevent bad outcomes." :(
You could only infringe the GPL copyright if you change the GPL license wording itself. The GPL license is a license that allows software using your copyright code to be used by others under certain conditions but at no point does it violate the law and remove your copyright in your own work, so there is no way someone could sue you (and win) for using your copyrighted work as you see fit, including licensing it under a separate distribution license to some third party.
Fantastic! The author just provided a path for a lot of us to quickly convert our MySQL-driven PHP apps to SQLite.
Yeah, I might not be remembering the story correctly. It might have been collision avoidance rather than the FSD portion of their firmware.

I still don't think that FSD is really for prime-time in any capacity though. Seems to make far _far_ too many mistakes that users need to correct. Does that sound like Full Self Driving to anybody? :P
Burning Luna (which can be created out of thin air) and burning USD/Bitcoin are entirely different things.
Tell HN: It's now possible to stay on legacy G Suite for personal use
Things that do DNS over HTTP are asked to respect the use-application-dns.net canary. If use-application-dns.net queries are blocked by the local resolver, the thing should use the local resolver, unless there is a manual override by the human user.
Why wouldn't it?

IIUC, Tbills have been quite liquid since the mid 1980s...
FDA declines to authorize common antidepressant fluvoxamine as Covid treatment
it's great but isn't that limited to 5k words? not that i know if it reach the limit of the article since i havent tried,
Maybe the king should have said "1 less factorial number than the mother".
This is what, in the UK, is called a "nice little earner".
Tech groups ask Justice Alito to stay Texas social media law
>I expect it to be driving like a drunk 10yr old.

Then it shouldn't be on public roads. Tesla could spend 3 billion dollars and build huge road complexes to test their stuff instead of putting the rest of us at risk.
I agree. I don't have any side/personal projects to show because I don't write code for fun. Because the code I write is almost always owned by an employer or client I have to get their permission to show snippets, and rely on describing the problem and how I contributed to solving it.

Code samples are easy to plagiarize so I always ask candidates who have code samples to explain the code, walk me through it. It's disappointing to see how often candidates can't do that, either because they don't actually understand the code or didn't even write it themselves.
The "Unreasonable Effectiveness of Multiple Dispatch" talk is a good example of how multiple dispatch is special in a good way, in that everything (should) work together as new types and functions are added to the ecosystem. However, this also means the scope of potential integration bugs encompasses the entire ecosystem. The Julia manual has a small section about special composibility pitfalls arising from multiple dispatch: https://docs.julialang.org/en/v1/manual/methods/#man-method-...

As best as I can summarize it: Multiple dispatch is supposed to dispatch a function call to the implementation with the most "specific" call signature. This means that you must design your functions with an eye to what everyone else has implemented or might implement so whatever function gets called does the "right" thing, and also that your implementation doesn't block someone else from writing their own implementation specialized to other types. This requires some coordination across packages, as shown in one of the manual's examples.

The rules defining type specificity (subtyping) are complicated, and I think not in the manual. They have been inferred by observation: http://janvitek.org/pubs/oopsla18a.pdf. To quote from that paper, "In many systems answering the question whether t1 <: t2 is an easy part of the development. It was certainly not our expectation, approaching Julia, that reverse engineering and formalizing the subtype relation would prove to be the challenge on which we would spend our time and energy. As we kept uncovering layers of complexity, the question whether all of this was warranted kept us looking for ways to simplify the subtype relation. We did not find any major feature that could be dropped." Julia's multiple dispatch allows a high degree of composibility, but this does create new complexity and new problems.
Meld does support windows. Meld doesn’t feel “native” in windows, or it didn’t 5+ years ago when I used it. It’s been so long since I’ve used windows daily that I can’t even remember any significant difference between the two to be honest.
And chocolate is just chocolate, right? Yet theobromine is toxic for dogs.
not sure why you wouldn't go with this:

https://firebase.google.com/docs/auth/limits
The author himself didn't claim they're universally bad, nor did anyone else. The only "claim" for that is in your original post, where you misquoted the author on purpose! You can't completely twist someone else's words and then use that as an argument. And I don't see how referring to a post where you're twisting someone's words has anything to do with charitable interpretations.