skysight-inc/HackerNews huggingface dataset:
In other words phx.gen.auth generates a lot of code that may or may not in part suits your authentification needs and Phoenix gives you nothing for Authorization ;)

(I am a bit bitter after implementing authentication with Firebase and authorization in a Phoenix app? Maybe ahah).
> very often media in west write "protecting democracy" when they actually mean...

From my British perspective, I think the media know exactly what they're doing. They know many readers will connect "protecting democracy" with cheating, and know that divisive, tribal politics is much more profitable than stability and consensus.
Oh they said far right that means you're supposed to be angry >:(
Agreed with Hector, there’s so many bad-faith or misinformed opinions around this.

They should probably be obligated to provide calibration tools. However, the risk of providing those freely is that it increases the street value for stolen devices. The fact that a stolen iPhone can’t be erased and sold is a feature many people care about. Conveniently it also helps Apple’s bottom line. Someone needs to come up with a system to allow sustainable reuse without encouraging theft.
Promising alternative to packaging lowers plastic industry’s carbon footprint
I was wondering what causing this heat globally, lately!
One of my best school project was Core War. We had to build the VM where the battle took place and a compiler that would read a program written in assembly and transform it into byte code.

It was the moment I truly understood memcopy, memory management, and how powerful C was.
I concur. The most funny part to me is always when an elegant and succinct one or two-liner in Haskell turns into a mess once proper error-handling is added.

Complexity doesn't magically go away by choosing a different programming paradigm - problems are just shifted into another direction.
I understand that in the simplest way this is true, and I am sure it is very clever, poetic and pithy.

But this is not how it works in principle or in practice in the UK. The police work on behalf of the people, not the government. When government manages to suborn the police in even a small way it is very much noticed.

It’s difficult for people outside the UK to see this, I suppose, but our experience with this is that state directed police overreach is now unusual, and there is a lot of pushback from the chief police officers and the public when they are asked to oppress. There are aberrations (no police force in the world gets protest management right, and ours is no exception) but in general you have to be consciously right up in their faces to cause such an aberration.

The UK is a country of realpolitik at every level. The police go about their business unarmed, with the consent of the population, and generally speaking, they know the public will not put up with overreach anymore. We may find them pompous and overbearing but they are pretty much the envy of the world still.
I'm in the US, where the CoL is pretty high, but I'm also very clumsy and really don't have any business being on the road, which is probably my #1 career weakness by far, entry level embedded systems is often very onsite heavy.
Successful Psychopaths: A Contemporary Phenomenon
The Bayes algorithm was core of one of my first shared software projects - a local spam filter plugin for the blog engine serendipity. The surprising thing back then was how well it worked in practice, the surprise now is that it still works just fine.

It's used to filter blog comments since over a decade now.

And I mean that with the surprise. It was tought to us as the simple method used before, and I was just testing whether it maybe can still be of use a bit. Mainly because it was easy to understand, it just counts, and I liked the position with the a priori probabilities. «Definitely still useful» was not the expected outcome.
So I guess none of them.
Group of people == team because all report to same manager.

Manager in charge of multiple different projects because "success in organisation" == "number of people managed" regardless of whether they are being managed well or not.

Manager needs daily updates of all things going on his "team", because otherwise not have fucking clue about what manager is "managing" and clearly far too difficult for manager to read JIRA board, look at commit histories etc. Much more efficient for everyone to sit around for an hour during which they maybe have ten minutes of productive discussion.
>Thankfully the demand for printers is fading.

Maybe in your little corner of the world, but for the rest of us we need ink (or toner) on paper to just conduct life.
Are investors majority shareholders? If the founder owns the majority of the company, I don't see how he could be removed. Are you all prepared to possibly lose your jobs over this?
Great question.

In the case where someone kills another (murder is a legal term) and the cases of many other 'crimes' eg stealing, abusing children, etc, these are immoral acts. One's heart knows this. In general, what people refer to as 'common law' is more or less in line with morality - I don't object to that so much.

