skysight-inc/HackerNews huggingface dataset:
> But how is it that it's not really a problem in Estonia, where we have strongly e-identity attached to a citizen

I have no idea how your dispute process looks in Estonia. What happens if you lose your national ID card, don't realize it for a week, and someone has used it to do a bunch of things in your name? The sensible answer is that anything unauthorized should be rolled back or otherwise not attributed to you. This need is obvious when an "ID" is a plain 10 digit number. But when the average person can't imagine an ID being cloned because it's stored on a "smartcard", then it's a lot easier to sell responsibility as being on the person that lost their card.

> You also have SSNs which is a government-mandated ID system that keeps you as rows in a database. Stop the holier-than-thou please.

I only left off SSN next to license plate and driver's license number for brevity's sake. I was directly referencing ongoing problems here, so I certainly wasn't trying to be "holier-than-thou" in some kind of nationalist cheerleading. My point is that the existing ID systems that exist are being straight up abused (license plates -> ANPR, driver's license -> Retail Equation, SSN -> LexisNexis, for some of the most blatant abuses). The USian political philosophy discourages any sensible regulations that would reign this in, and that needs to be fixed before providing even more raw data for surveillance companies to build on.

In Estonia, how would you deal with a supermarket deciding to make it so that customers wanting a sale discount card have to link their national ID?
And eventually, perimeter ;)
I've been in an Uber in Boston where this was the case. They had a tablet hanging off the front passenger seat that alternated between trivia questions and ads.
Please stop redesigning things that work (and are debugged) just for the fun of it. I've only just upgraded past the iteration of KDE which decided to steal focus with its notifications, no matter how much I customized kwin's focus stealing prevention. My current iteration's plasma system tray will stop expanding every couple of days. Reproducible on two systems. It's fun.

I mean, how many times can you redesign a logout screen, really?
Django. Django generates the schema migrations automatically from the changed table schema definitions that the developer used when testing their branch, and those rarely cause problems. Data migrations need to be tested against staging DBs with realistic data. But neither is really a major pain point: individual developers create and commit the migration files while preparing their branches for review.
> Uber Technologies Inc. is a transportation network company (TNC) offering services that include peer-to-peer ridesharing, ride service hailing, food delivery, and a bicycle-sharing system.

https://en.wikipedia.org/wiki/Uber
> Michael Strano, professor of chemical engineering at MIT and the senior author of the study, said: 'The vision is to make a plant that will function as a desk lamp — a lamp that you don't have to plug in. The light is ultimately powered by the energy metabolism of the plant itself. Our work very seriously opens up the doorway to streetlamps that are nothing but treated trees, and to indirect lighting around homes.'

Someone help me... I can’t make the numbers work. How can you create plants with enough energy to provide light to read or make your neighborhood safer without sharply increasing their food supply & metabolism? They’d have to photosynthesize vastly more than they do already.

Also those pictures, if genuine (and I don’t think the picture of the tree is) are definitely long exposures.
Indigenous peoples, 'guardians of Nature', under siege
> Technically there is nothing I don't like about JVM right now, everything that seems impossible 15 years ago is now solved.

Value types are a major missing piece in the JVM stack right now. It's at least on the roadmap, but it keeps getting pushed back and back and back. I'd also argue runtime generics is another one, and perhaps more depressingly one that is unlikely to ever get fixed.

.NET has both of them and also has the same core strengths JVM does, so given the choice I'd go with .NET over JVM 100% of the time as a result. JVM's GC & JIT seem to be on a never ending improvement cycle, but the actual language & core libraries are incredibly slow to react to anything.
Easier to teach an engineer how to program than to teach a programmer how to engineer.
I think the sensible conclusion here is that the two companies have such different business models and goals that it doesn't make much sense to compare them at all.
The goal of enterprise dev process is no matter the outcome is, nobody is to blame.
But that is most important part of migrations to throw that error so you are aware of it. First thing you fix your db and then push to test server, and you never have broken db on production, NEVER.
Black, Hot Ice May Be Nature’s Most Common Form of Water
There are many common aircraft that can't dump fuel.
I'm pretty sure it's possible to get it to look like "choose { cases... } end;" instead, which is what I did in a mostly joke library I wrote to see how far I could go with the C preprocessor:

