skysight-inc/HackerNews huggingface dataset:
> running training for 10 hrs only to have a validation loop fail because of a shape mismatch.

I agree that tracking array shapes at build time could catch certain classes of bugs (and I would love to have that capability). However, it's not as easy as it may seem. Consider the following example. It shows that even a simple slicing operation can change the number of array dimensions in ways that are only known at run time.

>>> def f(arr, elem):
... return arr[elem]
...
>>> arr=np.zeros((1, 1))
>>> f(arr, 0).shape
(1,)
>>> f(arr, ...).shape
(1, 1)
>>> f(arr, np.newaxis).shape
(1, 1, 1)
What does that mean?

That CDs are not scaled for humans?
> And yet there was that girl which went on a chocolate diet and lived just fine. It was a publicity stunt, but does kinda show that depending on your body, it might not matter anyway.

How long did she stay on it? I imagine serious metabolic complications will take some time to develop. Moreover, she'd be missing out on some essential minerals and vitamins so I suspect she was using supplements? In that case the diet is not really chocolate, but chocolate + supplements
From my understanding, DevOps was never about technical solutions/processes. It was about giving the same business goals to Dev and Ops. The idea being to eliminate the tension netween these departments because the goal of Dev was to ship features and the goal of Ops was to ensure the system stayed up.
We are told that we have rules in the world that nations have to follow. Breaking rules means punishment. That's the theory.

People like me feel sold for fools when there are double standards.

I will disagree with the Western reaction as long as countries like the US are not paying their fair share for the atrocities they have done.

And you argument is not valid at all. "At least the Americans were bombing those brown people for demoncrency!!"

500.000 dead kids!

Albright, the “passionate force for freedom, democracy and human rights”, thought it was all “worth it”.

https://www.aljazeera.com/opinions/2022/3/25/lets-remember-m...
An unmentioned problem with reading too much is that one becomes reactive to text in their thinking and eventually struggles to create new thought. One can become over-reliant on an unending stream of words to push forward the internal train of thought.
And, indeed, going into deep processor power saving states these days will put the RAM into self refresh (which is one of the reasons that exit latency is greater for deep states)
What's really neat about lenses to me (more of a practitioner than a theoretician) is that while the level 0 explanation of them is "they're like getters and setters in your OOP language" they extend the concept much further.

Lenses can be "indirect" or "pseudo" getters or setters, for want of a better term. I.e. they can filter among many fields to set, then modify multiple fields at once, change only non-null values, replace only null values, and so on. So in a sense they're like multiple cursors at the code execution level. But they can also contain more complicated transformations if that makes your code simpler (sort of like C# properties.)

They are also first class concepts meaning you can pass these accessors around without caring about which object you will use them on.

And they compose with each other very nicely.

Those three properties make them super powerful and I really with I had them in more languages.

----

Lenses are the sort of thing where if they had been the default in more languages, people would wonder why on earth anyone would want to have the obviously inferior getters and setters of today's OOP languages.
Some political currents would wear those adjectives as a badge of honor.
> I don't think it's true.

And yet it is.

> I've lived in different cities in America and have seen plenty of retail in the middle of residential neighborhoods.

Urban cores predate the invention and widespread use of Euclidean zoning (and of cars). They are generally “grandfathered in” mixed-use zoning, even more so as they were basically abandoned during the post-war white flight, for which exclusionary zoning was a feature.
It was estimated at half a billion in 2019[1]. Drivers are missing all social security payments, pension, overtime, weekend rate, etc. etc.

[1] https://www.20min.ch/story/uber-soll-fahrern-eine-halbe-mill...
I loved the way the puzzle was presented in that video and loved the partial solution. It has been consuming idle brain cycles eversince.

First we should proudly make the key flat as security by obscurity is not done. We should solve the problem for real and it has to be easy to manufacture.

The real idea: put a tube around the cylinder. after rotating the cylinder by 45 deg it drags the tube along.

