skysight-inc/HackerNews huggingface dataset:
> Why would

because it shows that they don't understand important design aspects

while it doesn't really show off their technical skills because it could be some plugin or copy pasted code, only someone who looks at the code would know better. But if someone care enough about you to look at your code you don't need to show of that skill on you normal web-site and can have some separate tech demo.

> okay if we let people have fun

yes people having fun is always fine especially if you don't care if anyone ever reads your blog or looks at it for whatever reason (e.g. hiring)

but the moment you want people to look at it for whatever reason then there is tension

i.e. people don't get hired to have fun

and if you want others to read you blog you probably shouldn't assault them with constant distractions
Breaking changes:

PEP 632: Remove the distutils package. See the migration guide for advice replacing the APIs it provided. The third-party Setuptools package continues to provide distutils, if you still require it in Python 3.12 and beyond.

gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.

The asynchat, asyncore, and imp modules have been removed, along with several unittest.TestCase method aliases.
This page claims that Qatar is facing a backlash but never describes any backlash.
Discovery of ‘Jumbos’ may herald new astronomical category
On the other hand, sharing via images isn't good, because the recipient loses accessibility. Probably better to just share the original in most cases.
Google Pixel 2023 – Made by Google Event Thoughts?
I'm excited for the Pixel Watch 2, what about you?
Fair enough, when buying achar at an Indian grocery in the States, it's a crap shoot whether they'll call it e.g. "Mango achar" or "Mango pickle". Oil pickling isn't a part of traditional American food, granted, but pickle is a translation that gets used.
those who self-sooth with {substance} found to have problems

news at 11
Very normal, it's protectionism so that local carriers e.g. quantas/jetstar have those locked down and not have foreign competition. Though Jet star is partially owned/operated by JAL and Quantas.
js can do it

$ node
> `${`${`${1+1}`}`}`
'2'
Really bad customer experience if there is a regression in a new firmware version, though.
A skipped version? Nothing Novell about that.
lots of sugar. A typical large bubble tea contains 11 spoons of sugar. The total recommended daily sugar consumption of foods and drinks is 7 spoons.

And plenty of studies have linked excess sugar with depression [1]

And I'm sure many people have more than 1 cup per day of bubble tea too.

[1]: https://www.webmd.com/diet/what-to-know-about-sugar-and-depr....
This study is from China. The 'milk tea' being described here is the translated term for what we call bubble tea in the west. It's a sweet comfort drink, perhaps closer to a Starbucks order than the steeped tea which immediately comes to mind. It's not really good for you, but I'm quite sure Coke or beer are worse.

I can only speak anecdotally here, but the bubble tea joints near my college were consistently packed, though mostly with solo customers. Lots of heads in phones. If there's anything to be gleaned from this study, my personal take is that pleasure seeking but spiritually lacking behavior (in this case, buying expensive sugary drinks very frequently) can correlate with depressive symptoms at a population level. I have no doubt one could draw similar conclusions from the many habits I've kept over the years.

From Wikipedia -

"In China, young people's growing obsession with bubble tea shaped their way of social interaction. Buying someone a cup of bubble tea has become a new way of informally thanking someone. It is also a favored topic among friends and on social media.[42]"
Is this type of framework the future of email perhaps? For one I loathe long directionless emails and increasingly my mind starts wondering to something more structured to convey intentions and ideas - should add I am on the business side not an engineer.
wonder what the airline feels about skiplagging? seems very similar.
The pairs really does sound strange. If they found one pair, that would be odd. Two pairs? Huh, is there a pattern? But five plus pairs? I can't wait for the theorists to explain how these are so common.
Parse it recursively.
casomorphins
Exactly, and this is one of the main reasons why Apple is unmatched in performance in the smartphone space: they can afford much larger transistor budget than other companies since they're vertically integrated.
I once read that hing (asafoetida) is used instead of garlic for that reason.
It's hard for me to imagine how Unicode normalization could crash your application unless you have very convoluted memory management code.

What on earth are you doing that it's leading to crashes? Are you not validating the result?
This undermines entire public mindset too.

