skysight-inc/HackerNews huggingface dataset:
A lot of others have talked about the UML aspect of this post, but I want to speak to something that was more in the latent space of my reading of the post and its dislike for agile trends and a kind of supposition of something being lost by losing UML.

It seems to me that people emphasize the success of engineering disciplines outside of software engineering as a way to show the weakness of software engineering, but I think this way of looking at software engineering artifacts is misleading.

Optimization algorithms have some pretty dismal outcomes when you choose to analyze at a particular point in time, especially when you choose a failing artifact, because those failures are absolutely intentional and critical to the proper functioning of many types of optimization processes.

As an example generative discriminating processes, like GANs and like Software Creation + Chaos Engineering as popularized by Netflix, thrive on the creation of failure. Yet if you focus on the examples of failure you're missing the forest for the tree whose death is fertilizing the soil of the forest and resulting in a thriving ecosystem. Yes there was failure, but that failure wasn't an indication that the practice itself wasn't holistically valid. The failures were the means by which success was obtained. This falls directly out of the mathematics of learning.

The field envy of other engineering disciplines is misplaced. The limit of these optimization processes when expressed in code tends to be machine learning. These optimization processes result in learned creations of superior quality to what is currently produced and it seems highly likely that most fields that don't embrace this will find themselves out-competed by disruptive upstarts who aren't blind to the benefit of new technologies and workflows. Likely, some of these upstarts will be startup founders who frequent this site.

When you look at a time slice, failures look terrible. When you look at a longer period of time: failure is smarter than success. Risk aversion is self-destruction; die to live or you'll live to die.
Ask HN: Why do mobile in-app ads often look so crappy?
Even lower quality than that YouTube ad of the guy talking about toxic poop. How do these ads work being so cheap, and why are they so consistently cheap looking?
Can you enumerate why no one should use it?
Free Radical, a good SciFi novel fully available online
So business has much more power that us employees have why are you taking their side here?
Break Up the Ivy League Cartel
It's common for long distance trains to have a few local stops near the terminus (or major waypoint).
https://www.youtube.com/watch?v=2_zTZjCCoxo
Yeah I hear you, but I think the pros outweigh the cons. For one thing, I have never run a stateful V8 container, which makes scaling trivial (if the performance issue is actually just V8 and not some greater architectural defect). V8 performance issues can be overcome, and it’s not like the JVM is trivial to tune. Every workload has a learning curve.
once again there's a confusion of static types and performance. A lot of languages are performant and are easier on the eyes | type e.g F#, Ocaml and maybe Golang.

another issue is OOP damaged a lot of people's thinking. Is it a Dog or a Cat or is it an Abstract Animal ? How come the LISPs, and other functional dynamic languages don't need static type declarations. Btw LISP can be fast as C.
I will give you a tip: those dynamic languages knew beforehand to separate code from data.

These days they call it Data Oriented Programming. Before not so smart folks like called it dealing with values. Values don't change and easier to deal with negating types.

Python performance sucks, wish there was something better with close to an equivalent community. F# would've been that language but it's treated like a red headed step child by Microsoft.

And one thing about that sucks about Java and by large JVM languages well besides Clojure is the ergonomics to get started. do you use Maven, Gradle ? whereas with python -- python script.py n pip install. Yeah java has javac but you won't find anything that says use the java compiler for simple programs.
I'm saying we shouldn't block people from the internet as punishment for blocking people from the internet, we are committing the crime we're punishing. I realize that there isn't an external power that could block US access like the US can do to North Korea, which is why my original post used "sacrifice."
I had a look at Casbin in the past, in search of a Go equivalent of Ruby's CanCanCan. But Casbin looks way too complicated to use. So in the end I wrote my own unreusable, poor man's version of CanCanCan in Go specifically for use in my app (with lots of boilerplate and duplication because Go has no generics).

