skysight-inc/HackerNews huggingface dataset:
I was a Math undergrad when I first read it and I think the main reaction I got from faculty was 'dismissal' and the main reaction I got from peers was 'indifference' and, in one case 'annoyance'.

I think it took root in the pop-math education space [0,1], but overall I think most of the Mathematical world has dismissed it as trivial at best and unnecessarily disruptive at worst.

It's a shame, because I feel that understanding why Tau makes equations and concepts easier for people to grasp and build intuitions around is key to understanding why people generally find maths difficult and frustrating, and can give some guidance on how to bring down that barrier/activation energy.

[0] Vi Hart, Pi is Wrong (https://www.youtube.com/watch?v=jG7vhMMXagQ)

[1] Numberphile, Pi vs Tau Smackdown (https://www.youtube.com/watch?v=ZPv1UV0rD8U)
> Panics Are exceptions but they should be seen as a fatal error.

I agree. Well, "fatal" needs to be defined. If an HTTP handler throws an exception, is that fatal for the whole webserver?

Java seems crazy about this. Exceptions seems like it's being treated as just another return value. And that leads to a mess.

But C++? What parts of the C++ standard library have unreasonable exceptions used for errors? (there may be some, I just can't think of any)

And note that you have to throw (no pun intended) away large parts of the language if you remove exceptions. E.g. you can't have constructors without exceptions. How else would you signify "those arguments you gave to the constructor are no bueno".

Go doesn't have constructors, so it's consistent with what it says.

Also see my comment here, about how common or not, discouraged or not, the mere existence of exceptions in a language changes how you must write code to not have it be buggy: https://news.ycombinator.com/item?id=25275580

Yes, in C++ 'goto' is a code smell. It's not in C (greatly used for error handling), but C++ has RAII so `goto` should be rare outside of "clever" code (where "clever" is rarely good).

The mere fact that C++ doesn't have 'finally', and Java does, tells you a lot about how exceptions and RAII differs. If you write a macro for "finally" in C++ then you're doing it wrong.

Pretty much all of my `catch` clauses are in main() (or the root of an event handler), to pretty print the error and/or log to central service, or in a top level event like HTTP handler. `catch` should be about as common in C++ as `rescue` is in Go.

In Java it's fucking everywhere.
Just need to learn how to debug and troubleshoot now...
For about three times the prices you can get double that performance in one machine (dual socket with 8-10 GPUs). You can get a lot done with that, and in some cases waiting days is actually acceptable. If you need more power than that it does indeed get more complicated and the trade-off might change.
Could any of those businesses get larger sitting where they are now? Or could they have grown into something bigger at a mall like venue?
Exceptions for deeply nested control flow drive me mental in other languages for the same reasons you’ve mentioned. Explicit Either<L, R> or similar have meant slightly more code at times, but much clearer to understand where data is going and why, in my humble opinion.
Location: Los Angeles, CA

Remote: Yes

Willing to relocate: Not atm

Technologies: JavaScript, React, Java, Kotlin, Spring Boot, Python, Django, Flask, CSS/SASS, Gatsby

LinkedIn: https://www.linkedin.com/in/nsuarez22

Resume: https://docs.google.com/document/d/1NbwrILs-zlD7J8s8xnJ_c75W...

Email: nate.suarez22 [at] gmail.com

About: I am a recent graduate with a BS degree in CS looking for a junior position. I am passionate in learning new technologies and a team player. Please feel free to reach out to me even for a quick chat!
You can't compare it to the pipe operator, you can still write xhtml valid documents in html5
Location: Arkansas - US

Remote: Yes

Willing to relocate: Will consider it. Depends on Covid situation and if being on-site adds value

Technologies: Perl, PHP, Javascript, MySQL, Linux, Vue.JS, AngularJS, JQuery, Laravel, Ansible, Vagrant, Jenkins, Jira, Git, Subversion, ActiveMQ, MQSeries

Resume: https://marcelquirijnen.github.io/resume-latest.pdf

LinkedIn: https://www.linkedin.com/in/marcelq/

BitBucket: https://bitbucket.org/sugarcreek

Website: https://marcelquirijnen.github.io

Email: quirijnen.marcel@gmail.com

I'm Open to contract work if B2B or 1099, have a can-do attitude and the ability to be hands on, mentor, work collaboratively and autonomously.

I prefer to do things as opposed to talking about doing things and am able and willing to gather requirements, create stories and define projects.

I'm punctual, reliable, dependable, adaptable and accountable and all the other good-ables. I have no issues with taking ownership of things I work on.
It may eliminate a whole class of vulnerabilities, not bugs - the bugs would still be there (the program would not behave as expected), but they may not be usable anymore for arbitrary code execution or data smuggling.
The counterexample to this is not JS and HTML separation. It is a templating engine that pulls in data and renders HTML, not HTML, and imperative JS code that is tightly coupled to that output.

HTML is inherently broken for the general use case, because it enforces a rigid tree data structure. Would you rather have a document db like mongo as your source of truth or a relational or graph db?
Paying your own way defeats the purpose for their goals here. They are looking to build an open-source reposiory of tooling and designs. For that, some standardisation is required. If you are looking for a commercial chip spin, don't expect it to be free.

This is a really cool and unprecedented open source project by Google.
And BWT it was xhtml to broke backward compatibility "XHTML is not compatible with the IE8 and other older versions of the browsers. HTML5 is capable of using XHTML style tags but not vice versa. While writing code in XHTML, there are several restrictions that the developers need to adhere to"
Does anyone know who pays for this process? I would imagine the owner of the ship, but I imagine there's a non-zero likelihood that something like this could bankrupt them. In that case... is there mandatory insurance or similar?
HTML, JS and CSS all have great backwards compatiblity. I have sites that I built in 1997 that still render fine in browsers today. Features are really only ever added; very few are deprecated.

If anything, modern tooling raises the barrier considerably for new devs. Getting started with a simple HTML page, including some CSS and JavaScript, then running it in the browser is — by contrast — easy.
Hello everyone!

I created this site to help fellow indiehackers/entrepreneurs to find the newest growth hacking / marketing tools. In other words, the tools that I could imagine using myself, as a coding entrepreneur with 7+ years experience in technical marketing.

Hope you all will find value from this!
>" ~15 years trying to make everyone separate HTML, JS & CSS. And then suddenly everything went south and we’re writing code like this."

It's a funny observation, but not really a meaningful statement. JSX component based development saved web dev from the jQuery plugin based "truth-in-the-DOM" hell that was early web application development. Things like CSS in JS might be going a bit far, but there's nothing inherently wrong with combining HTML and JS. Most other UI development environments use this same approach (QT/QML, SwiftUI, etc.).
The separation is still there, but you've got to train your brain to see it.
Keenly. Now think about what happens as you go from being a one person show doing everything on your laptop to a larger operation. You have servers in the cloud, build in the cloud, and tests in the cloud. You can do everything for every other platform that way, nicely locked down on a secure network protected with firewalls, access controlled with ephemeral IAM credentials, nice CloudFormation/Terraform to manage everything — and someone says we need to have a build runner on one dude’s Mac because we can’t treat Apple platforms like Windows or Linux. Now you need a VPN or other network holes, you’re delayed & paying network egress pulling stuff down over the internet, the owner of that Mac has to be careful about installing system updates to avoid breaking the build, etc.

Unless everyone is working pro bono, the amount of time you spend on ops will pay for a lot of Mac mini hours and takes away time which could be going towards actual product improvements.
That's just html with extra steps.
That’s totally fair I often do that as well. :-)

However you did assert that this article was about a get rich quick scheme which is taking things a bit further than commenting on a click vanity title.

Viewers likely saw your comments and used it to form their opinion of the content.
Amen.

I'm still in the "why on earth use all that React/Vue/HipsterEtc STUFF to do a simple web page?" camp.

I get it for anything resembling an app, I really do - and I'm in awe of the people who can make web apps feel as responsive as desktop ones by doing some kind of magic that I don't understand. But [most] websites? IME they're all just better off being simple, solid and maintainable, not brittle or subject to the latest Cool Thing.

Call me oldschool, but that also means separation of concerns in the form of HTML, CSS, Javascript...
Apple lobbies against China forced-labour regulations
I feel this complaint misses the point. This code is highly readable and reminds me a lot of the early times when we build HTML in PHP. You can also use it just like that. Render it server side and be done. Maybe load some additional js to act after all that on the rendered page.

Problem is, while this is the better user experience than having to download and run a react behemoth to gain basically nothing, no one seems to have come up with a good version to write this kind of heavily AJAX dependent webpage without it being a real hassle. So while react apps kind of suck from a user perspective, as a developer, my code has never looked cleaner and was never this easy to maintain because everything that happens and can happen is right there instead of been loading delayed from other files and then changing everything client side and needing additional endpoints for full html and fragments/JSON on the server.

Now, sprinkling in CSS there an top of that or even one of these awful "write css in js" solutions would be were I also draw the line, though.
World now has 500 unicorns, 70% of which in US and China
Hm. Looked up the M1 because all I had seen was "low power consumption, lots of battery life" which I took as "Facebook machine".

Looks cool. Apple might be turning the corner from "lol, here's the same phone from 2 years ago but now with three cameras, give me $1,100"
July isn’t exactly recent with a project that’s so much in development. I have been following the PinePhone intensely since July for my blog linmob.net and often found that what I experienced two weeks ago is not worth talking about today, because development progressed a lot since. (Occasionally, regressions happen, too.)
thanks for the heads up, we will get this fixed
Same issues updating a file - you’d update on s3, then trigger processing and even though it was 50ms later - you’d get OLD version. I didn’t know gcp didn’t have this issue - would have been a big selling point
You raise a good point. Start with the low hanging fruit before leaping to the apex. Walk before sprinting.
I don't think this is a case of "both sides have a point" when it comes to blaming individuals for vulnerabilities or suggesting they learn to write secure C. We're way past these things.
Peak Oil Is Already Here
Note that you cannot use these macs "servers" to actually serve stuff. Its just for CI, development. That is in the ToS
When I first read that, I thought they meant real unicorns (i.e. horses with horns), not billion-dollar startups
But the HTTP and the HTTPS page are not served by the same server: https://news.ycombinator.com/item?id=25275816
That's the most concise and clear formulation of that I've seen so far. Thanks.
I've done a few different things with these types of machines. I also know a few people who run some big companies off infra like this.

The key for a small team is finding a colo provider with really good remote hands. Essentially you can setup your rack/cage, leave good instructions and room for expansion. Then you buy a server from dell with financing, ship it to your DC, someone installs an OS and racks it (or you PXE boot from your rack ;) ), then you can provision anything you want. It's essentially like cloud providers but scaling is slower.
Which distribution are you using? (Asking because there are differences in feature support and reliability .)
I've never worked on a production website or web app that managed to achieve the "small css stylesheet and a base set of components." Especially not in the responsive design era. Can it be done in theory? Sure. But in my experience working as a web developer it's one of those goals that always seems attainable at the beginning of a project but for various reasons never comes to fruition by the time it's launched and certainly not by the time it's being retired after months or even years of extending, iteration, changing development teams and maintenance.
1D Terrain Generation in Games
I can't help but cringe at all the motor oil and other fluids leeching out of the ruined cars that were on board.
AppGyver | Sr. Frontend / Backend Developer | React, Node.js, Go, Lua, AWS | Helsinki / EU timezone remote | Full time

Come build the future of no-code with us, so that only those so inclined need to learn how to exit Vim.

(Also looking for React Native/React artisans to join the team building our client runtime, full description coming soon!)

https://www.appgyver.com/careers
Frankly the only error handling that I haven’t actively disliked is in ML-derived languages with Either<L, R>, or Nim’s (and the latter really isn’t that far off from what we’re complaining about, but the community seems better at using it without the nested exception hell that Java and in my experience PHP can end up in)
Isn't that true for most of AWS/EC2 ?
A t2.2xlarge with 8 cores and 32 GB Ram costs $685 in 77 days. You can probably get an 8 core 32GB ram Intel/Amd machine for that price. Not a xeon, not "server-grade" but still the 77 days are not surprising to me. You pay a premium for the machine to be available on demand, being in a datacenter and being integrated in the AWS ecosystem.
Regarding point (2), it's not "giving up" for a miner to shut down the equipment temporarily. It can even be done automatically.

Mining is competitive. A miner who shuts down while revenue is less than electricity cost, and starts up again when fees rise, will outcompete a miner who just leaves everything running even while taking losses.
I know, when the most complex thing you’re building is a simple Todo App, you don’t need all that
Except the fact that the result is VERY bad, you are right :)
Looks like the author suffers from Dunning–Kruger in a big way. Surely, he may know a lot, he has a MSc., not a stupid person at all, but it's obviously not enough.
> My suggestion is just learn how to write secure code in C