Now, if you wanted to impose a legal system (an external authority of morality) that doesn't cover these cases, you will fail - people will not accept it's authority and will see it for what it is. The legal system has to encompass these overt, actually immoral cases as bait, in order for the individual to swallow the hook. But, the legal system is not determining right or wrong, it is merely echoing what you already know.

Things like intellectual property rights, speed limits, licensing, tax, etc, are the hook. They are nothing to do with right or wrong. They are merely cash machines for the entities that write the legislation. They could be right, had entered into a contract, where government provided such-and-such a service with explicit agreement. But no one ever did..
> When Smith aims for the triple 20 — the highest-value subsection of the board, but smaller than half a square inch — he hits it less than half the time.

Note that perfection does not necessitate hitting a high percentage of triple 20s, since one is also constrained by having to throw a total of 501 points.

One way to achieve true perfection is to hit triple 20 + triple 19 + double 50 with every 3 darts, giving all 9 darters.
Drastically edited from last time. Let me know what you think.
Single crystal synthesis, structure, and magnetism of Pb₁₀₋ₓCuₓ(PO₄)₆O
i mean, onwards from XP
Information about blast at «Vector» BSL4 lab is state secret now, I cannot find information about internal situation at «Vector».

My guess: perhaps the virus was being kept alive in living organisms (deliberately or accidentally).

Then the sequence of events looks as follows:

* September 16, 2019 - Explosion of a gas cylinder at the territory of the "Vector" laboratory in Kol'tsevo, Novosibirsk.

* Military personnel arrive to conduct fire inspection (breaking doors in each laboratory room searching for fire traces), without proper biological protection.

* During the fire inspection, the military take away some property from the laboratory (captured on video) and likely get infected with the virus from animal carriers.

* October 11, 2019 - Joint training of Chinese and Russian special police in Kol'tsevo, Novosibirsk, 40 Chinese policemen arrived.

* October 16, 2019 - First report of a sudden increase in cases of atypical pneumonia in Krasnoyarsk Krai, in Siberia - 700 cases per week. («Arguments and Facts on the Yenisei» No. 42, 2019)

* October 18, 2019 - Military World Games begin in Wuhan, attended by servicemen from Russia, from which the virus likely started spreading worldwide.

* November 2019 - Schools are quarantined due to an outbreak of atypical pneumonia in Krasnoyarsk, Rostov-on-Don, Orenburg, and Samara regions.

* November 2019 - Russian armed forces begin «training» to blockade infected regions of Russia.

[1]: http://web.archive.org/web/20191011162034/https://www.nsktv....
> I can imagine many big / popular apps switch to native once they have the resources to do so but start off with cross-platform.

Not really. Startups looking to keep costs as low as possible tell themselves this and there’s a lot of advice out there from people who will tell you the same, but it’s very rare. If you are tempted to go with the cheap option and plan on switching once you have the budget, make your peace with the fact you will probably be stuck with the cheap option forever.
In my experience the narrative that Macs don't get malware doesn't come from Apple themselves. Apple are not dumb, making public such a claim would be waving a giant red flag in front of potential malware writers. It would also be embarrassingly regurgitated if there ever was a serious threat.
The thing is, few of these cases make it to trial, because the CPS has to demonstrate it’s in the public interest.

The result is that the police are still opening investigations they are asked to, and the CPS is still examining them; it’s a lot of energy spent on no outcome.

That is the actual problem, not the prosecutions, which remain unusual from what I can see.

There needs to be better guidance on the relevant legal standards. Separately we need to do something about (civil) libel laws, but that is a parallel and not criminal law issue.
> they can't distinguish between calling (foo 1 (+ 1 2) (+ 3 4)) and calling (foo 1) (+ 1 2) (+ 3 4).

It uses always (foo 1 (+ 1 2) (+ 3 4)). It uses the complete input.

> I don't even know if sly/slime repl even support typing several expressions on the same line in repl.

Most Lisp REPLs use multiline input. Here LispWorks requires that + 1 2 is on a single line. If one enters more than one expression to a single prompt, possibly on/spanning multiple lines, each will be executed.

> but I don't see much gain

