skysight-inc/HackerNews huggingface dataset:
I've watched many Californians move here over the past few years, and I've noticed a few things:

There's the obvious, stereotypival Californians. Whiny, entitled, generally bothersome people. Not a lot of them move here.

I know a couple families from conservative/rural Cali, and they're not too bad, although they just have a weird attitude. It's like their priorities are out of order compared to their surroundings. The air is different on the west coast, might be a part of it.

The biggest problem is the imports who move here because it's so beautiful and cheap (true), but they just want to change a few things. We don't want your progressive policies, gun regulation, or any of the other hundred nitpicks you have. Some of them may be fair ideas, but the reason we don't have them is partly to keep people like them out, and partly because they stem from the way of thinking that goes with living here; We take care of our own business, we take care of our families and churches, we don't idealize ambition, and we don't like changing things. If you're willing to actively adopt that mindset, please come here. If you aren't, stay the hell out.
It doesn’t matter that other things also use electricity. That’s what seven year olds use to excuse their behavior, when they go “but mom, my friend may do X so why can’t I?????”.
It's asynchronous, which is pretty neat
Check out https://acreom.com, you literally own the software, it's local-first, E2EE, integrated, runs on markdown files, and once you download the app you can keep it forever.
> not the rotes ones

It helps to hear the validation, although I think almost every decision has a dissenting voice in the HN comments.
With the caveat that I have not looked at this in over a decade, readahead via madvise() is imprecise to the point of near uselessness for high-throughput database workloads. The biggest issue is that, as the name implies, Linux is free to ignore madvise() or do something that is not quite what you requested, and often does. Many types of finely choreographed locality optimizations require more determinism than it offers.
I guess you mean "room-temperature superconductors"; if you don't, I submit you and your laptop can come out of the walk-in freezer now. It'll still work. ;)
yea same here. I wrote nodejs programs for years. the focus on the eventloop and everything being asynchronous is great for servers and network IO but does NOT make it the perfect choice for scripts. Its a different use case entirely.

scripts are supposed to be small simple programs that run in sequence and terminate. I shouldn't need to deal with concurrency primitives at all in that particular situation.
We switched to JIRA around 2005 away from IBM enterprise web software, because it was a breath of fresh air.

So on the standard tech hype cycle, that sounds about right.
WTH is this, some training program how to write await for no reason? :)
Wow, where is it 4x the price? Even in places like Norway, it's only double https://www.globalpetrolprices.com/gasoline_prices/
Yes, Python is the Swiss army knife of programming now. It's in many ways unfortunate but you can't beat the fact that just about any algorithm you can think of is probably available in an optimized form if you need it, with HW acceleration to boot.

I use Anaconda to keep the gremlins at bay, without that everything turns messy very quickly but somehow they've managed to keep it all organized and functional. Especially notebooks are a very powerful exploratory programming tool.
Prefix compression adds a lot of complexity. If you insert a new record that makes an existing prefix non-unique, you then have to expand and rewrite every key in the page, and that will ripple up to every parent page as well. And the expansion can then cause the records to no longer fit in their current page, so then you need to do a bunch of page splits. It's gross and ugly and easy to get wrong. (The btree.c that LMDB was based on has prefix compression. We ripped it out after finding bugs in it.) If your data values are small enough, you can use DUPSORT records instead, and manage your prefixes manually.

There is a linear search involved to open a DBI handle, yes. But you only do that once, and keep it open for the life of the program. Not a big deal.
Tell us about it. I'm not here to do homework.
> memcpy() (ie "read()" in this case) is _always_ going to be faster in many
> cases, just because it avoids all the extra complexity. While mmap() is
> going to be faster in other cases.
> - Linus Torvalds [0]

At least a long-running db process can amortize the page table costs across many operations, unlike something ephemeral like journalctl/systemctl where it really hurts.