Decades of evidence demonstrate that this cannot be done. Even world experts introduce vulns. Writing secure code in languages with tons of guardrails is hard. Writing and evolving secure C is impossible at almost any scale.
There _are_ acute side effects, basically equivalent to a strong viral effection. I agree that long term side effects are unlikely.

https://www.nejm.org/doi/full/10.1056/NEJMoa2022483
Flutter uses a canvas rendering strategy where it’s painting all controls itself, so it’s not “native” in that it’s using controls from the OS, and therefore all a11y and select functionality is implemented custom.
What's the equivalent in rust of defer? E.g. this code in Go is buggy:

mu.Lock(); fmt.Print(someoneElsesObject);mu.Unlock();return

You need to get into the habit of writing:

mu.Lock(); defer mu.Unlock(); fmt.Print(someoneElsesObject);return

And this gets extra complicated by the fact that in Go defer runs at end of function, not end of scope. This makes every single for-loop that needs to lock anything hard to read and annoying to write.

for _, a := range stuff { if err:=func()error { mu.Lock();defer mu.Unlock(); return a.stuff()}(); err != nil {return err}}
Both types of colonies could (and should) be pursued, but for self-sustaining colonies, the isolation that spaces colonies provide is an actual advantage. There's no incentive for self-sustainability with ocean colonies, because they can easily obtain what they need from the surface. Space colonies have clear incentives, because help would always be 6-12 months away (for Mars colonies).
No, I never connected to this hotspot that I know of. In Germany Vodafone automatically enables their hotspots on the routers of people.
marketing BS, they don't
Malls were the original Search Engine for local shopping. And in 2020 it has become apparent that people do not want to live online entirely for the rest of their lives and especially around Christmas a lot of Americans want to go to the mall to shop with other people because it's funner than sitting at home clicking on crappy websites.
Interesting to see whether this will work for the "last" part. I can understand why it works while cutting off smaller parts of a longer ship, but at some point I would expect the ship not to be heavy enough. At that point I would expect it to be lifted and turned by the chain instead.