It looks better. Much better.

Minus: the command now has spaces in its name, which makes it more difficult to use in scripts.
Not a lot to see here.
> Whereas the magnetic susceptibility includes a small ferromagnetic component (likely due to local magnetic order in the inhomogeneous network of Cu substituents), the magnetic susceptibility exhibits no anomalies indicative of phase transitions (including superconductivity) in a wide range of temperatures up to 800 K. We discuss possible origins of the anomalies reported in phase-impure powder samples. In particular, the impurity phase Cu₂S exhibits two structural phase transitions, with the one at 398 K coinciding with an insulator-to-metal transition that may be mistakenly attributed to superconductivity.
In a movie it would have been. But only in a movie.
Momentum, a DIY 12-voice virtual analogue polyphonic synthesizer based on TSynth
The exist non-secular types of communism FYI. For example, Thomas More's Utopia is considered to be a classical communist text, but in this text he was advocating religious freedom.

Communism is a more general idea about common ownership and it is not limited to a single implementation in CCCP.
I'm super clumsy and really shouldn't be on the road at all. Before I moved I spent hours on the bus every day, here I can mostly only do remote since the bus is so limited.

Full self driving would complete change everything. I could look at jobs I've never even thought about, because of the need for transportation.
If you read the books Vir also draw's a knife on G'Kar.
If that’s true why not raise the minimum wage to 30$? Why not 100$?
There are multiple resources that teach how to do it:

* https://kundaliniawakeningprocess.com/blog/ (aka KAP) - the most comprehensive course and incorporates lots of safety features to help you deal with the strong energy currents that arise

* https://aypsite.com/ - also thorough and non-sectarian, but doesn't go into as much detail on the safety side

* Dharana darshan by Saraswati - a good book (used to be on kindle). Chakra Shuddhi is my main practice now. I combine it with the deep pelvic floor breathing taught in the KAP course in a deep hip opener asana which I can maintain for hours. This is the technique that I will use to awaken it. I know this because at night I've been getting some precursor Kundalini activity as energy wriggles out of my root chakra and up shushumna.

* https://www.amazon.co.uk/Mindfulness-Bliss-Beyond-Meditators... - the Buddhist perspective. This doesn't mention Kundalini, but shows what's possible by simply focussing your concentration. A yogi would instead aim to awaken Shushumna and Ajna chakra in order to enter the breathless state that is the gateway to the inner world (and I assume, see the nimita Buddhists talk about). Researching the jhanas helped me understand an experience I had 20 years ago but could never reproduce.

I think with all the techniques you need to spend enough time making them your own, and understanding the principles they're based on. Once you see that you can then tweak them instead of treating them as gospel, and tailor them for your own personality, body, etc.
this event had nothing to do with "hacking". Getting a LLM to answer wrong on a math question is something you could do from any device.

If the goal is to get a LLM to output something the dev don't want you to, all you need is langage. You don't need any fancy tools, just a clever phrase to make the model think it's ok to say XYZ because they are saying it in the context of a very artsy greek theater play.

I can't believe a professional "hacker" would think they hacked the system when they get a LLM to output a credit card number. FFS, that thing is literally designed to make shit up to fill text based on context. It's LANGAGE model, not a "credit card number with high spending limit" model.
> Naive Bayes is an old spam filter that works on words independently from each other

It should be pointed out that a lot of ML models operate on a 'bag of words' approach where words (tokens) are considered without regard for structure/order. Bag of words is surprisingly powerful. It can be expanded to include n-grams (n words in order) and this makes it a powerful technique.

Punctuation (where punctuation is counted as a token) is a crazy powerful predictor in text classification including spam.
How to build the game?

I tried navigating https://ofrak.com/docs/environment-setup.html, but couldn't find anything specific about the tetris games. Perhaps I miss that?
Running an unencumbered FreeBSD system will never make any user insecure.
Scrolling.

Simple as that. Using a flutter app has non system scrolling acceleration, scroll speed etc.

It doesn't feel like a native app, because it isn't a native app.

