skysight-inc/HackerNews huggingface dataset:
Astera Institute (https://astera.org/) wants to help solve technical bottlenecks that limit innovation in scientific publishing. Their first Science Entrepreneur-in-Residence program (https://astera.org/upgrading-scientific-dialogue/) is a great opportunity for people who want to build better tools for information sharing in the life sciences.

The Science EIR will spend the first year in residence at Astera with up to $500K in available budget. An investment of $2M is on the table for people who demonstrate progress in the first year.

Over the last several decades, the internet has transformed information exchange. #openscience communities started a movement to evolve scientific practice for these internet times. They insist on better scientific publishing. We can continue the momentum by experimenting with new tools and infrastructure to enable transparant continuous exchange of scientific ideas.

Astera is looking for entrepreneurs, founders/ex-founders and/or product people with the ability to execute and iterate quickly. Innovative products for better information exchange will come from new people with first-class tech skills. If you can visualize faster, easier paths to share and discuss scientific results, and then you can make it happen, check out this unique opportunity to innovate for better science (https://astera.org/upgrading-scientific-dialogue/).

The applications are open now. If you have any questions or thoughts, feel free to email Michele Weber, Director of Science at Astera (michele@astera.org), or Prachee Avasthi (prachee@astera.org).
> They also tended to have a hilariously poor understanding of creating business value.

Is this different than your average SWE?
> That is talking about specs, and it is exactly what the competition did too. Here in the unit "number of songs".

The statement isn't just the storage space in a convenient unit but also the approximate dimensions and weight in a convenient unit. But both parts of the statement are describing the problem being solved.

It's a good marketing statement because it focuses on a problem being solved rather than the mechanism by which the problem is being solved. The iPod had a lot of clever engineering but the marketing was always about the "problem" of carrying music with you and the iPod solving that problem.
Why not a homestead exemption instead? Benefits retirees without incentivizing housing as an investment.
Same experience: if you're trying to do something unusual (an obscure library, or a task that has minimal documentation and few usage examples in the wild), the results are usually bad, and it will very frequently try to call functions which don't exist.
I'm not sure, but I was curious too, so I submitted it for review to find out.
> ...transitioning from traditional outdoor restrooms to ones that are more cost-effective...

Sounds like they're doing it to save money, framing it in a pseudo environmental light to distract from that, and depending on Finns' sense of social responsibility for it to go well.
This is a non-sequitor I think. A bad ci system is independent from the mandate that, functionally "unless we can verify we don't break you, you can't complain when we do".
> but conveying annoyance through pedantic, overly nitpicky, or snarky junior code reviews is a management and mentorship failure

Completely agree. If I get a chance, I almost always try to have a conversation (Zoom, in person) instead of writing large walls of text. It's definitely discouraging to, really anybody, to see your review get slammed by someone.

Usually, if I see a common pattern or something is just wholly wrong, I try to whiteboard it out with them instead. I hope I've always come across nicer/a good mentor from this. I'm sure someone has disagreed :)

--

All in all I completely agree. Senior devs + managers need to set the stage, expectations, and provide the necessary mentorship/utilities needed to accomplish.

Also, a pet peeve of mine - one of my first teams I was on, a dev always commented on style issues. It got to the point where numerous junior devs complained and finally some other engineer stepped in and said "I don't disagree with your style comments, but you'd save yourself the headache if you just wrote a linter to catch that automatically." It's a pretty clear example in my mind of someone who finds self-importance in their voice being shown on each code review, when a simple utility would save everyone the headache.
Prioritize code reviews over development work. Have SLAs. If you are assigned a CR, get to a good stopping place, pause your work, do the CR, and resume. Close CRs that have become stale due to submitter abandonment.
> I don't download videos that I don't eventually watch.

I doubt it.
Azure AD only got IPv6 support this year. Most corporate networks have not switched, whole most federal agencies have implemented IPv6(due to mandates), mobile carriers are heavily utilizing IPv6 and so are residential ISPs (Comcast and Time Warner have been deploying IPv6 since 2011)
> writing SQL for CRUD is really repetitive and tedious

Agreed, and this is the primary reason that ORMs are a necessary tool. And possibly that it's easier to train a junior developer to use one than it is to get them to a basic level of proficiency (and security awareness!) in SQL.

That said, I think this is one of those areas where It's Complicated, because inefficient database calls due to ORM usage is one of the primary ways I see applications completely break down. For most types of apps I've seen, which are very read-heavy and which aren't doing intensive writes, roughly all your writes should probably be using the ORM (including such niceties as validations, default scopes, all that nice stuff), and if it's simple enough, your "show" actions (fetch and display one entity) may be fine as well, but every "dashboard" and "index" action (show many entities, basically things with joins) likely need to be written in SQL.

In my experience (Rails), the object instantiation cost is insane, much greater than the actual time talking to the DB, so not only do you need to write SQL, but you need to handle the data that comes back without instantiating ActiveRecord models.

This is much harder work (more specifically, it needs much greater skill and experience, and is easier to make a mess of) versus using the ORM and models, but only on apps with tiny amounts of data per request, or very low request volume, can the ORM be a serious exclusive option for this task. Unless you want to end up like an app I once was asked to help fix, where they were on the $9,000 per month Heroku postgres instance, and since that's the biggest one, they could "scale" no bigger. (Okay, this wasn't their only problem, their main one was not understanding that you don't sprinkle analytics DB writes all over the place because now the simple high-volume "read" pageviews can't be generated using just a read replica).
MuseScore is trash. You can't even reorder notes or rests by dragging them (and you'll get attacked if you ask about this in the forum): https://www.youtube.com/watch?v=AlJdKP5SvAc