Does anybody else have a better experience with Casbin, or have recommendations on a CanCanCan-like alternative for Go?
Or to metabase..
To extend the construction analogy a bit - typical architectural drawings aren’t buildable as is. They often miss key details (member composition is rarely even mentioned, same with even member sizing!). Stamped civil engineering plans will often miss anything which is outside of the core structural elements being certified (so good luck figuring out the size of the beam you’re supposed to put somewhere if it isn’t a core load bearing element). Huge portions of construction are based off decades of (inconsistent) experience, in the field improvisation, cargo culting, and gut feel. The smaller/less big Corp the job, the more true this is.
It's strictly not. Marine soldiers are not asked to pass a submarine piloting test, they're asked to complete a swimming test.

Why is this important? Because how can one import a library for a problem that currently has no solution?
Forests alone won't solve climate crisis, but imperative for biodiversity
That's exactly how I approach these problems: I think that's a hard problem so how about just a brute force solution first to validate correctness? Then a few minutes later you realize the repeated subproblem structure and turn brute force into DP.
It's also politically astute to do the first major public spending in the reddest part of the state, and then connect to the endpoints who are less likely to change their minds.
I would like to know who uses this and how. It seems like deploying Ory Keto would be much better for web applications less you really need this like for a desktop application or something.
Emacs native compilation merged into trunk
Governments (and quasi-governmental entities) invest in things for reasons other than direct return on investment. Essentially all nuclear construction is of this kind.

Private investors spurn nuclear. That's because the cold financial details don't work for it. The first wave of nuclear investment in the US came to a crashing halt in 1978 not because of TMI, but because of the passage of PURPA which opened up the grid to merchant power producers (ostensibly cogeneration, but many were cogen in name only.)

If nuclear were really a good deal, we'd be seeing merchant nuclear plants, financed and built privately. But that money went to fossil fuels, and now increasingly to renewables.
Very nice! I often forget this handy thing during interviews. Good thing to impress your interviewer with :)
How to build a webpage with dynamically updated table based on a database?
I am looking for an app to build a specific type of website. The website contains a static database (for the user, at least) with structured information. The database is displayed as a table. While only a subset of the rows are relevant to the user, initially the database will be shown in full. Based on the user's input -- ideally with a couple of dead-simple buttons -- the database can be filtered to the user's liking. I'm thinking of something like the "slicer" in Excel's Pivot Tables. I'm not particularily looking to program/work with an API or customise. I'm looking for a plug-and-play database-oriented website solution. Does this exist?

I have tried:

Airtable: There does not seem to exist a simple hosted website solution. The alternative would be to host myself, and embed the (hard and expensive to customise form/tables). There is also a typeform integration. This tool seems more geared for internal team-work, not public-facing websites.
Notion: It works, but again no very good database/table hosting solutions that are customisable and have easy-to-use filter buttons (e.g. super.so does not allow filtering at all)
Similar sites that come to mind are nomadlist.com and isapplesiliconready.com -- they seem to use custom solutions, unless I'm mistaken.

How would you approach this, keeping in mind that the database is dynamic and continuously updated?
Your comments in that thread were shallow flamewar of the sort that we're trying to get away from on this site. People should certainly downvote and/or flag such posts. The reasons have nothing to do with "corporate interests"—just trying to have an internet forum that isn't lame.

https://news.ycombinator.com/newsguidelines.html
Given that fact I'm wondering if google ever researched custom chips or instruction sets for marshalling pbs, like the TPUs they worked on for ML.
If you write this style of code and don't get the optimization, then your test code and debug sessions are dog slow. Much much slower than the old giant switch style parser.

Similarly, if you make a mistake that would cause the optimization not to be applied, you'd rather get a compiler error than suddenly have a 10X performance regression.
Every single time there is a link about C/C++, I do a quick "Ctrl+F Rust", and every single time there is some rant about "but Rust is safer than C".

Every. Single. Time.

This article is about a new Clang extension:

> An exciting feature just landed in the main branch of the Clang compiler. Using the [[clang::musttail]] or __attribute__((musttail)) statement attributes, you can now get guaranteed tail calls in C, C++, and Objective-C.

(literally the first line of the article)

What does Rust have to do with this? Nothing.

Does the author suggest that you should only use C for high performance? No.
Agreed, globalized salaries should also consider people moving around and shouldn't depend on current location (unless of course money is not enough to live in the current location). I had an interview the other day with a local company that offered very sweet remote packages and a not-that-sweet on-site one. I said I would leave the country when I got the job and work in a digital nomad way, and they said that because of my current location I would only be offered the local package. Weird situations like this make me think we're not quite there regarding fair remote work yet
It's an international flight, so the price is more expensive relative to a flight between two US cities. Usually it's 300 USD to fly compared to 140 USD by rail.

Two things to keep in mind by rail to Montreal: customs add 1h, and in summer, if the rails are too hot, per Canadian regulations, the train cannot go faster than 50km/hour or something ridiculously slow like that, which adds another hour or two. Onboard wifi only works when in the US, and because of the mountains in upstate NY, the signal can be very flaky and slow.
Hours is a bit of an exaggeration (probably more like 90 minutes on my line) but that's basically true. And you have to tack on buffer if you need to take the subway to the train station.

I'll take commuter rail by preference to go into the city but only if I'm basically going in and out at normal commuting hours. I won't take it if I'm going in for an evening event or even, generally, if I have an evening event following something in the daytime. But they're basically designed for commuters (hence the name) and, in my experience, are pretty empty the rest of the time.

To your basic point, I don't think I've ever used commuter rail to connect to another mode of transportation whether train or plane. Just too much overhead.
Yeah makes sense. For me that never works so I just control the sleep time instead.
Yeah I could definitely do this, and maybe should. But the issue is so systemic due to the bad generated types that this would cloud the code without much added benefit.
Not just emergency access and ventilation but the stations aren’t cheap or quick to build either. The tunnel itself is almost always the “easy” part.
You should absolutely read "JavaScript and the next decade of data programming" by Ben Schmidt [1] before outright saying that it wouldn't be a great idea.

JavaScript does have integers (e.g. `Uint8Array`) and it also has big numbers (e.g. `BigInt`). It's true that there's not yet an equivalent to Numpy/Pandas/Scikit yet, but POCs show that it will be possible to create such a thing and that we will be able to use the WebGPU API to access higher performance than is available using Python [2].

I'm not saying that it will definitely happen, but why not?

[1] http://benschmidt.org/post/2020-01-15/2020-01-15-webgpu/

[2] https://github.com/milhidaka/webgpu-blas
Folks who study attacks also found it practical to construct binary attack payloads without particular symbols (or with only particular symbols), in that ways of providing such payloads might constrain valid symbols.

X86 attack payloads built, amazingly, with only [A-Za-z0-9]:

https://en.wikipedia.org/wiki/Alphanumeric_shellcode

I think I saw similar work with analogous but distinct constraints in addition to [A-Za-z0-9].
This might be the escape hatch from the ever-lowering spiked ceiling that is licensing instead of purchasing.

If those “buy” and “purchase” buttons had to be replaced with “license”, then companies might start moving back towards actual purchases.
Not all passions, pursuits and energy return Nobel Prizes. Something to be mindful of when reading too far into this. Still, I learn things that are interesting to me and sometimes I get lucky and people want to pay me and other times a new technology comes out and I wasted a few good years. Since I’m making my decisions on what to learn, it doesn’t seem like wasted time, but rather a shit ton of fun.
I think that I agree. I think the frailty of people, not supply chains, have been exposed. Oh man, you might have to keep your three year old car or two year old phone an extra year. Oh the humanity!
Would you please stop? You're breaking the site guidelines badly and we ban that sort of account.

https://news.ycombinator.com/newsguidelines.html
A pittance for the Gold transaction if your facilitor is feeling generous. Leave the Gold where it is, and issue a writ on the change of ownership. Rely on the Fiat system to ensure your value moves the way you need to.