chan_select(2) {
chan_case_send(c, &foo, 0):
do_stuff();
chan_case_recv(c, &bar, 1):
do_other_stuff(bar);
} chan_select_end;

But the implementation (https://github.com/iriri/libcee/blob/master/include/cee/chan...) is both horrifying and not as efficient as just doing the sane thing:

chan_case cases[] = {
chan_case(c, CHAN_SEND, &foo), /* unfortunately still a macro but it's basically just a struct literal */
chan_case(c, CHAN_RECV, &bar),
};
switch (chan_alt(cases, 2)) {
case 0:
do_stuff();
break;
case 1:
do_other_stuff(bar);
}
We have some java 1.4 code, which is running on OC4J app server version 10.1.3 with apache tapestry version 4.1 app framework. I have to look up some official documentation on the internet archive because much of it is 404d. Can someone please top this? :)
> Back in my day, we installed games from DVDs and used cold cathodes for RGB.

And we liked it that way!

cough cough wheeze
Swift currently supports Linux and has unofficial support for Windows. It's open-source and compiles via LLVM. Commercially Apple has been unenthusiastic about fleshing out its support for non-Apple platforms, but the open-source community has partly filled that gap and there's lots of enthusiasm in the community. Given the recent decline in Apple's hardware sales, they could be heading for a Microsoft-like rebirth into a company that's forced to play nicer with others.

https://forums.swift.org/t/swift-as-a-cross-platform-languag...
Yes it is. (Except when they made makemigrations be like O(2^N) or something in the number of models around 1.9).
I once worked at a company in London who called an emergency plumber out who charged £5 per minute. It cost ten quid just to get him in through the front door and up the lift.
this is super interesting, I had similar experiences. Except I am still happier having loved and lost.

Can I ask how old you are?
Prehistoric Native American Woman Shot with Four Arrows Died While Pregnant
India Investigates Google for Suspected Android Abuse
How did this get to the front page with a dead link?
Go to a doctor, get a prescription. High BP is something you don't want to screw with.
Running this on Google Cloud Run with Postgres will be a pretty good idea.

It is super difficult to earn money from freemium developer tools.
Old news I guess..
> Generics interop just fine on .NET

They really don't. They have posed severe restrictions on features in languages like Scala and F#, and take a look at Clojure, Python and JS interop on the JDK as opposed to .NET.

> and async/await had become a starting point for similar designs in many other languages.

And it's a mistake in most of them. Java has copied some of C's mistake, C# has copied some of Java's, and others may copy some of C#. Every language/runtime both repeats others' mistakes and adds a good helping of its own.

> I don't think you'll find many people who actually write code in that ecosystem agreeing with either of those claims.