I've seen multiple instance of memes on social media along the lines of "1000s empty flights. Good thing I recycled that empty tomato can!".
This has always worked in a Javascript.

> `${`${`${`${`${1 + 1}`}`}`}`}`
'2'

It was simply a limitation with the Python parser.

Heck, it even works in Vimscript

:echo $'{$'{$'{1 + 1}'}'}'
2
I suppose to distinguish between the state and the people, although you're right they're not consistent about it.
>Vaccination was never about "not getting it".

What do you base this bizarre claim on?

From the package insert for the Pfizer vaccine:

> COMIRNATY is a vaccine indicated for active immunization to prevent
coronavirus disease 2019 (COVID-19) caused by severe acute respiratory
syndrome coronavirus 2 (SARS-CoV-2) in individuals 12 years of age and
older. (1)

A single indication, "not getting it". This is what the clinical trials tested and this is what the FDA approved.
> Much better to recognise this for what it is than attempt to fix, fight, or rationalise it.

This is a morally and emotionally sophisticated position, and though I agree with it, it's a bitter pill.
Arguably, you don’t need any (default) length at all, just different views or iterators. When designing a string type today, I wouldn’t add any single distinguished length method.
>Though metal cage construction had been used to create Chicago’s Home Insurance Building in 1885, Bradford brought the technology to New York, paving the way for the first generation of skyscrapers:

>stated The Sun. “It came as an experiment, gained success in spite of general ridicule, and finally formed a beginning for all high buildings of recent times.”

But then the linked article about the Chicago building says, "this 10-story structure employed innovative engineering techniques and architectural features that laid the foundation for skyscrapers of the future".

So why are these writers trying to give New York City credit for anything other than copying what Chicago already did?
Swift string type has got many different views, like UTF-8, UTF-16, Unicode Scalar, etc… so if you want to count the bytes or cut over a specific byte you still can.
The 80/20 use-it-or-lose-it rule was relaxed in March 2020 in the US. Various countries handled things differently.

Airports and airlines are different industries. The Airports very much want companies to give up slots if they’re not going to fly those routes. As such these regulations are more a compromise between groups than something external.
Tea is addictive though in a weird kind of way and it does make you feel a bit crap if you drink to much of it, but then so does coffee even more so.
I've noticed that a ton of locally-owned restaurants in my area are open on Saturday-Sunday and closed on Mondays. Owners (who often work insane hours, living at the restaurant from open to close) prefer to be open on high-value weekend days and take a less profitable weekday off.
Time to crack down on those poppyseed bagels.

... it's the sugar. It's always the sugar.
> The basic task for Stack Overflow IS to replace the users answering the questions with AI. They don't have a choice.

By going in that direction, I feel like they put the nail in the coffin. Why would I use their website when I can just ask ChatGPT directly?

I think they had one other option, which was to identify the fundamental limitations of LLMs, and find a way to demonstrate value over and above.
If George Costanza made an app, this would be it.
That is why I like the way Raku handles it.

It has distinct .chars .codes and .bytes that you can specify depending on the use case. And if you try to use .length is complains asking you to use one of the other options to clarify your intent.

my \emoji = "\c[FACE PALM]\c[EMOJI MODIFIER FITZPATRICK TYPE-3]\c[ZERO WIDTH JOINER]\c[MALE SIGN]\c[VARIATION SELECTOR-16]";
say emoji; #Will print the character
say emoji.chars; # 1 because on character
say emoji.codes; # 5 because five code points
say emoji.encode('UTF8').bytes; # 17 because encoded utf8
say emoji.encode('UTF16').bytes; # 14 because encoded utf16
I think the idea of Chromebooks are great, unfortunately it is made by the dystopian surveillance company Google and therefore cannot be trusted. I don't really want AI capabilities that sends my data back to the mothership embedded in my operating system either.

Otherwise it would be a great laptop experience but I would never buy one for me or my family and I strongly advice people not to buy one either.

The sad part is that people do not realize what data companies like Google holds on them and many would be freaked out if they knew.
I don't think any behavior will help the willfully ignorant.
First, you pick the training data yourself. Consciously. It does not pick itself.