But they probably already thought about that and I just missed it in my rapid skimming of the article.
Not necessarily, but very hard to do properly.
This is my exact intention as well. I've got the tracks open in my editor and just let it play until something catches my attention.
Paying a team of iOS developers $150/hr to create apps. The Mac Mini is their CI/CD server - if it goes down then they're toast. A team costing $1,500/hr sits idle because I'm too cheap to pay $25.99/day to keep them productive? That doesn't make any sense.
Cookie splash --makes me dash
It Turns Out the Earth Is Closer to a Black Hole
Reports from PR are saying that the National Science Foundation (NSF) had lost interest in the telescope years ago and had rendered the project obsolete. I guess time will tell.
I was listening to Andrew Yang on the JRE podcast a few days ago and I found out that his entire political platform is built on automation taking away manual jobs, specifically truck driving jobs.

Truck driving jobs aren't going anywhere, not in 10 years, not in a 100 . Neither is that of plumbers, electricians or many such skilled labors. Most programmers will lose their jobs before any of that happens.
That really depends heavily on the platform and specific app. It is not there by default for most. Using canvas based rendering is pretty much as accessible as flash apps where, which is not much by default.
> I suspect that Apple will support x86 longer than it supported PPC.

Totally agree - I was surprised how quickly they dropped PPC support. The install base is so much larger now, and hardware refresh cycles so much longer that it'll be necessary. Hell, they've said this transition will take 2 years - the Intel transition took them a year to go from no Intel macs to all Intel macs.