We're talking about simply swapping the order of notes or rests in a measure, which doesn't change the number of beats or otherwise invalidate it.

Keep downvoting, apologists.
Exactly. When old people have no incentive to move out of their giant homes, there's less housing for young families, less reason to build senior housing, and home prices soar.
maybe there are other factors at play here; who knows how long would they live if they didn't live near traffic.
Or the government just collects when you sell, easy.
I definitely find this to be true. I started with a little notepad calculation on the question of "what if we replaced all gas cars with EVs?" I started adding some details and eventually put it out for anyone to see https://www.capsulel.ink/capsules/what-if-all-the-gasoline-c...

Kinda an amateur "publication."

It seemed so simple but the more I work with the question it gets more detailed and nuanced and I also keep finding errors in what should be an embarrassingly simple calculation. I think putting things like this out in the world and getting feedback is another valuable tool. I guess the author talks about attempting to teach it, which is part, but I also think getting criticism from people that know about what you are writing about is very valuable too.
Perhaps you and I have different level of trust for ChatGPT but I have to double verify its responses on topics that are unfamiliar to me still.
> You have to prosecute and pursue justice after the crime/s, not before. Justice is rarely a fast event

While I'm sympathetic to your comment in isolation, do you think there is any chance that after the slow wheels of justice do turn, these violent thugs and their facilitators are actually going to end up in prison for armed assault, robbery, kidnapping, criminal conspiracy, etc? This is the breakdown in the rule of law that people are outraged about, regardless of the somewhat unreasonable desire that justice should happen quicker. If justice were merely slow but still dependable, people wouldn't be nearly as outraged.

Also if there were a consistent pattern of rogue law enforcement employees getting designated as having acted outside of their state-granted authority, prosecuted as regular criminals, and going to prison, this particular incident would have been less likely to happen in the first place. So given the larger context it's a bit specious to say we just need to give the situation time, when time mostly serves to make the widespread attention fade.
I've noticed this for a few of the actually-useful-looking services that have popped up from people hopping on the AI bandwagon, like https://secta.ai (no relation, I just like the concept), that do stuff that you can't automate just by plugging in the OpenAI API and some prompt engineering.
But you probably will get coffee.
> "you don't want old people on fixed income forced to sell their homes because property values are going up rapidly"