Everyone who tries to make the argument that moving physical Gold is the same as a Bitcoin transaction is deluding themselves. They're conflating the logistics of commodity transfer with transfer of ownership. These are completely different things.
I tried this too. lots of flexibility (that we never needed. then had to fiddle with DB adapters, docs weren't great so had to step with debugger to sort it.

its a neat design, its a nice promise but more of a reference for building the tightly integrated RBAC (or whatever) that you need.
On a related note, anyone have insight into the purpose of crash and ride cymbals? They seem unnecessary to me (i.e., I think I would like a song just as much without them, if not more), but I've failed to find much to educate myself on the topic in the past.

I hope I don't get downvoted for this. I'd really like to know.
Not OP, but I get what they mean..

In a world of Americanos, Flat Whites, and Espressos, I often pine for a cup of "plain old coffee", something having likely stewed for hours, to hit that spot.

The ability to drink it by the mug, not too strong etc..
i don't think it is. the article isn't saying the diagramming is dead. it's saying uml is dead.

using boxes and arrows isn't uml (full uml) and as you say, it's wasting time to go "full uml," which is why it died. diagramming will live on, even if inspired by uml.
> How is VS Code so popular, if its big brother Visual Studio can do everything it does and more?

I only know extremely few people who'd use VS Code for C++, so "popular" is really ecosystem-dependent
Progressives don’t like responsibility because it is complicated to balance talk of personal responsibility with that of social justice. The hardest part of being a minority is that one can blame almost all of ones ills on the state of society, and be correct to do so, but in doing so one loses personal control over ones life in the day-to-day. We have to act as if we have responsibility even if we don’t, just to be sane. It’s the same line of thinking as believing in free will. If you don’t believe in it deep down you will almost certainly fall into a depression.

But right-wing rhetoric flips the script and says of course we have to act with responsibility, because we /really are/ responsible at the lowest level of reality. If your life isn’t going well then that’s your responsibility to fix it and yours alone. Minorities and poor people hear this and either beat themselves up or reject it outright, since it is a half-truth at best.

So now talking about responsibility is tied up with bigotry, which I think is really unfortunate.
The 'modern' stuff is just the enterprise crap all over again. Annotations everywhere that don't do what they say. Contexts and Factories. The Beans are called Components now I guess. Incredibly slow startup and shutdown of apps. Tests that require all the components in the system to standup before you can test one endpoint of your controller.

> incredibly mature runtime
Cool, but do note that modern is by definition the opposite of mature.

If A was invented before B, who cares? I want whichever one's better.
You mean the hydraulic termination shock?

Something like this:
http://3.bp.blogspot.com/-ryzFfMYaEV4/TZist3z0dxI/AAAAAAAAAE...
It's a bit prevalent, not very, but more importantly Spring is built entirely around AbstractBeanFactoryFactoryInstantiators and we're all using them by proxy.
Still early days, but I disagree with some of your assertions. Seems to be a bit of an echo chamber in osh these days...

The effort was not created in vacuum.

-The skywater effort sits on top of darpa's openroad (I am currently on the board and so is serge)

-Prof Gaillardon and Xifan created the "openfpga" open source generator and taped out a skywater and 12nm (see woset best paper) [edit: and they are the founders of osfpga]

-Vaughn Betz created VTR which symbiflow is based on.[edit: and he is on the board]

-Yosys/Claire has done amazing work but it was possble thanks to Alan Mishchenko's ABC. De Michelli and Gaillardon have similar package to ABC that is definitely worth a look.

-The fees seem to be in line with other organizations, chips alliance, riscv foundation, etc.
It seems there are a number of emerging solutions to this problem. Casbin, Ory, and Keycloak come to mind. Has anyone tried multiple of them? I guess the nature of the beast is you probably only use one...

My main concern is stability, e.g. will this project be around in three years, and if not, is it grokkable and stable enough that the community could understand and maintain it?

We ended up rolling our own authn (kind of regrettable, but at least gives us some predictability and one less thing to update) but have not yet implemented authz.

Would be curious to hear from anyone who's recently chosen between these options (or others) and is happy with their choice.
> posting a salary range has many positive downstream effects

I agree. I'm just not sure if I agree that it particularly benefits underprivileged groups. I don't see a compelling argument being made by the author that the system of negotiation specifically is biased. Whether a salary range is posted or not everyone has to negotiate and engage the market. There is no way to get around this and if you aren't willing to do it you are going to be taken advantage of.

A salary range posted by the company who is trying to hire you is not going to tell you how much you should be making there. They are going to try to pay you less. It seems like what people really want is for employers to magically pay everyone exactly what they should be making without negotiating, which is simply not possible, because nobody knows what they should be making until the market sets a price.

> The first is that better candidates will get the maximum salary out of a company, and less qualified candidates will get less.

I'm not assuming this. In my experience whether someone negotiates more or not at all has more to do with their experience around the process in general. More junior candidates or candidates who haven't switched jobs more than once or twice are more likely to be underpaid. I personally screwed this up about 4 times before learning my lesson.

> minority candidates will be looked at differently when asking for money

I don't disagree with this. I don't see how posting a salary range changes this. If the company / market is willing to pay less to an underprivileged group, that is going to be reflected in compensation regardless of whether a salary range is posted or not.

> There's also the difficulty of determining one's worth

The way you determine what the market is willing to pay is to find out what the market is willing to pay. There is no other way to do it. For someone looking for a job you should try to get multiple offers, negotiate them, and see how much you end up with. That number is as close to your market value as you are going to get.

> this ignores the fact that our society is set up to encourage confidence in straight white men and discourage it in many other group

I guess I really just don't buy this argument as it pertains to this topic. Negotiating compensation shouldn't be a matter of confidence after a certain point in your career. After you have done it a few times it is not very intimidating. It is a fact of life and something everybody needs to learn to be comfortable doing. If you can't become comfortable doing this, you are going to make less.
Cough Cough Massive Hypocrite Cough https://www.dailywire.com/news/lawyer-covington-kids-threate... Cough
> UML is nonsense

Eh, uml is a tool. Pretending to document fully or even to have uml as ground truth is a fool errand, of course, but since our daily job involves taming complexity, any system of knowledge partitioning that one can assume everyone else understand is a godsend
> There is simply no future in which passenger rail competes with air travel in the US. Even in circumstances where the distances are not too great, and the political and bureaucratic hurdles are.

This ignores the existence of climate change. Air travel is not sustainable and air travel is least amenable to conversion to hydrogen or electric.

As you mention, the chief barriers to HSR in North America are political and bureaucratic, not practical. What's missing, then, is the political will to do hard things.

Governments used to be able to do things, when the situation demanded it.

http://www.thepaincomics.com/weekly080730.htm
Do the things that doesn't matter
> ... yet there are no affordable devices like this.

Watchy costs about $60 [0]. There is also a dude who put together a guide with how to make one yourself and even lists the components [1]. An e-ink display for his watch costs about $10 at aliexpress. (The components are pretty similar, screen likely the same one.)

If it is possible for some dude on the internet to build their own smartwatch and a crowd funding campaign to do it on a slightly bigger scale, why are not more manufacturers doing it? That is really what I am wondering about. The whole "screen supply" argument seems like it is a non-issue. Is it really patents?

Maybe an e-ink screen is just too boring compared to an Apple Watch's OLED screen?

The other question is why are transflective LCD's so rare? Googling for it, literally only Amazfit seems to still make them.

[0]: https://www.crowdsupply.com/sqfmi/watchy

[1]: https://github.com/pauls-3d-things/espWatchOS

[2]: https://de.aliexpress.com/item/32846836344.html?spm=a2g0s.90...