skysight-inc/HackerNews huggingface dataset:
Russ Feingold is the only politician I have been actually excited to vote for, and I wonder if he will run again in 2022. He will be fairly old by then.
Ask HN: Tangible drawbacks of per-developer Git branches
I happen to be debating an issue at work and I find myself a little bit starved for opinion diversity.

The main question : why should I organize my git workflow based on a feature-branch model instead of a developer-branch model?

I've been making feature-based branches for as long as I've been using Git, so I never put too much thought into having a different model for my workflow. Moreover, all popular workflows always start from a feature-branch model. So when I got put in the hot seat to provide a tangible, deal-breaking issue against organizing a Git repo with per-developer branches where every developer would have their personal branch coming out of the main branch and they would regularly pull and pull request to the main branch, I was at a loss to come up with something impromptu. I know that this sounds very weird, intrinsically, feature-based branches make much more sense, but I still have to defend the more common approach.

What concrete issues would we encounter if we were to move to a per-developer branching system?

Since the initial incident, I feel pretty firmly that not being able to put features on-hold is a major drawback. But I would feel much more confident if I had the input of other developers.
Honestly, I just wish Rails had some degree of static typing (a la TypeScript.) As a Rails code base grows and patterns are required beyond the basics, it becomes a nightmare to tell what comes from where. You'd probably gain some mileage from that in your React codebase.
Ah, thanks :)
Stellarium is one of the great under-sung feats of open-source. And it's great for learning.

A person may have learned to identify many objects in the sky. The planetarium feature (motion at various rates) makes it much easier (and faster) to comprehend how it all fits together at various times of the day and of the year. Fascinating.

For example, turn on the line of the ecliptic and watch its motion around 'due south' as the day goes by. (Wild at this time of year.) Or tell the program to 'track' a constellation (e.g. Orion) and then fast-forward by days to see how it rises/falls wrt the horizon because of the Earth's tilt. Or watch (and try to figure out) why the Moon moves all over the sky.
This is the 2nd or 3rd story I've heard like this about the Apple Watch's new ECG feature. I wasn't interested in smartwatches before, but now I am considering getting an Apple Watch, even if it's just for my parents.
Sources? Seriously, I'd really like to check this EventMachine out.
Show HN: Lazily-evaluated graphs from sympy expressions
Here's the thing about performance: even "well written" code can be unperformant.

It could be a query that isn't optimised with an index in the db, it could be best practice code that doesn't work well in the context of your app, any number of things.

At my last job we had a page that looked to be very well written, but it was taking 30+ seconds to render the page. Turns out to be a method we were calling 10x too many, because someone had benchmarked it in isolation and it didn't have any performance impact. However in conjunction with some of the data that occasionally passed through that method, those 10x calls ended up being a couple of seconds each.

That's an extreme example but there's little things you can do everywhere on a rails app if you know what you're looking for, and I would expect this to be the case in any web framework.
This is actually the bane of JS community's existence. JS developed so fast and so wildly that there was never a breather to form and write down best practices or opinions. This is jarring to someone coming from the Rails world where a lot of magic is happening, there are strict opinions (heck, it's in the subtitle of the copy) and strict conventions to adhere too. JS is wild west compared to that.

This is not to say that JS is shit but both JS and Rails have their place. If you want flexibility, you need JS. If you want iteration speed and dev productivity you need Rails.
Even interprocess isolation is not a solved problem in the face of SMT (hyperthreading), so yes- there is none. You simply can’t deliver these kinds of shared metal products and defend against cache timing attacks. You also can’t deliver these kinds of products at this price and be profitable without sharing metal, so here we are. If you care about being isolated, you can’t share hardware- simple as that.
CGI + Perl?
General Availability of PowerShell Core 6.2
| Yeah, that may have been done at one time, several years ago. But that's been pretty much stopped at this point.

Not really, it happened to me two weeks back. The domain I searched for on GoDaddy was not available after 2 hours and when I did a who is look up it was registered by Synergy Wholesale Pty Ltd another registrar.