With react native, there are many parts of it that use the underlying system's UI, and so it feels like it could almost be a native app.

Also hitching their horse to dart was a poor move to get devs to switch over from swift/kotlin and JS.
> By default, there is no client-side JS.

Just like in the PHP 5 days
There is Pantum? https://global.pantum.com/ Not exactly off-brand but at least a few years ago was the cheapest option.
In a storage business no less. They literally had one job: to know how to resize arrays, so the rest of us don't have to.
Last time I tried Xrdp it had terrible performance and getting SPI scaling to work was a huge struggle. I gave up on it.
H is there a service that can produce speech of short statements through a prompt?
There are millions of react developers so learning RN is much more easier. Dart is good but learning it just for flutter makes less sense
True. It can be extended to work also on bigrams instead of individual words, I'm not sure how often this is done in spam filters.
For an in-depth explanation of how it works, I suggest the excellent book from Jurafsky and Martin https://web.stanford.edu/~jurafsky/slp3/4.pdf
What he has said applies to any member functions. It is a nuance to have to add a parameter, but certainly it does not only apply to getter and setters.

Dynamic dispatchinga are not necessarily evil, but that also doesn’t exclude C. Not sure how this idea C++ is inherently more dynamic or static comes from. For a ling time you can implement all the dynamic behavior of C++ in C, and it took C++ ‘s template as expressive as C macros.

Sometimes, less is more.that’s where C++ never gets right.
You're comparing two remote sites linked by IPv4 NAT to distributing IPv6 from a /64 (which was never meant to be subdivided) which is dynamic..
> It muddles the meaning of rights, tarnishes the concept by equating the support for rights in general with a specific, controversial position

I am sorry, but knowledge is not specific, it is a very old, basic and fundamental concept. Without knowledge, human race wouldn't exist. It is not some transient and quirky concept suddenly made up. Even if controversial, it is a good candidate to be considered a human right.

indeed, in the UN declaration of human rights, there is a right to education already in article 26 - it is not that different from knowledge, but knowledge as a concept fits here much better.
https://web.archive.org/web/20230814070005/https://www.nytim...
This - during lockdown we got a printer plus refillable ink cartridges - and let the kids go crazy. They loved printing photos and making collages, but mainly loads of colouring sheets and quite a bit of 'homework' - we definitely got our monies worth.

Pain is that it blocks up if not used for 3 months - and the cheap ink fades for any photos we printed - but cleaning it is really easy, literally stuck the print head in the sink and wash it.
Just an expression. I don't use conscious choice. Subconscious choice is more similar to what we understand as fate.
Yeah a good next easy step could be to use word2vec and build a quick linear regression model.
Hyperbole, much?

Learn to be grateful with the things that do work rather than focusing on being critical.
What's embarrassing is the performance/watt of these chips, compared to the competition. This is what happens when a product company gets MBA'd. Hopefully Gelsinger can turn the ship around.
I don't think native necessarily bring you better UX, or even better speed for that regard. On my very low end Android device, Flutter apps are more responsive than the native ones.
There was also a well publicised case where a mother was arrested in front of her children after misgendering a trans person on Twitter. The case was eventually thrown out but it seems the UK police have far too much power and flexibility in terms of what they can arrest someone for.
Really interesting read. It reads more like a due diligence thought experiment. Amazing that they went through the rigorous steps of analyzing just how challenging the entire mission would have been in significant detail after the first hurdle of getting the 2nd shuttle ready in time was found to be virtually impossible.
>Thankfully the demand for printers is fading.

If that is the case, it is more because of a failing on our part to teach people the benefits of printing than anything else.

I'll hold onto my printer and print language stdlib and API reference docs til the day I die. There's just something about having it in print that helps me navigate the corpus of information more effectively.
> $5000 operation to save a
> newborn baby? Obviously
> worth it.

Obviously? A 10 year old, sure, because you've sunk a lot of money into education etc. for that individual already.

But while any given newborn has a lifetime of tax paying ahead of them, they're also easy to replace.

If you made this an auction I'd bet you'd get at least two couples willing to produce newborns within a year for $2500 each.
I was not being rude.