I can only express my own opinions (and I think reified generics, as implemented in the CLR, is a far bigger mistake than async/await, which only affects the C# language), but I am far from being alone in having them. Also, I have no doubt that async/await is an improvement on the previous situation, which is why people like it, but nevertheless I think it's a mistake as there are alternatives that are more convenient, more general, and have less of an adverse impact on the language (e.g. Go's goroutines).
Agreed. I use Dear ImGui, I like it, but it's certainly not a general purpose tool which you can replace Qt with (or vice versa). It's a completely different project made for different use cases, and "nothing jumps out to me" in the list of cons sounds a lot like "I just started using it and I love it".
Instead of paying $350 to a security analyst, I'd better pay them to an independent closed-source developer who makes a living from his software. Why would I trust some analyst more than the guy who works on his project with great care and dedication for over 10 years now?
>For example, if there is a story that is bad news for a certain company, that company could organize a downvoting campaign to hide it.

That's how story flagging currently works though, and is significantly more effective
IT runs on a wide array of technologies. Desktop games and 3D graphics which the area I focus and obviously a massive part of the software market if we include consoles and mobile devices , C++ still is king. Most games nowadays use either Unity or Unreal, which is C# or C++. Java is almost completely absent apart of course from the Android. Of course native iOS is still Objective C and Swift. AI another field that interests me is dominated by Python. Also if we venture outside the commercial part around 40% of software is written in languages that you will never hear anything about them . Mainly because are small projects where using any language is not an issue. Generally a vast majority of the IT is definetly not Java but a wide group of highly popular languages mercilessly bombarded by thousands of unknown languages struggling to gain a fraction of a percentage in terms of growing their community. Essentially strength in numbers. Software is chaotic field of countless of technologies. Even something as big as Java has no hope of dominating because it’s impossible for a language to excel in billion different scenarios. So don’t worry Java won’t be conquering the Software world any time soon.
> Yet. I have been in plane on fire

Commercial? What happened?
My thoughts exactly. But it's a major paradigm shift for those coming from the world of Rails/Django/etc migrations, and that unfamiliarity understandably leads to some initial resistance and skepticism.

fwiw, other declarative tools are starting to pop up -- besides my tool Skeema, some others I've seen recently are Migra [1] and sqldef [2]. And meanwhile a bunch of enterprise tools for MS SQL Server have operated in the declarative fashion for quite a long time, although usually with GUIs instead of being git / pull-request-driven. So I think/hope it's just a matter of time before this concept becomes more widely known.

[1] https://github.com/djrobstep/migra

[2] https://github.com/k0kubun/sqldef/
This is a fairly typical approach minus the pain points of our specific migration system for Mongodb as far as I know. We favored application level transforms for the sake of safety and speed. Doing that obviously gets really bothersome as time goes on though.
Or... print your own:

https://www.thingiverse.com/thing:2702518
If anyone is looking for a javascript specific solution, I maintain a module originally written (and abandoned) by TJ.

$ npm i migrate

https://www.npmjs.com/package/migrate
I don't think it's worthwhile to engage in applied versus pure "math war" either, but I don't really agree with the point you've made. All applied mathematics has an axiomatic basis. When certain mathematical theories can be "applied" to real world problems, it simply means the relevant axioms and definitions are a robust approximation of reality.

To speak to your example directly: machine learning absolutely has an axiomatic basis. You can conduct legitimate research in implementations and software or hardware optimizations thereof; however, fundamentally every experimental result in machine learning is an application of a variety of theorems in linear algebra, probability theory or calculus.
TiVo to Split into Two Companies
Same. I've followed her awhile because she's amusing and generally quite sensible. She was absolutely right to be scared of these.
AI can now defend itself against malicious messages hidden in speech
Swift++: a Swift fork for those who prefer Smalltalk
Would be very interested to see the economics if drivers could set their own pricing.
We are thrilled that the SEC has officially approved the Long-Term Stock Exchange as a national securities exchange!
404 wizardry
Why the need for such a petulant and childish response? Did I say that Google and Benson didn't contribute to USB-C? No. Neither did I phrase it as if Apple was the only contributor.

So what's with the defensiveness?
Even the list of platforms is kinda pointless here, as Dear ImGui doesn't really support any platform itself. You're expected to write a glue yourself, with some examples for popular libraries/frameworks/engines being provided for your convenience (and those examples alone already go further than just four platforms listed in the article).

On the other hand, Qt is a whole framework itself which already handles all this stuff for you, which makes a lot of stuff easier, but then you're of course limited to what's supported by Qt.
nice! thank you!
Ask HN: We have free SSL certs now. Isn't it time we got free domain names?
Is it possible? What's the actual cost of maintaining a TLD registry? Can it be funded like LetsEncrypt?

(Ignoring blockchain-based name registries as they aren't universally supported, and still cost money.)
Reminds me on the place I work. We have many projects for many clients. ASP.NET Web Forms, ASP.NET "old" MVC. We don't have webpack, we use BundleTransformer. We don't have MongoDB, we have SQL Server and NHibernate or Entity Framework. .NET Core is not even on the calendar yet (maybe a little bit sooner now .NET framework is essentially deprecated). We use Knockout, though a replacement is being researched on. Our code is stored in SVN. We use LESS and Typescript 2.x, modern eh?

If you have a single or a small number of products to maintain, because that is your core business, you can afford to upgrade and experiment, revert if necessary. But not if you have many projects, because those projects are per definition smaller. So you take smaller steps, less risky steps. You can't move that fast, it simply cannot be done unless you can create a business case for it.

The real challenge is to resist, as the article states, all the new stuff you get slapped with every day. It is not harmful to say on a bit older technology, technology which may _seem_ to be of another era. It is still useful, and as long as it isn't a business risk it is often not a business case.
doesn't matter, made $8,100,000,000 in a day

should really start looking at this from the underwriter and issuer perspective to understand the success story here. Retail buys ticker symbols that have been marketed to them. Everyone else dumps. Company made a ton of money and can do whatever it wants with it, they gain nothing from secondary market trading today. VCs, founders and employees can't sell for another 60-90 days, but founders can give themselves big bonuses (and employees too but I mean.. lets be honest)
Looks like it's going to be released soon: https://news.ycombinator.com/item?id=19881693
Why does it matter what the tool is written in?

If anything, I'm a lot less likely to use something written in JS when correctness is absolutely paramount.
Bet this is embargoed until the 1:30 PM PST launch. Should have gone up post launch...
> "Anyone with a small child at home would rather have a wilkinson/gilette that are safes (blade-wise)."

Fair point, I'd mount a sharps bin high on the wall where I could reach while standing but out of reach for the young kids.
Ask HN: Is Data Science still the sexiest job of the 21st century?
I have a friend who has been feeling disillusioned about Data Science - the sol-called sexiest job of the 21st century. So trying to understand a bit more from you all...

Do you think data science is still the sexiest job of the 21st century? Why or Why not?
I was in a low-speed motorcycle accident once (no real injuries, just a long bruise down one side) and remember literally nothing that happened in the first five minutes afterwards, even though I'd somehow gotten my bike off the road with the help of a witness during that time. I didn't even consciously check myself for injuries until after I'd copied down the license plate number said witness shared with me.
Chaos, Order and Creativity
Thanks for pointing this out. I completely missed it when I read the parent comment. A neat trick.
Gave me an idea, so I checked thingverse... sure enough there's a 3D model for a roll-your-own DE razor - just add blades:

https://www.thingiverse.com/thing:2702518
Tiller is amazing for personal
I think you misunderstood something here, corporate IT's main purpose is to prevent people from working efficiently.

https://dilbert.com/search_results?terms=information+service...
Embrace -> [Extend] -> Extinguish

Now that Chrome is quickly becoming (if not has outright become) the new Internet Explorer, I wonder what browser will come out in a few years to be the next Chrome?
Odd what constitutes a “bullet train”; the maglev train in Shanghai hits 430kph and has been operating for quite some time (albeit over a short distance).
There is almost zero application for Swift outside of an Apple environment. I'm willing to bet there is precisely zero production code written in Swift for Windows (or Linux).

Anyhow, the Windows API (.net, C#) is better and has a brighter future and present.
Two possibilities there: either your secret was published to others, and it's not a secret anymore, or it wasn't, and you can easily remove it. (Even from your local repo, if necessary remove the relevant blob hash)
Thank you for your answers!

Do you pre-filter clients at all to ensure they have the budget? I've done scoping work for free, only to learn afterwards that the clients budget was 10% of what it needed to be. Do you just accept that as part of doing business, or is there a way to avoid it?
Thank you, the Fowler article is very helpful. Does your team have someone act as a DBA to oversee each migration?
Cattle mostly. These are rural farmers who are looking after livestock / crops
That's how big a deal it is.
That's correct. The DML changes as part of CI are somewhat new so we haven't ironed it all out yet.

Here's the scenario that I think you're laying out:
1. Commit A creates column foo
2. Commit B has DML that reference column foo
3. Commit C removes column foo

This works fine if our CI deployer does each commit individually. First roll out any schema changes, then run any DML SQL.

However, our deployer might pick up all those changes and since we roll out the schema migrations first (in this case a create + drop -> NOP) and then runs the DML (which will error), this is an issue because of the rollup.

In practice, we have yet to see this case (most of the time, the dev who write the DML is close enough to the code to know if it's going to be dropped soon and we don't drop that many columns - in part because we know that there be dragons) but truthfully, I haven't thought about it much and need to think through what the impact is beyond this example. Thanks for helping me refine my thinking and I'll have something to ponder on this weekend!
AuCalc – Aurum Calculator – PFM
1 trillion people living there. Right.
You should checkout new RedHat framework - [Quarkus](https://quarkus.io/). This is a framework which leverages Graal to create native images. Those images are very small and optimized. For example one of Quarkus developers showcase the size of native image, spoilers - it's [19MB](https://youtu.be/BcPLbhC9KAA?t=103). It takes 0,004s to start.

In [this](https://youtu.be/7G_r1iyrn2c?t=3104) session, RedHat developer shows how Quarkus application is being scaled. Comparing to Node, it's both faster to respond to first request and have smaller memory footprint (half the size of node).
> rehypothicated

Off-topic, but: thanks for teaching me a new word! I found that the correct spelling though is "rehypothecated". According to Wiktionary:

> (finance) To pledge hypothecated client-owned securities in a margin account to secure a bank loan; usually used for mortgages.
They (Taxa Biotechnologies) also raised money on WeFunder, where I invested a little bit. They switched from glowing arabidopsis to glowing tobacco plants because of problems with the genetic engineering, then pivoted to moss engineered to generate scents. Then they ran out of runway and that was that

I'm still fond of the idea, even it was only ever going to produce a relatively weak decorative glow. I'm sure it will pop up again in some startup eventually, now that we have CRISPR.
What would be more interesting than running Swift in the browser is running Wasm on Android and iOS. That would bring some true code sharing between the browser, mobile and backend! And also easily allow constructing apps using pieces written in any of the languages that nicely compile to Wasm.
On the other hand, there are too many activist journalists. People whose main goal is not to report the news but to push a political or social agenda. I particularly despise the ones that do smear attacks. I've been burned too many times by trusting these "journalists" that if a stranger tells me they're a journalist then I trust them less than I did before knowing that.

The risk with the government paying the media is that the media stops being independent from the government. Some of that media is basically going to be propaganda for the government that's funded by taxpayers. But, if journalists were paid by taxes then perhaps we would get less clickbait. I'm not sure how it would affect activist journalism though. I'm afraid it might even increase it.
Or better yet, get a shower mirror.
Based on the description in the article, they do sound horrible - little land mines waiting for one small step to send a cloud of death into the air.

Doing a bit of research, the Wikipedia article gives better information https://en.wikipedia.org/wiki/M44_(cyanide_device)

As I see it, they're basically an alternative to traps that don't kill quickly leading to animal suffering. They're designed to be really hard to trigger - the design was to have the animal put their mouth on it and pull hard.
I didn't think it was that hard. I cut myself exactly once, and then I learned to pay more attention to the knife I was dragging across my throat :p
I would be interested in seeing all traps outlawed. As someone who hunts, I see traps as a cruel method to reducing animal populations. They can harm or hurt many unintended people & animals. They're also often not well maintained.
Congress Rep. Brad Sherman calls for the ban of all cryptocurrency
> We commit the migrations along-side the application code and in our case we use FlywayDB [1]. The only down-side is that this tool doesn't perform roll-back operations automatically. You can always do them by writing another migration that goes forward to the past.

I've done that too, and agree re: rollbacks... I've also never been a huge fan of the fact that the final, in-production server isn't ever really reified as a source file. What you have instead is the initial state and a bunch of migration files. It works, and it's the most reflective way of how the final schema got to that state, but it's not the final state. I guess that's the trade off of the relatively unsophisticated approach taken by tools like Flyway.