My suspect is that there could be some triggers that would go off based on the domain name you search and other parameters and then if its something they are interested in then it could probably automatically register it or send it to another registrar for registration via an api or something.
My brief read led me to believe they're trying to bring the convenience of LetsEncrypt to private PKI.
> The problem seems to be the provision that a tech worker can be coerced by the Australian Government into creating a backdoor, and they are not authorised to disclose it to their employer.

> Is this true ? There is no way I am hiring an Australian citizen then.

No. The request or notice is served to the company, not the individual, so the company is not left in the dark.

There has been a lot of poor reporting about this law; roughly speaking, there are 3 types of requests for data allowed:

1. Technical Assistance Request - "give me this data please". Optional, no penalty to anyone for not complying.

2. Technical Assistance Notice - "give me this data if you can, or else..". Mandatory, penalty to the company if they can comply but do not comply.. but if the company would have to build a new thing to comply (e.g. they do not have the decryption key and there's no backdoor), then there's no penalty and they do not have to comply.

3. Technical Capability Notice - "give me this data or build a way to give me this data, or else..". Mandatory, and a penalty to the company if they do not comply. If they can't do the thing yet, they need to build a backdoor, unless doing so would introduce a "systemic weakness".

In all cases, it's the company being targeted. Individuals in the company only become liable for penalties if they leak information to people not involved in the investigation.

Yes, it's still a bad law that was rushed through with too little discussion. Yes, there is too much room for interpretation and too little oversight. (And yes, Australian tech companies like Atlassian are lobbying heavily to improve the situation[0][1][2].)

But we're not at the point where it's reasonable to blacklist Australian tech workers yet, thankfully.

Source: I am an engineering manager at Atlassian, a major Australian tech company; there has been a lot of internal discussion and guidance from our founders and legal team about this.

Disclaimer: I am not a lawyer, this is not legal advice, etc. Also, I am an Australian citizen.

[0]: https://www.theaustralian.com.au/business/technology/scott-f...

[1]: https://www.afr.com/technology/web/security/atlassian-leads-...

[2]: https://ia.acs.org.au/article/2019/tech-industry--fix-the-as...
The Train Station That Changed a Nation
There is so much "righteous indignation" in this thread!

I get that this Three Words thing might not be perfect, but a lot of the criticisms in the posting are nonsense. The furthest anything moved in the Japan earthquake was around 2.5 meters. Why act like this is some kind of deal breaker? If you had used latitude and longitude it would still be wrong by 2.5 meters if you didn't update it after the quake.

Some people had an idea, built it out, and everyone here is losing their minds, I don't get it?
I haven’t used sails in production, but I have tried in on a side project and it definitely was a disaster. We just started using Nest at work, which is a TypeScript framework that feels sort of like spring. It’s been nothing short of great, and typeorm is BY FAR the best orm in the node ecosystem.
In some, autism manifests as constant screaming, violent outbursts, or meltdowns. Many are non-verbal. Keep that in mind.
I think yes.

On a human level, we experiment and modify our biology constantly, eg vaccines and working out.

On a humanity level, we're researching gene editing and gene therapy, and historically had appalling theories that led to genocide, which, in its roots, was about changing humanity's fundamental code.

Proving gene editing is currently slow and expensive so it takes a long time gain confidence in result to make such a change.
Ubuntu 19.04 (Disco Dingo) Beta Released
Static-typing seems so at odds with Ruby/Rails that I can't even imagine what that would look like.
That's a huge drop for 3 years. I wonder what it is now? (presumably 2 censuses later).
I have a s8 I'm not using out of creep factor. Switched to a phone that supports lineageOS.
Looking for the Rails of the modern web stack? Try asp.net core api + AngularJS! /sarcasm. Sigh.
Most OSes have a way to specify priority for a given thread.
It's clear in the article that the lists don't map so you can't even translate between them without going back to W3W and running it through their stuff.

> So, if I want to tell a French speaker where ///mile.crazy.shade is, I have to use ///embouchure.adjuger.saladier

> Loosely translated back as ///mouth.award.bowl an entirely different location!
The NSA prevents thousands of potential terrorist attacks each year...we just don't hear about it because it's classified information. Of course one or two will always slip through the cracks. No process is perfect.
I could be wrong, but is their any country where the majority religion is classified as other? Closest is China, but athiest/agnostic seems to take it there (and probably more so if you would subdivide them). The reason for Judaism is then because of Israel.
First of all, you should use the right tool for the job. Having said that, Rails kept giving me the icky feeling. What you gain in speed of development, you lose in performance and server costs and all sorts of crazy gem meta-magic.

My current middle-ground stack is Golang API (I use go-chi) + (LitElement front-end (web components) + Redux). I'm kinda happy, though my gripe is with Go sometimes, not the stack.

To the far right where people are complaining on: React + GraphQL, etc. Well, I think you went into the deep end, so rightfully you think about veering back left again. But hey, there's a middle ground that is more "standard's based".
Επανέναρξη σε Μπουντεσλίγκα, Ισπανία και Serie A
I don't understand. One is server application development, one is client development. They are two vastly different things.

From this hot take on JS, I'd think people are suggesting that the development experience of all the other available clients are a lot better, but then I became an Android and iOS developer and that's not true either.

Swift isn't bad, but the language isn't the only thing that dictates how hard client development is. I'd rather use React than UIKit abstractions, that's for sure. And CoreData is probably the worst and most outdated abstraction I've used across all platforms. And even if I think iOS development is the ideal way to write software... it only runs on iPhones and iPads.

I mean, of course the Rails side of your application is probably nicer than the client side where you get to stay in your simple request -> response realm that runs on the same machine. If given the option, I bet almost every HNer would rather be the person paid the same to build the API endpoints vs the crapshoot that is client and UI development.

But I see this perpetually confused as Javascript vs <my favorite language I use on the server>. For example, Ruby fares pretty poorly against Node if you forget the client, like Sinatra vs Express/Koa.
Almost half of my job is just updating these JS libraries because they reinvent everything or get replaced by other libraries constantly.
I've never lived in Wisconsin but I've always been a fan of his. When I was younger and more naive I hoped he'd run for president.
With good planning and recipe selection this doesn't have to be true. Soups, stews, pasta, beans, chili etc. can all be cooked in bulk and frozen with no waste. They can incorporate leftover ingredients from other cooking and can be quite cheap.
"Guys, I have a prank idea involving phones...hear me out..."
Ask HN: What happens when code is compiled?
What happens when code is compiled? For example, let's say someone writes something in Lisp. What happens once the code is run?

Is this process the same for all languages? And has it been the same throughout the history of computer science?

And can you give an example?

Thank you.
I carry a 1.1kg Dell XPS in my bag, if I went up to 2 or 2.5kg my wheelchair would be a bit more unbalanced and more difficult to push uphill. The soft drink fits in my cupholder.
Oy vey. Astrophysics is in opposition to Popper's philosophy now, huh? Scientists in these fields falsify theories all the time.
I just updated a rails app through about 3 years worth of versions and it was minimal effort. Not sure what you mean by this. Rails seems to be very stable at this point.
I wholeheartedly agree and am going out of my way to not fly 737max and 787 (those aren’t any better. Their batteries still burn up, just now in a “metal container”. Just google ‘787 smoke’ and you’ll get tons of incidences, the last one was two days ago. And those planes fly over-water for thousands of miles - https://simpleflying.com/united-787-noumea-diversion/).

A once-proud engineering company that has become nothing more than a money-grabbing machinery it seems.
Do you not think there's a market for self driving cars that only operate in good weather? I live in the mountains and we get a ton of snow. But there are very few times where snow is actually on the ground.
I don’t understand why you would directly compare two things like React and Rails. They solve different problems. You could use both, if you wanted.
It would ideally look pretty similar to typescript. There's actually a few projects adding typing to ruby, but they seem to be mostly trying to catch issues at runtime, which to me is pointless. Or the syntax is onerous, using decorators and/or separate type definitons.

I'd be really interested in a typescript like superset of ruby, and I've even thought about building a prototype of it, though it's quite outside my area of expertise.
If you put a popular device, with a medical detection tool into the wider population, it would be logical that the device would pick up on patients who would other not notice the symptoms (at least initially, if any).

So then the question becomes what other daily device(s) could be made to do automatic health checks of certain specific indicators, which would give an early indication to the possible condition, thus improving life expectancy and quality of life, while lowering associated medical costs.

i.e. toothbrushes that detect cavities, sunglasses that check your pupils for certain symptoms, hats that monitor your EEG. These are obviously extreme examples, but you get the idea...
mainstream views of a small chinese forum are as follows:

The programers are textile women in the new era.

such a weak resisting.

other workers even work harder and receive less and they said nothing, why these programers so delicate?

and so on
> The Go standard library doesn't come close to replicating the functionality of Rails

Why would it? It's the standard library. Go has a massive ecosystem of third parties libraries, and unlike Ruby, which was a one trick pony, Go has libraries for pretty much anything you could want to do. It's exceedingly versatile and it has better integration into modern infra. Why? Because it's all written in Go. Prometheus, Kubernetes, etcd, terraform, docker, caddy, fleet, influxDB, synthing, coachroachDB, gogs, mino... all written in Go. Go is cloud first, and has first class support for multicloud abstractions written by the go team. It's got great support for rpc through grpc and protocol buffers both of which are much easier to use in a statically compiled C like language that resembled the protocol buffers primitives.

Rails literally offers nothing you can't get from Go, and it doesn't make you pay for the stuff you aren't using. With Go you don't write in a DSL based on the language, you just write regular Go code. You aren't a rails developer, you're a Go developer.
Why Mongo? Why?

Just leaving this here:
https://coincircle.com/l/50VVxbObg3
We budget around $350-$400 a month for Uber expenses, mostly for our teenage son to get to work from school, from school home on the days we can’t get him, and just if he wants to meet his friends. That’s still cheaper than even a $200/month reliable car (he’s too big to get into a little car) and car insurance which would easily be $250+ a month for a teenage male. My wife and I could probably come close to breaking even with only one car with me working from home 3 days a week.
This is a winning horse. But investors also back losers. On average they hope to come out on top.
>indefinitely

I never once suggested any such thing. If you are so intellectually dishonest that you take fixed terms and caps and turn it into "indefinitely" then there is no point in discussing things any farther.
Economically impractical, yes.

You can bet that if for some reason the demand for those phones, or perhaps other things we may consider just waste today, rose high enough, there would be enough incentive to recover them.

Look up "low background steel" for one notable example. CFC refrigerants are another --- what used to be cheap and freely available gases were used in large quantities and simply released to the environment, then started causing environmental problems, so production was eventually banned and the price shot up enough that recovering and recycling became profitable.

"It's bad to release it into the environment" doesn't motivate as much as "it's very valuable so don't release it into the environment even if you don't care about pollution."
Often increasing anxiety is very much the appropriate response to one's experiences, but still not a useful one.
Wow, I'm Australian and I'd never heard of that plant.
(Shrug) Nobody is asking us to shut down air travel and stop eating steak because of an anthropogenic increase in the cosmic microwave background.
How often will you be wrong if you assume someone is gay because they speak in the stereotypical gay manner? Almost never.
>1. Compared to JS there's always a specific way of doing things - how to validate, how to dispatch async Job, how to send emails and real-time notification etc.

This is so important. When doing something on rails you always get instructions on the exact things you have to do where as JS always seems to either give you 500 different versions of the instructions or just expects you to work out how to set it up based on everything else in your project.
That was such an amazing series, and I found it had a lasting emotional impact. I still feel vaguely hurt and angry when I think about it!
Do the non-American regulatory bodies have the power to effectively override anything the FAA decides is okay by simply saying, "these X remedies are also mandatory or the 737 MAX is banned from Canadian/EU/Chinese/etc. Airspace"?

I imagine that effectively cripples the value of using the plane without those remedies.
As soon as the subcommittees hit their break condition (0), they'll break for coffee and donuts, and I can submit my "joke" to the JAC. And I don't make a habit of repeatedly posting the same joke, but I cannot make the promise in this case.
Two other courses everyone should take, and I think they should be in high school, are basic accounting and learning how to touch type. These will pay off for your entire life. A very good investment. Public speaking, too.
Stripe has built a type checker for Ruby that they're using internally. I don't think it has been released yet, but you can get a preview of it at https://sorbet.run/.
Multiple times per day.

For input devices I have a Google home, mini, 2x Chromecast and a pixel 3 xl.

When I'm ironing my clothes in the morning/brushing my teeth/generally getting ready I ask Google home about about the weather, and have it play some music on Spotify.

When I get in my car, my phone auto connects to Bluetooth, and it automatically keeps playing my music, or I ask it to open pocketcast and play a podcast.

As I pull out of my driveway I ask it to navigate to work. I have three equal distance routes, but live traffic updates to route around accidents is super useful.

After work, I get in my car, auto connects to Bluetooth, and I have it text my wife that I'm on my way home.

Ask it to navigate home, again taking advantage of live traffic updates.

When I'm home in the evening I'll use it to set a timer while cooking, play music, control/play Netflix or YouTube red.

I'll also use it to control the lights (I use hue bulbs throughout the house).

When I head to bed I have it turn off the lights downstairs, and turn on the lights in my spare bedroom so I can set my things out for the next day. Then I have it turn off all the lights except for the outdoor ones.

Basically it's a hands free input tool. Because I have a pixel, Chromecast, and home, etc., they all work pretty smoothly together.

I like how the Chromecast combined with a home can turn on the TV, open an app (Netflix/Spotify/YouTube) and play specific media without a remote or pressing any buttons.

The pixel in the car is amazing for directions, making phone calls/sending (but not receiving) texts.

I like how I can be anywhere in the house and control music and video via my voice.

Its nice that the different input devices do pretty well with figuring out which one is closest to you to preform the action you are trying to complete. For instance even though multiple devices in different rooms may hear me from the living room, it will be the living room home that open Netflix on my living room TV.
I'm surprised that you didn't reject it for plagiarism. That's what I did when I discovered plagiarism while reviewing a paper. I wasn't an expert in some of the background material, and they referenced a survey paper on that topic, so I went and read that survey paper. To my surprise, the author had lifted entire paragraphs from the survey paper. I rejected it for that. I was actually a sub-reviewer, so I notified the PC member who had asked me to review the paper, and they agreed that yielded an automatic rejection.
How exactly did this get pushed to the front page?

This adds nothing new to the conversation and consists mostly of quotes from another article.

I was expecting an actual follow-up, and this is not it.
...and considering the cost of such perfection is considered tactless at best.

This is why the terrorists have won on 9/11. They wanted to damage the US, erode its institutions, make it weaker and less attractive in the eyes of people, and they achieved it. Not through killing people, of course, but through the continued reaction of those who stayed alive. This makes me sad.
xiaomi is possibly among the best vendors on Earth for unlocking a bootloader, there's a reason LineageOS supports nearly all their models.

Absolutely bizarre statement, who are you comparing them to? Samsung? Apple? Virtually every phone company on Earth provides no unlock support.

Theres no wait time for Android one models either.
The whole point of natural rights is that normal law-abiding people shouldn't need "opsec" against their own government or domestic corporations.
Have been following this library for years. Love it. Favourite projects were some personal desktop apps I did with it in Electron to mangle samples in cool ways for my own music projects.