Yes you do. It's called downsizing and relocating. This allows for large houses near good schools and close to work to be owned by working age folks with children. Buying and selling is one of the ways the market reallocates scarce resources.
Was the interaction with someone entitled or crazy?
you take the home equity loan against, presumably, a paid off house. That loan has to be paid back. You now have a payment where none was before. If you were still paying on the property, your new payment is now larger than it was before. Seniors on a fixed income cannot absorb that.
I don't know exactly what the answer is. If a rental property has a long term renter, I don't want to see that tenant have their rent increased by huge amounts year over year. I'm a life long conservative, but I see huge value in making sure landlords can't kick out well behaved, paying on time tenants. I also believe that landlords should be severely limited in the amount they can increase rent at renewal time.
For sure, I was only replying on whether X/Twitter will remain private in the future.
Given that Musk has put other peoples money in the purchase, they will probably ask for an exit at some point.
I think you misunderstand. I did challenge the flag in the correct place in Google's byzantine UIs. I just don't remember today exactly which UI that was.

The flag was raised against web content on our domain - it claimed our online demo was a phishing site - not on use or content of our email.
Here's another nitpick for you, Figure 1 is showing the independent variable (elevation) on the y-axis instead of the x-axis. And I don't know why they used a line plot instead of a proper histogram.
Sentiments on this is that sticking close to native as possible reduces coherency issues between anything. Adding layers of abstraction on top of layers of abstraction often reduces contextual understandings and further dilludes the problem solving technique. If the abstraction is truly needed a thurough way to evaluate executions is needed and a proper way to contextualize which that is not. In-line comments or even very easy to navitage documentation but the former thing or even both is superior to the latter.
> 1: Do what TCAS is telling you to do.

Other similar maxim is "In case you are intercepted by a fighter jet, and ATC and the fighter jet issues seemingly conflicting instructions follow what the fighter jet says/signals, and inform about this fact the ATC."

People with missiles trained on you have command priority for all the obvious reasons.
As another commentor pointed out, Widevine is already in use on many streaming sites. Where are the one-click downloader addons for those? If they exist, I have not been able to find them.

(My use case is not so much in downloading a video, I just want to be able to my Amazon Prime videos on my Linux computer at a better resolution than 720p.)
Jobs was a '60s hippie who showed up to work at HP barefoot and un-showered. If anything, he deserves the title of 'the crazy one'. His era is very different from the one that Musk, Neumann, Kalanick and others grew up in. These were rich, connected people that wouldn't get out of bed without a multi-million dollar term sheet.
I used it for about a year with VSCode, then integrated it into Emacs. I easily ignore completions I don’t need.
Rust is nothing like C. It's not even a midway point between C and Haskell.

Rust is C++ with stronger typing and a better memory management model. Comparisons between Rust and C aren't really accurate because Rust is the modern stainless steel kitchen sink that C++ can't be. Without its lovely ADTs and borrow checker it's just C++ with a better package management story. Nothing wrong with that. It won't replace C.
You try and get billions of people to do anything quickly
not aware of them identifying the owner but the "authorities" on site were caesar's security and they did the sweeps w dogs. i don't see caesar's clearing out their own venue during a convention because they "wanted to do a search". it was also during party hours when there are far fewer people and bags.
I always here about Cloud having the worst culture tho? Has that not been the case to you?
Supabase is on my shortlist for a BaaS provider if I was in the market for that and I read pretty much every article I see about it because I find it very interesting.

That said I can't take this article seriously based on the first paragraph.

> Each generation of software has corresponded with a different database provider. It started with Oracle and Ingres who battled for supremacy in the 1980s. Next came MongoDB in the 2000s, then Firebase and Parse in the 2010s.