More importantly, you pick the cost function. It's even harder to pretend it's picking itself.

We consciously design it, whether you want to call it programming or not.
Is it uncommon? Ruby does it in a fairly syntactically similar way:

"Hello, it's #{"#{Time.now}"}"
=> "Hello, it's 2023-10-02 09:41:40 -0400"
You could use whatever is convenient for a DB index, and then encrypt it as the public ID.
I am excited for the typeddict additions, but it looks like there’s still some work around unpacking needed before we can use it to get around using kwargs to forward arguments from one function to another without having to know the other’s signature.
No change then.
I use a screenshot of the payment barcode from the Starbucks app when I’m in the store to pay. I do not want it on my phone. It seems to be constantly bombarding my wife’s phone with trivial prompts and notifications.
oops :) fixed, thanks!
Ruby Gem to Print Tables
> Today's "sysadmins" are kind-of, sort-of expected to know a programming language, at least superficially. This was definitely not the case in 2015.

There was a "weird period" in 2010-2014 where mid level sysadmins didn't know much scripting or automation. I'm not sure how that happened.

Senior sysadmins always scripted, Ruby was the de-facto choice for those folks in 2010-2015; before that it was mostly perl, and after that it seems to be mostly python.

Mid-level sysadmins definitely knew bash and perl in 2000-2010.

I think it was the rise of calling level 3 helpdesk "sysadmin" that sullied the brand. But the same will happen with other disciplines. I'm sure I'll hear in a couple years about SRE's or DevOps who can't code.

Heck, I bet there are already devops who can't code, who only know how to template yaml.
Cython is similar to python and is fairly easy to write for a python user, while C++ or Rust have much larger learning curves.
Optiver Kaggle Competition: Predict US Stocks Closing Movements
IIRC, they could pay a higher fee per system actually sold with Windows, or a lower price for every machine sold, regardless of OS.

Remember Microsoft IP infects everything, from SDCards to EFI/UEFI.
The Commodore 64 was the best-selling single model of computer of all time, so lots and lots of people had them and are now nostalgic for it.

There is still lots of nostalgia for other machines! On the Macintosh end of things, there are people making keyboard/mouse adapters, floppy drive emulators, SCSI hard disk/network card emulators, replacement RAM and re-flashable, customizable ROMs, reproduction cases and even people completely reverse-engineering and remanufacturing the motherboards of old Macs to let people fix their old machines where old capacitors or batteries have leaked and corroded the PCB traces.

https://www.tinkerboy.xyz/product/tinkerboy-adb-to-usb-keybo...

https://www.bigmessowires.com/floppy-emu/

https://github.com/BlueSCSI/BlueSCSI-v2

https://en.infinityproducts.co.jp/product-page/smc-4mb-memor...

https://shop.bigmessowires.com/products/mac-rom-inator-ii-at...

https://maceffects.com/products/maceffects-clear-case-for-ma...

https://github.com/max234252/MacPlus-Reloaded
I didn’t realize that ethylene was a key step. Does this mean that I could make PET by capturing the offgassing of ripening fruit?
This has to be a parody.

I get that you can try to calculate some level of correlation, sure. But to jump straight to "aiding policy makers to restrict advertisement and access to" is making some insanely huge implications that haven't been covered at all in the study. Like the fact that milk tea (bubble tea) consumption might cause some of these symptoms. Let's not confuse causality with correlation here.
I know a family of a nobel prize winner, and everyone in it is just insanely talented -- like, if you were to caricature the experience of a super genius family you'd actually probably get pretty close to them. And, your point is spot on. For them, the sheer creativity and output (in writing, science, and music) of the whole family was kind of seen as table stakes and something rather unremarkable. Whenever I was over for dinner I felt like a kid in class who hadn't done the reading haha (just in terms of how hard it was to keep up... they were all super gracious and I have many many cherished memories from the time we hung out)
CD drives were expensive at first.

That, and a mismatch between the huge capacity of a CD, and typical software back then.