What you say is not obvious is, to me, a result of not reading the docs, guides, and source code of the language and its standard library. I have seen this pattern repeatedly—those engineers who have learned the language find these things obvious. It’s not an insult, but a push to fill in those gaps. Elixir and Phoenix both have some of the best documentation you will find.
> Of course, you might be sitting in your chair and think "that looks really difficult"

I have family who work for UPS (hell my friend since Kindegarten had a mom who retired out of UPS) and I have a brother who throws bags for Southwest. It takes a toll on the body. It's difficult. Full stop. This doesn't invalidate the varied difficulties in other professions. Sheesh.

> Yes, of course, but I still wouldn't consider a UPS delivery essential,

Delivery in aggregate is essential, which is the gracious interpretation. I would pay whatever to get my drugs delivered, because without it I die.

I'm not sure what creating strawmen, in response to someone's earnest sentiment, does for the conversation.
HN: Error – Not a Biggie
When I log out from; flagged submissions : https://news.ycombinator.com/flagged?id=[USER NAME]

I'm logged out and get the following message;

Can't display that.
Easy, just follow some of the rants on social media.
What research. And what is the definition of best?

Generally speaking eons of evolution has shaped "what comes naturally" to be the parenting traits most effective at enabling survival of the fittest or some other trait that enables mass propagation of genes. But survival of the fittest is just one possible definition of "best".
Thing is their VPN isn't great on Linux either (or in general for tech savvy users). Needing a VPN and wanting to support Mozilla I did subscribe to their service, only to find you needed a special program to use their VPN, which you'll have to build yourself if you're using any distribution other than Ubuntu. If you manage to build it you'll find their selection of servers is more restricted than Mullvad's own offerings. At least their 30-day money back guarantee is working.
Building an Ecommerce SaaS in Public: Seeking Motivation and Early Traction Tips
Considering building my ecommerce SaaS product in public. Seeking advice and experiences from those who've done the same. Is sharing progress, challenges, and milestones during the development of an MVP a good strategy to stay motivated and potentially attract early customers or collaborators? Would love to hear your thoughts and any recommended articles/videos on successful 'building in public' strategies.
So what are the alternatives to LangChain that the HN crowd uses?

I see two contenders:

https://github.com/minimaxir/simpleaichat/tree/main/simpleai...

https://github.com/griptape-ai/griptape

There is also the llm command line utility that has a very thin underlying library, but which might grow eventually:
https://github.com/simonw/llm
And of course in many languages more related to English as well, such as (a bit infamously) German. And obviously there are compound words in English as well, either concatenated ("snowman", "airport") or not ("cell phone", "compound word").
You're right the general client doesn't have the stack support yet. https://github.com/redis/redis-rb.

But, each capability (like Graph) has its own dedicated client.

Which capability do you care about? e.g. for JSON you can use https://github.com/vachhanihpavan/rejson-rb.
> If you are writing lisp all day, well, list are your most common.

That's the thing though. _Any data structure is fine_. Say anything!
That misses out the crucial point that he isn't actually in Russia, and therefore presumably won't serve any of those eight years.
I always wondered why people “race” (for the lack of a better word) to awaken kundalini. May I ask why you want to move to it quicker?

As I was taught it’s like the opening of a flower; in due time it will blossom.
Results-driven Backend Software Engineer with expertise in building robust, scalable distributed systems. Proficient in Go, TypeScript, and various databases. Committed to delivering innovative solutions for complex projects

Location: Bangladesh
Remote: Yes
Willing to relocate: Yes
Technologies: Golang, PHP, Node, TypeScript, JavaScript, Angular, Kubernetes, Docker, gRPC, PostgreSQL, MySQL, AWS, GCP, Redis, Ansible, Git, Linux, Terraform
Résumé/CV: https://k1ng440.github.io/resume/resume.pdf
Email: contact@iampavel.dev
More talking, less thinking. It is a blocking issue so make sure that is clear to all parties - do not just continue work unless this is addressed.
Cyborg Art