Now I wasn't born until after the "Oracle/Ingress" period mentioned here but based on the next 2 periods mentioned I'm not sure how much to trust that either. Were Mongo/Firebase/Parse big? Absolutely and I played with them or at least followed them but to call them "This generation's database"? I'm sorry but just no.

Supabase is the closest to something I'd seriously build on top of out of the list here. Nothing against Mongo but I've always been more of a relational DB guy (DynamoDB being the exception and only recently) but Firebase and Parse always felt like outsized toys. They were really cool to play with but once things got more serious and you needed to do things outside the basic examples things fell down or got super complicated. Not to mention the skills needed to master Firebase or Parse feel very non-transferable, they are very specific to those platforms.

At least Supabase feels a little closer to the "metal" giving you a real Postgres DB, even so I'm still wary of going "all in" and, coming back to the initial purpose of this comment, I can't imaging calling it "this generation's database". If anything I'd call Postgres or MySQL/MariaDB (though this has seemed to fall out of favor over the last ~10 years) "this generation's database".

Very odd article.
If the code works let it go? That’s an incredibly low bar to set. Unless you’re working on an all-star team, that approach will quickly get your codebase in a really bad place with incredible amounts of technical debt.
I agree. Low oxygen just doesn't make sense. It's more likely the higher cosmic rays and other space weather, which are already known to cause suicidal thoughts, as well as other mental health problems.
Technologists have a hard time accepting an established standard. Email is a perfect corollary to this conversation. There is a graveyard of companies that have attempted to "Solve email", yet it is still ubiquitous and attempts to 'improve' it continue to fizzle out. I'm not saying that progress, or an attempt at progress, is pointless, but to argue that writing vanilla SQL is somehow antiquated or archaic is false and OP makes several valid points highlighting why it is a perfectly valid approach.
I think people have a reasonable understanding, they just want to have their cake and eat it too. Something with e.g. a noncommercial license (or gpl) is way less likely to gain wide adoption so people don't license it that way. Then when it does get used they call it leeching.

I think (maybe controversially) it's the same when people talk about training AI on web content. People want all the upside of their choice of distribution (wider exposure) but complain about the perceived downside (somebody other than them profiting).
> How do I do that in Phoenix ?

Assuming you have a `current_user` stored in assigns, I implement basic role access as:

def edit(conn, param) when conn.assigns.current_user.role == :admin do
...
end

If that's too long:

defguard is_granted(conn, role) when conn.assigns.current_user.role == role

def edit(conn, param) when is_granted(conn, :admin) do
...
end

It also works on LiveViews with guards on handle_event.

---

The other way of doing authorization, which IIRC is similar to voters in Symfony, I typically implement with protocols:

defprotocol Authz do
def can?(resource, action, user)
end

Then in my Post schema:

defmodule MyApp.Blog.Post do
schema "posts" do
# ...
end

defimpl Authz do
def can?(post, :view, user) do
post.public or can?(post, :edit, user)
end

def can?(post, :edit, user) do
post.owner_id == user.id
end
end
end

You may encapsulate in a controller helper like this, although you cannot use it in guards:

def can?(conn, resource, action) do
Authz.can?(resource, action, conn.assigns.current_user)
end

Now you can call it to check against any resource whatsoever. If you don't implement it for a resource or for an action, it will crash as expected.

I find it requires less boilerplate than the Voter approach in Symfony (but it has been quite some time since I last checked it). No additional abstractions either. The only downside is that it doesn't work annotation/@decorator style (but if you really want it, it should be doable).

---