[0] https://yarchive.net/comp/mmap.html
SB 1047 – California's Effort to Strangle AI
Show HN: I made an AI powered job description generator
Are these reversible, as air conditioners? I'd expect so, but the article doesn't say.
Is Iceland entering a new volcanic era?
That was fun. I like birds but I'm no twitcher, spent a good 10min going through getting better at recognising the sounds.

It would be fun if you could pick a country the birds are from. Australian birds sound silly.
Most hydrogen is already produced using natural gas as a stop-gap. So making a hydrogen truck operate on gas is just cutting out the middle man.
Two different measurements (time and Atlassian development processes) that are orthogonal.

Anything Atlassian does is mostly quite late and its integration story is so pathetic that it's unsurprising.

Try to have a bitbucket pipeline that pushes to confluence. Seems like a basic integration to have, after all, Confluence has an API (well, actually it has 3 different ones) so surely Atlassian would make a basic thing like "publish a wiki page" a thing you get out of the box.

Nope.
Mixed Reality gone in Windows 11 Insider Preview Build 26052
A large part of my life has been dedicated to distributing the means to self-defense to as many people as possible. The right to armament is inherent to humanity, and encoded in our DNA as a nation. I design, prototype and build guns. Too bad for you, everything I do is legal. There's no moral difference between what I do and installing a giggle switch to magdump into trash faster.

Machine guns aren't evil because they're regulated.
In which case it fell flat.

Irony and obscure humour both play poorly online. You might want to be clearer.
Postgres Rust extensions is a completely different topic than rewriting PG in Rust. The problem is that a crash in any extension will take down the full PG worker. So you can havoc the robustness of your PG database with any extension. But with a memory-safe language like Rust which forces you to handle all error cases this can‘t happen anymore.
I played around with the monocle - it was interesting but very limited.

https://youtu.be/lOoptAtZMjk
Does that mean Notion will get e2e encrypted soon? It's about time.
I think hydrogen has a place as a energy source, but cars are not it.

There are some projects aiming to use it for steel production for example, and in a few areas where batteries aren't feasible, such as long distance flights.

But hydrogen never had a chance at competing with batteries where batteries are an option. In part due to energy inefficiencies in it's production(I'm assuming green hydrogen, since otherwise, What's the point)
As a machine learning platform engineer these sound like technology choices as opposed to infrastructure decisions. I would love to read this post but really with the infrastructure trade-offs that were made. But thanks for the post.

Side node: There is a small typo repeated twice "Kuberentes"
> you have to remember to call the validator on 100% of code paths

But copy-pasting the same lines of code in literally every function is the Golang Way.

It makes code "simpler".
Suspect there is one in any language. Here's python's option:

https://sh.readthedocs.io/en/latest/index.html
Times have changed. If you have C# programmers and they can't do it in Entity Framework/LINQ, then they can't do it.
And by "time", to clarify, a week or two of regular (1x to 2x daily) feedings.
"cope with" is not the same thing as "enhanced productivity"
Destruction of Japanese companies by "management types" sounds like a theme that gets repeated over and over. Sony/Nissan is probably the most egregious one.

I guess this is a universal; most US companies were killed off by similar thought-process.
I run my own cluster too, it is managed by one terraform file which is maintained on GitHub [0]. Along with that I deploy everything on here with 1 shell script and a bunch of yaml manifests for my services. It's perfect for projects that are managed by one person (me). Everything is in git and reproducable. The only thing I am doing unconventional is that I didn't want to use github actions, so I use Kaniko to build my Docker containers inside my cluster.

0 https://github.com/kube-hetzner/terraform-hcloud-kube-hetzne...
Or you could think of it in business terms, dealers want to optimize profit. So they don't conspire together, but they all do the same thing anyway. One of the sources for the article is a national dealers association, which in some sense is certainly a biased source of information.
> months are not okay

I was a big (cheap) fountain pen collector for a while and used them almost exclusively in school, but then I had a few jobs that didn't involve much writing and they kind of fell by the wayside. I'm still discovering pens that I left full of ink and after a few years they can really get messed up. The cheaper ones end up with nibs broken from rust, but the ones that avoid that fate get their feeds and filling systems clogged up with dry ink instead.