[cylinder][ tube ][case
key]||||||||[ ][ ]////
[cylinder][ tube ][case

you have a pin in the tube with small discs on the key side. The inner cylinder can rotate freely for 45 degrees at which point it drags the tube along IF the pin is in the correct position thereby testing the correctness of the key used therein all pins simultaneously.

different keys can be had by changing the number of discs. No machining required.

Have fun
Well, it didn't advertise itself as a "very difficult to pull off lock", or a "vastly better than previous lock". It advertised itself as an "unpickable lock". That's a very strong claim to be making. I wouldn't be satisfied with anything less than a proof that it is impossible to reduce the search space down to sub-exponential.

Building a lock which does not leak any information about what's happening inside is equivalent to building a mechanical, room temperature quantum computer. For if that information isn't leaking to the environment in some way, there is no mechanism to decohere a superposition state. Hence in principle a mechanical lock which is secure in the information theoretic sense is impossible. It is still theoretically possible to make a computationally secure lock (eg a mechanical implementation of a hash function). But there's currently no real proof that one-way functions are actually one-way. The security of such a lock is subject to a foundational guess in cryptography.
Huh. Sounds familiar.
>This is something I don't quite understand about the Go community: why are people fine with using Mutex everywhere?

The default approach in Go is to use channels. The preferred idiom is "share by communicating". I think mutexes are overused by people who came from other languages and who aren't accustomed to channels yet. They spawn goroutines which communicate by sharing when it should be the other away around - no shared state with a few exceptions. I think there's no proliferation of synchronization primitives in Go because sharing state is considered a bad practice.
This is what you get when you missed a chance to namespace standard library many years ago. Should have been std.toml.
Ash is Purest White was excellent.
It sounds like you are a people-pleaser. This is a common problem that I shared. The thing to learn is to have, state, and enforce boundaries. Otherwise some people pick up on a lack of boundaries and will do what they wish with you.

Something that may help is to recognize that you are allowed to disappoint someone. You are not the sole cause of a situation. In a problematic situation, sometimes the best we can do is to have boundaries and see whether people want to adjust their behavior or leave. Simply having articulated boundaries will often cause people to be less bothersome (with you, anyway).

https://youtu.be/tUOvY6Lfm1A

https://youtu.be/NqAJrWFzLp8
THIS. OH MY GOSH. THIS.

The only issue now is that pytorch has their own "shapes" solution[0], and last I checked, were kinda reserved about participating in the standardization of variadic generics because they don't expect to use it.

I really really hope that the ML community comes together to use variadic generics because I believe it will save researchers and devs so many debug cycles (as well as compute resources, tbh).

[0] https://pytorch.org/docs/stable/named_tensor.html
There's nothing wrong with having your username and real name tied together, unless you don't want certain information or views (i.e political affiliations, sexual preferences, etc) which is broadcasted under your online persona to be associated with your real life person. The problem is that the OP didn't do the due diligence to create a different persona to voice subjects they did not want associated with them IRL.

Like I said, I understand the damage has been done, but to prevent future instances (and possibly mitigate existing ones) the OP will have to take certain measures which may involve sacrificing information published under their current online persona (by deleting accounts, changing usernames etc). It should make things a little harder for online sleuths, but nevertheless not impossible to track down.

I can provide another suggestion, which is to change their real name. Depends on the OP, how far they are willing to go to undo their mistake.
Bourne movie is responsible for a decade of shaking cam misery. Only very rare cinematographers got it right, like in "District 9", for the most part it was just chaotic incomprehensible mess.
All you did is describe the increase in complexity of the infrastructure. Which does not rebut the point, because that is the point. The infrastructure people are using now is much more complicated than what was common 15 years ago.

If you want to rebut this you need to demonstrate the kind of capabilities we have now thanks to this complexity that we could not have before.

> you handle payments

No you don't. Most people handle payments by integrating with a 3rd party service, most likely stripe or paypal.
Getting rid of the sugar and refined carbohydrates in my diet (as well as learning to cook my food from scratch) was the big lifestyle change that has kept the weight off of me for the past decade and a half.

I do eat a lot of legumes, which still have carbs, just not refined carbs.

Previously, I would yo-yo up and down.
Hashicorp (config?) Language

It's what your Terraform files are primarily written in
Yes, that's what brought it back into the spotlight. The parties currently in the government all somewhat ran on the promise of overturning this law as a part of a general modernization (the more conservative party, which is now out, blocked a lot of it).
Quite clearly if population bottleneck wasn't dealt with noone else would be left to do it.
JS's standard library is smaller than Python's for sure. I... want to say Rust's standard library is as well, but the traits that are present tend to have a looooooot of methods (check out all the methods on Result!).

Python has a lot of things in the standard library, though I think the tendancy has been to stop adding things (case in point: I believe there is very little argument against putting requests into the standard library. I get why they don't but I disagree with the reasoning)
Extensive fasting is also known to heal anything.

As does veganism, raw food, paleo, and eating only boiled potatoes.

Interesting how any diet that contains no processed food is good for you.

Even more interesting how people who follow these extreme diets make for boring company.
Indeed. I've lost count of the number of times I've come across the"Argument by webcomic" fallacy: the notion that somehow one's argument is unshakeable compared to a simple declaration of it, because it's been presented as a webcomic interaction or as an infographic.
> EDIT -- Instead of paying 500 million, I would pay up to 1 billion dollars, because paying 1 billion for a 50/50 chance to win 1 billion is an EV neutral move.

It's not. The EV of a 50/50 chance for $1B is $500M. The EV of paying $1B is -$1B. So paying $1B to have a 50/50 chance of $1B has an EV of -$500M.

Paying $500M for a chance to win $1B is EV neutral. But marginal utility of money gets pretty weird by then. For someone with $500M, an extra $500M to get to $1B doesn't really open that many more doors, IMHO, but losing $500M would be a big deal.
CUE is much better than HCL. I've been converting my more complex TF to CUE and then exporting as json for TF to consume.
I wish I got to work with you everyday!

In my past at $medalyaorwherever it was a fucking nightmare everyday, the Architect wouldn't let the PR close.
My "NoScript" extension doesnt even allow the popup to load.
My "uBlock origin" extension blocks the window too. I actually had to disable adblocker AND enable javascript to get "you have adblocker, turn it off!"
And even then my "Behind the Overlay" extension provides me with one-click manual way of getting rid of it.

Seriously people, do yourself a favour and use those tools when navigating todays hostile internet.
Their reason was obsolete shortly after it was written, Python 2 was EOL years before TOML included.

Toml is ill-defined as well. ini files work fine for these trivial uses.

https://hitchdev.com/strictyaml/why-not/toml/

So now you have two flawed ways to do it, congrats.
In that case, you should look into NixOS/Nix package manager (or, if you're a GNU fan, GuixSD/Guix package manager). I've heard a lot of good things about them related to your problems, including extremely good support for virtual environments of any kind.
Programming Language Benchmarks Visualization
Not always.

Fine example is the cheap STM32 based PLC I bought. The thing was so badly designed you couldn’t plug an RS232 cable into it because the casing was in the way of the connector. When approaching the vendor, with photos, I got offered a $5 refund and told to take the casing off (which was required for it to fit on a rail). Aliexpress sided with the seller when I complained. I charge backed the whole $75 and Aliexpress blocked me as a buyer.

I said screw it and bought a second hand omron PLC off eBay.

Then there’s the fake semiconductors on there. It’s difficult to find any genuine ones.

The only reason Aliexpress is cheap is the post cost from them is low. Returns are really expensive to china so they will do everything to avoid it. If we shot some of the postal agreements Aliexpress would be dead overnight.
Do we need more movies like The Fugitive? We have plenty of action/drama films at this point. Why make new ones?
We have way too much empathy for bad software. Honestly, it's almost all total shit. If my care was as bad as the median level of software, it would last 30 days and then be broken down in my driveway until the scrapper hauls it off.
Ancient Greeks did not send representatives to my country at least. The Church did however and brought with it a lot of knowledge.
> you'd better have a really good story about what you would have done instead, excluding any kind of hindsight magic.

Nah, that is not how it works. Effectively, you want people to tell you about some grand plan they would executed it, if they did not played.

The way it works when you stop gaming/reading too much facebook etc is that you start being more active in other areas. You get more fit, you suddenly read more about history without planning to, you do crafts here and there, learn to draw or play music instrument on and off. And overall you feel calmer, more creative, sleep better. And after after months/years it accumulate and you look back happy. It does not feel wasted, cause you have that picture on the wall, your dad has your the thing you created, you are really proud about that song you can play.
Tracking evasion is close to the concept we in Germany call "Datensparsamkeit" or data scarcity — the idea that only the data that needs to be collected for a certain purpose should be collected.

The idea is: Data that just isn't there cannot be lost, abused or stolen. Or phrased differently: Data is also a liability for you and your users and you should balance this liability with the use it has for you.

The idea comes from Germany's Nazi past, when the Nazis invaded the Netherlands where religion was a field in the official documents, which lead to an very efficient genocide.
> I.e. they can filter among many fields to set, then modify multiple fields at once, and so on.

These generalizations are usually referred to as "optics", with "lenses" reserved for the single-target case.
I'd phrase it as "reduce the number of mouths to feed". That way it could be achieved by reducing the amount of cattle grown for meat and we could eat more grains etc... ourselves instead of feeding those intermediaries.
> He has gained significant territory at huge expense. And the gains are almost certainly temporary since unless Russia mobilises their reserves etc. they won't have the manpower to hold such vast swathes of land.

Not sure how you’ve reached this conclusion other than a wild guess. The state of the war and huge progress made by Russia indicates the opposite. Russia is unlikely to give up the land they’ve taken without a fight and so far they are winning the fight and will continue to make progress. Very few if any independent military experts believe otherwise unless the US or NATO decide to intervene, which is not going to happen.
Why don't you run on a very small subset of data to ensure that the code works e2e in the workflow pipeline?
My website, where else?

Is this a trick question?
They remade it a few years ago, almost shot for shot
The RT-11 operation system for the PDP-11 was filled with amusing quotations all over the kernel source code.

The following is the source code of the CPU idle loop routine, with blinkenlights [0]. Note the funny quotations, and also note the use of self-modifying code - light direction reversal was implemented by overwriting the ROL/ROR instruction dynamically.

; "A source of innocent merriment!"
; - W.S. Gilbert, "Mikado"
; "Did nothing in particular, and did it very well"
; - W.S. Gilbert, "Iolanthe"
; "To be idle is the ultimate purpose of the busy"
; - Samuel Johnson, "The Idler"
; "I got plenty of nothin', and nothin's plenty fo' me!"
; - George and Ira Gershwin, "Porgy and Bess"
;-
30$:
.IF NE LIGH$T
DEC (PC)+ ;The RT-11 lights routine!
LITECT: .WORD 1
BNE ..NULJ ;Not too often
ADD #<512.>,LITECT ;Reset count, clear carry
40$: ROL 70$ ;Juggle the lights
BNE 50$ ;Not clear yet
COM 70$ ;Turn on lights, set Carry
50$: BCC 60$ ;Nothing fell off, keep moving
ADD #<100>,40$ ;Reverse direction
BIC #<200>,40$ ;ROL/ROR flip
60$: BIT #<LIGHT$>,CONFG2 ;Does CPU have a light register?
BEQ ..NULJ ;No
MOV (PC)+,@(PC)+ ;Put in lights (for 11/45)
70$: .WORD 0, SR
.ENDC ;NE LIGH$T

If the code doesn't detect a light register, it runs the following NOP loop instead.

..NULJ::
.IF EQ RTE$M
;;; WAIT ;Nothin' to do, so don't
NOP ;Nothin' to do, so don't
.IFF ;EQ RTE$M
NOP ;Let the host do the waiting
.ENDC ;EQ RTE$M
NOP ;Second pad instruction
.BR SCNALL ;Drop into ready job scan loop setup

[0] http://www.kpxx.ru/DEC/PDP-11/Software/OS/RT-11/05.07/05.07....
I'm really excited for where Python's static typing is heading!

I doubt that typing Python code will ever become as ergonomic as typescript, simply because typescript doesn't have the constraint of modifying the syntax of it's "target language" (JS) when it wants to add a feature or whatever, whereas typed python must still be Python, and syntactic changes therefore need to be added much more conservatively.

But still, the typing story is improving before my very eyes with every release, and given that Python types are actually available at runtime (allowing for things like pydantic and FastAPI), and that Python has massive adoption in the ML space, all this is making Python a very enticing language to get back to using!
It's also consistent with personalized nutrition studies:

https://www.nature.com/articles/s41579-019-0256-8

https://www.nature.com/articles/s41579-019-0256-8
> If YouTube can be used to train models we'll have AGI pretty soon!

And its face will be stuck in a permanent :O grimace.

And. every little. thing. will be the most shocking. biggest surprise since the. invention of. surprises. Plus a heaping. spoonful of jump.cuts.

But hey at least it's gonna talk really fast to squeeze all the info into the first 3 minutes, then repeat itself a lot to meet an arbitrary length requirement.
A once-over of the docs seemed to tick a lot of my boxes. I'll check it out, thanks!
Rather unnecessary. See my comment above.
Causal connection between that and writing recommendations is rather weak..
Easing into higher fiber probably should be more gradual. A lot of people doing keto jump right into the processed breads and foods that have mostly fiber. That’ll catch you off guard very quickly if you’re not used to it.
And you can weave effects into them just like normal functions, without losing the ability of composition. Fun stuff!

In defense of OO-style access pattern, they’re a lot simpler and syntactically well integrated into most languages. The flexibility of lenses is clearly visible in types (in most current implementations). Ideally you want to hide this when you don’t need the flexibility.
US to announce medium- to long-range surface-to-air missile system for Ukraine
Your whole argument seems to be based on turning a small town into a big town... doesn't that defeat the whole purpose? Sure, the early adopters will make a profit on their property values, but then what? Do companies just keep hopping from town to town to keep this going, and what happens when they leave for the next hip place?

It is possible for small towns to grow an evolve while maintaining their culture. A small town doesn't need to become a tech hub full of hipsters to grow. Slow sustainable growth is what most of these towns want, not a massive boom and culture shock.

I grew up in a small town. Yes, I left right after high school and so did my sister, but she moved back once she had a family. A lot of people move to the city to start their career, make some money, and meet someone, then transition to a smaller town (or at least a suburb) once they have kids. This is an intentional choice. If the small town turned into a big one, they would likely look to leave and go somewhere else.

The place I grew up voted down a freeway proposed near town when I was in high school. They didn't even want faster access to a bigger city, because they were afraid of people working in those cities living in town and the impact that would have. I didn't agree with it, as I wanted a fast way out of there, but that's democracy. If a city, and it's people, want this to happen... ok. But a company deciding on its own that their way is the best way and changing the entire culture of a city by force is no better than one country invading another to try and impose their political structures as "best".

I moved to an area that was near freeways, but I still understand why some people don't like it. I kind of like the pace of small town life, but I want more job options, so I chose a larger area. Transforming a small town doesn't seem like it will solve anything. If I want the pace of a small town and that pace changes to bring in more job options, then it would no longer have that small town pace. The last place I lived had a lot of rules in place to keep it from feeling too "big". They had max building heights, didn't allow chains downtown, etc. I left for a few years and when I went back, a lot of that seemed to have changed. They are building giant condo complexes downtown, there are chains going in left and right, traffic is a mess. The place is worse and it lost the essence that made people want to be there in the first place.