However, my favorite way of doing authz is by scoping the queries. Typically all of my context functions receive either the org, the user, or a "session" data structure with both which I use as the starting point of my queries. Then I complement with Authz.can? style when that's not enough.
As a longtime contributor and moderator on SO this is, unfortunately, very true. The community has always been toxic, being a newbie on SO requires a really thick skin or being willing to withstand a lot of abuse to use the site (if you're asking new questions).

The fact that there's very no off topic also makes it nearly impossible to "build" a community out of the site as well, it's all too focused on just questions and answers and I feel no need to go back to talk to anyone because I've never met anyone at SO while I made many longtime friends in other forums.

It also saddens me that SO has killed all these smaller and more or less insular communities, i see very little movement on the old mailing lists and forums that are still up, all questions moved to SO in a way or another (even for non-English speaking communities) so I'm not sure if the site has been positive for the tech community in general.

I had so much coaching and help from people in the local and regional communities I was a part of when I was in college and later starting my career and now there's nothing like it around anymore because SO sucked all the oxygen around them. Not sure where i'd be if I was starting right now.
What If All the Gasoline Cars Became Electric Vehicles?
I know of a lot of people trying to do "arena" GC in Rust using integer indices. I think that's an excellent approach, but it does mean you have to pass in the arena as a resource to every single function which produces an allocation. This isn't even necessarily a bad thing - the net result is a lot like Zig's allocator API.

I know there's a nontrivial overhead to using index-based references, especially since CPUs can't easily predict load operations. This gives me an idea: create a CPU architecture where pointers are actually (object, offset) tuples, enabling better on-metal performance with index-based references. I've neither the time, money, expertise, nor energy to implement such a thing, but it would be really cool if it existed - maybe CHERI is a close approximation, though I haven't looked very closely at it.
HashiCorp Abandons Open Source for Business Source License
Ask HN: Interested in game engine programming, not gamedev
Hi HN,

Let's suppose that I have the chops to get such jobs, how should I demonstrate skills?

Following ideas are:

- Contribute to opensource engine such as Godot
- Build my basic game engine
- Reverse engineer old games and make a port/remake (could get in trouble, but coming from an infosec background that and finding exploits in them could scratch an itch)

As I said i'm only interested in game because of the nice problems they seem to produce. Gamedev is a notoriously harsh place to work, is engine programming less exploitative?
Enforce JavaScript/TypeScript Best Practices Incrementally with Betterer
You're spot-on. IT in government is being a liaison to the vendor that does the actual work.
Of course. People are simply playing along with the myth of Musk having 300 billion cash to play around with and throw a few billion here, few billion there. They don't realize how deeply in the hole he is right now. Plus the fact he's reckless like hell (I mean, he did spend 44 billion on a whim by signing for that whim in April).
Lol "age-appropriate housing". We used to force people to live in "appropriate housing" determined by the gov't all the time. That didn't work out too well.
NAT64 handles the "public v4-only website" use case very well. I run my desktop without v4 today and it works fine.

A few websites without v6 aren't a blocker to either deploying v6 or undeploying v4.
$100B bet that a postindustrial US city can reinvent itself as a tech hub
I have a direct answer: once you get good enough at toki pona to want to distinguish, you do some personal reflection about what a friend is to you and find more specific ways to say that, such as jan poka (accompanying person) or jan mi (my person). You can also specify whether jan li pona tawa mi (good to me) or li pona tawa kulupu (good to the broader community).
>There is strong evidence, by the opinions of developers working in those industries.

citation needed. I've listened to plenty of CppCon talks and people in those industries don't seem averse to using Rust, just pragmatic on the timelines.

BTW, Airbus Space & Defense is looking for an intern to experiment with using Rust. That's totally something that a company that hates Rust and has already decided to never ever use it would do.

https://ag.wd3.myworkdayjobs.com/en-US/Airbus/job/Manching/I...
No one is making up excuses, gmerc. Please do not confuse explanations with justifications. And yes, the cycle continuously reproduces outgroups; I am describing the cycle, and how in this instance, corporations help spin the wheel for their own cynical ends.
This is what local rent control laws are for. And probably much better for it to be decided locally than at the "one size fits all of the Californias" Sacramento would inevitably come up with.