Now I try to have only two or three pens inked at a time because I'll forget about any more than that. I had myself a little flush-and-dry party the other night because I discovered several that I had left inked.

I can also definitely second the recommendation for a stub nib. I ground a custom one at one point and it was just perfect, nice line variation and smooth writing.
"Artesian" does not mean "drilled". It means the well emits water without pumping.
You have to be downhill from the watershed for that to work.
Boeing Lost Its Way (Wendover Productions) [video]
>I mean, how come even large consumers of electricity do not buy and own their own infrastructure to generate it?

They sure do? BASF has 3 power plants in Hamburg, Disney operate Reedy Creek Energy with at least 1 power plant and I could list a fair bit more...

>For example, how long does it take to rent another rack that you didnt plan for?

I mean, you can also rent hardware a lot cheaper then on AWS. There certainly are providers where you can rent out a rack for a month within minutes
That's great. Their execution has been excellent. Excited to see what they come up with.
Spotting the em fingerprint I guess. Why would it be hard?
Thats good, but what about the email. I dont see a good custom domain host anywhere
Loved it, finished it. I like how after 18 it started to look like Tetris to me as I know how to move the black boxes yet not sure how I know it.
I just feel relieved that the majority here also seems to think this doesn’t make sense
A good comparison. I couldn’t see that the author has created an issue on the golang GitHub. I assume that this would be considered a bug and that the golang community would be open to a fix.
"It depends"

https://www.agriculture.gov.au/biosecurity-trade/policy/legi...

(Australia)
The trucks can tow, the owner just can't predict if they'll need to charge during the day. It does sound like the battery is too small to match the work day though, which is a design flaw.
A really good discussion about how Boeing seems to have got where it is.

As mentioned in the video a large part of the insight is from Air Current.
Most recent one I could find:

School board member claims on twitter whites are more dangerous than animals and is hailed by some as "an agent of change".

https://www.mlive.com/news/jackson/2023/01/whiteness-remarks...

I've been a part of leftist circles since 2012, I envy that you can go by without seeing this stuff.

Again, on mainstream social media.
BEVs are more like 3DTV moment. It looks good on paper, but is annoying to use.
Where did you go then?
Second paper's lower bound has some strange "log(^U_n)" term. Can anyone explain what does that even mean? Logarithm of combinations, as in "log(U!/n!/(U-n)!)"?
Python is just fastest to write. No semicolons, fewer parens, no braces, no const / var / let. List / dict / set comprehensions. Lambdas are clunkier, but `def` is shorter than `function`. Etc.

Perl and Ruby are comparably compact and expressive, but relatively few people know Ruby, end even fewer people know Perl, especially among those younger than 50.

BTW Haskell is also syntactically compact and expressive; I once solved a toy interview problem using it. But even fewer people know it at a practical level, among interviewees and interviewers alike.
you can certainly encode queue in many ways. mkfifo just work. But integrating the queue in the DB isn't a bad idea if you want to have both the queue and the db in a shared state.

I am happy that my queue inherit ACID properties.

SQLite simply doesn't allow concurrent write so it is a no go for a queue.

I don't know much about SQL Server and MySQL but I wouldn't favor a lockin closed source software or anything remotely connected to Oracle.

At the end, only Postgresql remains I guess. Also, Postgresql is super solid and the closest to SQL standard.
yield based on delimited continuations in TXR Lisp, showing that unwind-protect works:

(defun grandkid ()
(unwind-protect
(yield-from parent 'in-grandkid)
(put-line "returning from grandkid")))

(defun kid ()
(unwind-protect
(progn
(yield-from parent 'in-kid)
(grandkid))
(put-line "returning from kid")))

(defun parent ()
(unwind-protect
(progn
(yield-from parent 'in-parent)
(kid))
(put-line "returning from parent")))

(let ((fn (obtain (parent))))
(prinl 'a)
(prinl (call fn))
(prinl 'b)
(prinl (call fn))
(prinl 'c)
(prinl (call fn))
(prinl 'd)
(prinl (call fn))
(prinl 'e))

Run:

$ txr cont.tl
a
in-parent
b
in-kid
c
in-grandkid
d
returning from grandkid
returning from kid
returning from parent
nil
e

Each yield captures a new delimited continuation up to the parent prompt. Each (call fn) dispatches a new continuation to continue on to the next yield, or termination.

So with all this back-and-forth re-entry, why do the unwind-protects just go off once? Because of a mechanism that I call "absconding": the answer to the dynamic wind problem.

Absconding is a way of performing a non-local dynamic control transfer without triggering unwinding. It's much like the way, say, the C longjmp is unaware of C++ destructors: the longjmp absconds past them.

With absconding we can get out of the scope where we have resumed a continuation without disturbing the scoped resources which that context needs. Then with the continuation we captured, we can go back there. Everything dynamic is intact. Dynamically scoped variables, established exception handlers, you name it.

The regular function returns are not absconding so they trigger the unwind-protect in the normal way.

absconding is an elephant gun, that should only be used in the implementation of primitives like obtain/yield.

15 second tutorial:

Cleanup yes:

1> (block foo (unwind-protect (return-from foo 42) (prinl 'cleanup)))
cleanup
42

Cleanup no:

2> (block foo (unwind-protect (sys:abscond-from foo 42) (prinl 'cleanup)))
42

That's all there is to absconding. yield-from uses it. It captures a new continuation, packages it up and absconds to the prompt, where that is unpacked, the new continuation updated in place of the old so that fn will next dispatch that new one.
Nothing is stopping you from demonstrating any basic circuit with an Ardiuno.

It is a way of being able to learn and use basic electronics and also do something functional with them as well as learn how to code.
My big use case for this is that it's quite good for glue scripting when you're already in the context of a JS shop. My common use cases are tooling setup, CI scripts, and API response sanity checking.
Is the Pilot MR3 the same, a European branding or so? When I‘m searching Metropolitan on Amazon I only get MR3 results.
Yes? When I said "they'd need a fab and call it a billion dollars" I meant they'd need the use of a fab, not that they'd have to own the factory themselves. I don't see how it matters anyways
I'm not an oceanographer but I suspect not. It's a fine question. The Dutch might get both more skating days on the canals (colder winters) and more sunburn (hotter summers) to compensate for the changes.
Honestly it sounds like it wasn't a tool that is needed often, if it was you or someone else would have already written it. Or you don't regularly day-to-day program enough in javascript / python to do this quickly. There isn't anything wrong with that, as you mentioned, you have entry level security engineers that typically handle those tasks. Creating a tool goes fast when you know exactly what you want it to do and don't have to explain to another person all the requirements and pitfalls to avoid based on experience you might have in writing quick scripts. I don't know if this really changes anything.
The chip should not be leaking this much information but the scaffolding around the attack is such that I doubt whether this could be pulled off so easily on a random ESP32 with its flash encryption enabled.
Exploring Methods for AI-Driven Consistent Frame-by-Frame Animation
>that context is available to tie the lifetimes of the main program (goroutine) to child goroutines without coloring functions (like with async-await)

Isn't it also a kind of function coloring: a function with a context argument vs. without?
I'm curious - do you put new entries at the top of the bottom of the Google Doc? Do you include copies of receipts as well?
As a former JavaScript developer the problem is poor training and poor candidate selection. Many people, perhaps most, writing JavaScript professionally cannot do their jobs without advanced considerable assistance, fear (as in phobia) writing original software, and cannot communicate at a professional level.

What would happen if things like Angular or React suddenly went away. Would these developers be able to write new applications. Likely not. What if a developer could no longer use jQuery or equivalent helper libraries? Could they continue to deliver work? Almost certainly not.

When most of the work force is only interested in their own narcissism the industry has failed on multiple levels. This is experienced when the first, second, and third priorities are only in the developer’s own self interest such as needing things to be easy. That is why software is bloated, because when the self-interest of the developer is all that matters performance and efficiency become absurdly irrelevant.

The solution to this problem is to set high standards. Not high compared to other professions but astonishingly high compared to software today. If current developers cannot achieve such lofty professional standards do not hire them as senior developers. It may mean it’s in the best interest for employers to train people off the street who are not yet corrupted by poor habits. Eventually the solution will become economic: what is cheaper for the employer. Will it be cheaper to employ large staffs that deliver bad products slowly in their own self-interest or start anew with well trained teams that deliver excellence rapidly at great training or certification expense.

Until the industry figures this out I will never write JavaScript professionally again. Currently, children run the daycare.
Timing may be the difference.
Apple may have trademarked "app" before popularizing it.
OpenAI may be trying to trademark GPT after it is already being generally used by non-OpenAI people.
I haven't seen the moon man but the vanishing point has a little door that closes over the nib when it's retracted.
Or not, because it simplifies code, no differences between platforms. And if syscall overhead once per each GB is really a problem you should probably try mmap or some other IO style.
Yes, we released it recently last year. We fully support SMTP/IMAP/POP3, and are testing and improving our CalDAV implementation (calendar).
IaaC is one of the worst acronyms ever.

Infrastructure should be declared, not coded.

Say what you want. The tool then builds that, or changes whats there to match.

I've tried Pulumi and understanding the bit that runs before it tries to do stuff and the bit that runs after it tries to do stuff and working out where the bugs are is a PITA. It lulls you into a false sense of security that you can refer to your own variables in code, but that doesn't get carried over to when it is actually running the plan on the cloud service (ie actually creating the infrastructure) because you can only refer to the outputs of other infrastructure.

CFN is too far in the other direction, primarily because it's completely invisible and hard to debug.

Terraform has enough programmability (eg for_each, for-expressions etc) that you can write "here is what I want and how the things link together" and terraform will work out how to do it.

The language is... sometimes painful, but it works.

The provider support is unmatched and the modules are of reasonable quality.
> it’s already priced into your profits

Assuming you have any. You might not, because of AWS.
King Arthur has a recipe for those interested:

<https://www.kingarthurbaking.com/blog/2012/04/05/make-your-o...>

There's now quite a sourdough ... culture ... substantially invigorated after the Covid-19 pandemic (xkcd:2296), with books, podcasts, websites, vloggers, etc. I picked up much of my own baking knowledge through these (starting with a few YT videos, and progressing through my own experimentation and further research). I'm still going and just had a couple of slices of my latest batch with eggs.

Starters are startlingly resilient, though you can kill them off or spoil them, largely through heat or prolonged regret.

As any good sysadmin knows, good backups are essential. I'd restarted my batch from a pinch of dough that was proofing in the fridge after one inglorious encounter with a microwave and housemate. After that I dried and froze a batch (King Arthur covers this as well: <>), and a tablespoon of the frozen starter plus about a half-dozen feedings has it going strong again. (This differs from KA's recovery method, but worked.)

Drying another batch to freeze as we speak, can never be too sure ;-)

Using someone else's starter can help bootstrap the process, but your own environment's selective pressures and new sources of yeast, most of whice come from whole-meal flour, which is what you should use to start your own batch. Note that bleached white flour, whilst it can be used to bake or feed however much I'd advise against it, typically lacks any active yeast. I did do some baking with unbleached flour when that was all that could be obtained, and the results while poorer than with unbleached / whole-meal were still quite acceptable, just not my preference.
> Quite odd to label people trying to end horrific violence as "militants"...

You are literally discussing militant groups engaged in pushing their political agenda through propaganda. There are no two ways about it.
It's banning the installation of NEW LNG appliances in homes in Victoria.

It doesn't impact commercial use of LNG, or the extraction or export of LNG.
+1 graphile worker. we use it to coordinate all of our background tasks and events (use slayQ https://slayq-docs.vercel.app which is kind of a wrapper around it)