Remember, popular games like Doom fitted on a couple of 3.5" floppies. 3D graphics was just coming. PC's with the cpu to process many MB's of game data (or decode full screen video) were often business machines with limited graphics capabilities. Homecomputers like the Amiga or Atari ST were in similar price range as a CD drive. Harddisks were like 1 or 2 GB.

CD writers were much more expensive. So out of most people's reach as backup medium.

Only when prices came down and PC's gained in cpu, storage & graphics (and software ballooned with that), it made sense to add a CD drive.

I do kind of miss the days where you'd buy a magazine with cover CD, and spend weeks playing 100s of shareware games. Then buy the full box for the best-of those. Or try a Linux distro without needing to download 100s of MB's over a 33k modem.

And it's a shame those mini-CD's (similar to GameCube discs) weren't more popular. I always liked those. Almost impossible to find these days (whether used for music, software, or as -R/RW media).
As the other commenter said, I think most people would call those more messaging apps than social media (though wechat blurs the line even further being a sort of everything app but I digress). That said it's also worth considering that few users of any of these products use only one; therefore, the network effects of say, Facebook steering people into more extreme content, will reflect back when they join more extreme Telegram channels, with it being at least decently plausible that further interaction on Telegram will steer them into yet further Facebook Groups or into the influence of content creators elsewhere still.

Enough of these utilities engage in this attention-grabbing funnel tactic that the effects of their algorithms far exceed the boundaries of their own products, and reinforce each other as well.
I support vaccination and recommend that people follow medical guidelines. But imposing medical procedures on anyone without their informed consent is absolutely immoral. Especially since the COVID-19 vaccines do little or nothing to prevent transmission.
We can't do much brain surgery on LLMs either. We don't understand the weights enough. Our influence is indirect. "Don't do this", you instruct or "this response is rated better", emulate it
Some great choices in that playlist ;)
Ergonomic multi-core multithreading is already solved, for me at least, with ProcessPoolExecutor.map(). I wonder what advantages this direction brings to the table.
just replace `f"{` -> `(` and `}"` -> `)` and it's conventional expression eval.
Bubble tea, in the normal sense, is milk tea with tapioca bubbles. Generally, if you go to a Boba cafe that is more...authentic...you will see them list Boba and Milk Tea separately and they will ask for sugar levels at order time. This article is focused around China, though I would note that in the US, many Bubble Tea chains have taken to aggressively increasing sugar, some sizes and flavors top 100g of sugar.
My spouse and I do an internet / technology sabbath on Saturdays. No social media, no streaming services or video games. Mostly listen to the couple of records we have, read books, and do other analog things. I started after reading How to do Nothing, and thinking a lot about unplugging from the attention economy.

I find that it does a really good job of resetting / breaking the dopamine cycles. Going a day without being online every so often results in me at least being less tied to the Internet for well being the rest of the week.
Show HN: The safest blue-green deployment for single machines
Starting from version 3.0, it comes with a high availabilty (=safe)
Covid-19 mRNA Vaccines Win Nobel Prize for Medicine
So would the wise policy in this case be to restrict people's access to milk products?
Is this a genuine question?
Would you feel the same way if it were a cutesy poem supporting an opposing view?
No reason it couldn’t. I gave a micro-talk at RubyConf 2013 on a proof-of-concept I’d been experimenting with at work that used ZFS + git hooks to do pretty much the same thing.

https://m.youtube.com/watch?v=K66r3yZd2_I
>> why would you not choose Python?

No type safety.

GIL (yes, they are working on it).

Slow execution.

Terrible packaging and deployment: should you use pip, pipenv, poetry, conda, setuptools, hatch, micropipenv, PDM, pip-tools, ActiveState platform, homebrew, or your Linux / BSD distro's package manager? "One way to do it"? Nope, it's TIMTOWTDI.

When writing anything new, I have been mainly choosing Rust and Go:

Rust when performance is critical, type safety is important, work is low-level, or the project is expected to be big or long-lasting.

Go for easy, cross-platform "scripting": standard library does most of what is needed. Super-fast build. Easy deployment with just a binary. Can even embed files if needed.
And still you reply...
“What is your way to stay a toxic middle manager?”
Mmmmh. Not just bubble tea!
From the article:

> It refers to an umbrella term encompassing all beverages sold in milk tea shops, such as milk tea, fruit tea, floral tea, bubble tea, and others. This inclusive definition is based on the emerging trend of combining ‘milk tea + other tea drinks’ in the present Chinese milk tea market, gradually becoming mainstream
A full Coherent install would, but I'm sure it can be slimmed down to a kernel, a libc and an init system that would fit in a floppy.

I learned C on a PC/XT running QNX from a floppy containing the kernel, just enough OS to run, vi, and a C compiler/linker.
Steady now ...

The features of Per-Interpreter GIL are - for now - only available using C-API, so there's no direct interface for Python developers. Such interface is expected to come with PEP 554, which - if accepted - is supposed to land in Python 3.13, until then we will have to hack our way to the sub-interpreter implementation.

https://martinheinz.dev/blog/97
It says it used a technique used in Chicago that people doubted. Using it in New York proved the technology viable and thus laid the foundation…

> “When high winds blew during construction, crowds of onlookers gathered (at a safe distance) waiting for the radical new structure to fall over,” according to a PBS/American Experience article.

> “It was only when the architect himself climbed to the peak of the building and declared it perfectly safe that they were convinced otherwise.”
I thought CERN was running straight CEPH. I was incorrect.

https://eos-web.web.cern.ch/eos-web/
> Or, you know, have coffee at home

Nescafe Gold Instant coffee. Coffee is coffee, and this one tastes better than Starbucks'
In America, over the course of the covid crisis, amazingly, Flu cases dropped to almost zero, while covid cases followed an almost exact graphed path to previous flu cases.
Credit is given to NYC... for NYC's first skycraper. I think that's rather straightforward.
Hollywood celebrities do this, Michael Bloomberg does this, they preach environmentalism and then get in their private jets, and fly around the world.
They only give one per year and there's probably more than one nobel prize worthy achievement every year on average, so they end up with a backlog. Unless something huge happens in a given year like the Higgs, they're probably going to reach back as far as they can for a worthy award to make sure people get the awards before they die.
Wasting writing Go, definitely.

Manual loop implementations of basic functional concepts, manual error propagation, finding ways around arbitrary limitations in the name of simplicity, the list goes on and on.
Yeah the US has a weird fascination with Apple in particular. Just look at iphone users looking down on Android users because their text messages come as green instead of blue.
You get that with or without Apple technology. There's not a single 'gotcha' you've named yet.

Furthermore, Apple's integrated solution quite literally depends on the Open standard of Bluetooth to operate. Whether or not you consider it a bad thing, quite obviously the integration and open solution both work fine alongside one another.
Sam Bankman-Fried met Bahamas PM to discuss paying off country's national debt
Anyone ever try encrypting a database ID (IE, a sequential int,) and use that as a public key?

IE, take a 32 or 64 bit int that's the primary key, encrypt it, and then use that as the public ID in a web application, URL, API, ect.
An excerpt from one Jewish view of the Sabbath:

The rubric under which all the actions prohibited on the Sabbath fall is referred to as melakhah. It is an expansive term, first used in the Hebrew Bible to describe the full range of activities which God engaged in to create the world. The only term which really approximates its scope is Jacques Ellul’s la technique, defined as “the totality of methods rationally arrived at and having absolute efficiency (for a given stage of development) in every field of human activity.” The heuristic which the rabbis of the Talmud used to determine melakhah is simple: if the action was performed in the course of the building of the Tabernacle, which after all functioned both as a mikrokosmos in the technical sense and as a microcosm of human society, it was forbidden on the Sabbath.

https://www.athwart.org/notes-on-judaic-political-economy/
I actually find this acts as a useful heuristic to bound the complexity of a diagram appropriately. For example if I'm making a diagram with Mermaid and find the code is becoming unwieldy, I take that as an indicator that I'm trying to stuff too much info into one diagram and I should split it into separate diagrams or redo it at a higher level of abstraction.
I have an old WinRAR archive which password I have forgotten. Who knows, maybe in 50 years we will be able to read the encrypted stuff.