> So, I suspect a minimum of 8 years support,

Not gonna happen. The Apple of today does not care about old unmaintained applications and definitely does not want to make computers for people to run Windows on.
> does have a history of dubious at best procurement

That is a very tactful way of describing what has gone on in this country for a while
Python library for self-supervised learning
What about building machine learning models that make predictions on said data? Can't just test on fake data.
JavaScripts Error type is so loosey-goosey that even TypeScript doesn’t try to work anything out about it. e: any; parse it yourself in your catch haha
it would prevent infection and transmission as much as any other vaccine would. you're just priming your immune system to handle something its not actually seen before. you can still get the virus, it will still affect you, but your immune system will recognize and deal with it much much faster. thinking logically, if you are given the virus, your body will still make copies for a short amount of time and you would still be able to give it to someone else. getting the vaccine makes the window of opportunity much smaller and dramatically lowers the risk that you will die from it.
No, it is dangerous because it subverts even quite well-informed expectations of a product.

If I purchase and install an appliance, and do not connect it to a network, I have a reasonable expectation that it will not not send my personal data to the manufacturer.

It is unlikely that consumers will anticipate hidden data-gathering being performed by products. We already enforce standards to validate that products will not do things like burst into flames, or emit toxic gases. It is equally reasonable to require that products being sold to customers meet acceptable levels of protection for private data.

Additionally, you are still welcome to make that trade-off for yourself. Regulation requires that you are informed and in some cases consent to data-gathering. It does not require it to not exist.
Apparently the National Science Foundation (NSF) lost interest in the project years ago and had rendered the observatory obsolete. I guess time will tell if this is true or not.
Related, Ken Thompson's 1984 Turing Award speech, Reflections on Trusting Trust, https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
> Internationally Mainz isn't exactly a famous city

It might not be famous but it played a key role in the development of the Renaissance, Reformation, Age of Enlightenment, and Scientific Revolution, as well as laying the material basis for the modern knowledge-based economy and the spread of learning to the masses.

https://en.wikipedia.org/wiki/Johannes_Gutenberg
There are reasons why writing PHP using <?php> tags mixed in with HTML is not common practice anymore and most people tend to use a templating library to have something that feels and reads more like plain HTML.
AWS Goes After Microsoft’s SQL Server with Babelfish for Aurora PostgreSQL
Yeah that would be Law XIII of the Code of Laws of the British Chess Association.

Law XIII said, "When a pawn has reached the eighth square, the player has the option of selecting a piece, whether such piece has previously been lost or not, whose names and powers it shall then assume, or of deciding that it shall remain a pawn."

No restriction on piece type or color. So under those laws, promoting to a king or a piece of the other color would have been legal.

From what I've read though, this sounds like it was sloppy wording, and the normal promotion rules we are familiar with today were actually intended, except for the option of remaining a pawn, which was obviously intentional since it is explicitly called out, and was actually the controversial part of that rule.
Can personally confirm. I had to stop lifting when I got a mild COVID case, and a couple weeks in I kept getting the random aches and pains everyone always complains about. At least for me, lifting weights makes them go away (at the cost of some DOMS for a few days, but once you're over that hump you're home free).
I think folks will be looking for forged documentation that they received the vaccine.
I am yet to see a single framework-agnostic project using Laravel, that's the main problem for me.

It's like Ruby on Rails, you're either Ruby developer or "Rails developer". Same dichotomy for PHP/"Laravel developer" for me.
Yeah, but what if this is a dream?