skysight-inc/HackerNews huggingface dataset:
What's the upside of deploying this anyway? It's not as though it's similar to Facebook where these names are very publicly visible. It's just the drivers who would see the names.

They could just generate the list of questionable names and get support to give them a call about it or institute a rider identity verification programme.
Anime Floppy Disks, a Thread
Announcing auction / Auksion elan edirəm
why recommend inputmode if isn't well supported by other browsers that aren't Chrome ?
You're basically saying the Nest is still primitive. Yes it is! It's even blinking on its front page https://nest.pijul.com
To be honest I don't get it. What language was this in, that you couldn't duck type the data or make the data structures inherit from some shared interface that encapsulated the commonalities?
Show HN: Send mass dynamic text messages from Google Sheets
Show HN: Competitive Programming Helper
When I have the time I will port it to JavaScript to make it universal on all systems. But for now it only works on desktop machines that run Haskell. The installation script is only good for the UNIX for the time but I will add for windows
Astrology paved the way for predictive analytics
Fixed :D Thank you for the feedback!
FYI, a fusion between prolog and haskell already exists: its called mercury. Its a statically compiled language with decent performance characteristics (at least, in its category).
I might agree with this perspective if third-parties weren't involved, but unfortunately when dependents, often children, are added into the mix I think there is some justification for regulating away options that (at least objectively) can be harmful.
I’m just wondering where you draw the line.

As with everything, it often becomes a big grey area on what is acceptable and what is not.

Example: my (fictional) company sells a B2B platform which provides companies with an online marketplace or some other type of online application. Each installation requires different, though often similar, integrations with the customer back-ends - think Postgres vs MySQL, but some customers may also use TotallyEffingObscureDB, which doesn’t even speak SQL. Those backends are usually the source of truth for the entire stack, storing user data, etc, the local data is just a mirror.

So, given this scenario, how should we approach user registration processes? Is that a product component or custom (not DRY) code? What about all the other (similar, common, and basic) features of our platform that every customer wants but invariably needs to be implemented slightly differently?

I’m only posing these questions because I worked in a situation where something similar happened, and it wasn’t dealt with well, and I’m wondering what other HN coders have to say...
These anti-pleb AHEM I mean anti poor diet measures will improve the overall demographic quality AHEM I mean health of our city's occupants. All claims of "forced gentrification" are absurd. We do this out of genuine disgust AHEM I mean compassion towards the lower classes.
Ask HN: A dev taking 2-week break to learn, what tips do you have for me?
Hi, I am an experienced software engineer here in mid-career stage. I never had formal CS education.

For next two weeks I will dedicate my whole time to learning only. The goal is to get more productive at engineering new solutions as well as collaboration.

Suggest me some topics, share some tips
NodeRed. I’m pretty good at it by now. We use it in our hackspace for home automation and at work for prototypes.
SMS is plenty secure.

I wonder how many of these ultra security crazy people lose their accounts because something happens with their login method.
Hey, sorry for that. I made you the single line installation script :D reload the page and hope you like it :D
but it was used in many places, so the rule of three applies.

Personally, I would have kept the code that he wrote and made something that handled the special cases you are talking about.

Everything should be replaceable, not extendable. Now if the special cases change, my code can be thrown away without changing the data feed code.
The UK's pound store chain is just mediocre for food - small selection, and what they do sell is typically the same price as the supermarkets these days at best, often because the supermarkts noticed where they were worse and discounted their items. (They do cheap pre-packaged sandwiches though.) I don't think you could really do a full food shop there. For other household items they're usually quite good value compared to everywhere else though.
Man, I don’t think I’m going to read something as hilarious as your post today, and I haven’t even read the Onion today.

Do you also consider cheese a food for juveniles? Do you consider butter something that is only for children?
If someone rewrites my code better than me, I feel like I owe them a beer
Here is a demo video showing the dynamic variable replacement per message: https://youtu.be/r8eOM1FPOLE?t=331

Happy to answer questions :)
Quite right. I used to be on GitHub and they banned me because of my nationality. So I had to make my own server. I still haven't had the chance to made the SSL work, sorry for that, but issues were really bigger than that so...
Generic enough code that can be adapted to future cases is code with clean architecture that follows standard OO principles.

On the other hand, trying to handle all the hypothetical cases because "that makes the code generic and future-proof" is usually a complete waste of time.

My view is to develop the simplest, well architected OO code that can handle the use cases at hand.
> this is a non-factor for most.

That's precisely why they are getting away with it. But once you get targeted by them, there is no way out.

If you hire one bad person with a banned account, it can happen that all Google accounts of the entire company are being banned, including your company's apps on Google Play, etc.

On Youtube, even famous people like cgp grey got into issues with Google which claimed that cgp grey was impersonating himself.

The core issue is that you can't have online spaces be free of rule enforcement, but the same time, in most if not all places, rules are enforced quite unfarily and without due process. For individuals this can mean social isolation, but for companies it can mean the end. There were some stories about this here on hn.
It's obvious projection. Centuries ago we lived in a dome, in the 18th century we lived in a clock, now we live in a computer, soon enough in a quantum computer. Give it 50 years and we'll live in the new fad, and giggle at the old fools who thought we lived in a simulation. So primitive!
https://www.reddit.com/r/rust/comments/78bowa/hey_this_is_ky...
> ...and you want to rewrite code I wrote...

I think the key to most of this situation is right there. It's also something the original author largely misses.

The key is this: want.

If you want to rewrite some code you find, then kindly leave that keyboard and go play with some toys. This, "wanting", is the actual origin of the author's anecdote. "I saw this and I thought it was bad and I felt the urge to rewrite it". Ok, but don't.

What is missing is knowledge on the circumstances of the code. You see some piece of code and you're only seeing that, the code itself. But why is it that way? Is this code supposed to be modified/extended/reduced/deleted in a near future? Frequently? Or simply, as a first question: Does this code need to be better?

And even if the answer is yes, then in what aspects does it need to be better? What does "better" mean for this piece of code? Did you want to just make it cooler looking because you didn't like it? Or have you actually detected that some of the needs this code was supposed to fulfil aren't being fulfilled? Of course, if you only now saw the code and do not know what those needs are then you're in no position to rewrite it, just because you want.

But then again, if there is indeed motive to rewrite it, by all means, do.

Following this idea will probably lead to having to ask, sure. But you won't be asking for permission, you'll ask because you need information before you can decide.
What projects is everyone working on that they have the time to keep rewriting each other's code all the time? :)

If such teams did code review, maybe they'd get it right on the first commit and would only have to refactor when the requirements change or there's a clear benefit.
Yeah but it wasn't the prettiest. What I learned through my experiments was that not all of the notations render beautifully and so I chose a subset that is pretty and kept the rest rendered just as functions. This honestly wasn't a try to have full mathematical notation rendering, but rather my own preferences of notation rendering. Yet, I hope you enjoy it :D
> If removing repetitive code is a requirement then the team needs to be informed that code will be reviewed for repetition, and introduced to various techniques for spotting and removing repetitive code.

Things like this are never requirements, at least in the conventional sense of 'things the stakeholders ask for the software to do'. Nor should they be: it's our job as professionals to know how to do our work. I don't want a PM or sales rep worrying about the Liskov substitution principle (unless I'm working for code climate or something): it's a waste of their time.

Code cleanliness should make future changes easier. Of course, some 'cleaning' expeditions do the opposite, so there should still be code review etc.
The use of brackets to denote function arguments and pretty text output in the terminal reminds me very strongly of using Mathematica from the command line.

https://reference.wolfram.com/language/tutorial/UsingATextBa...
Yes, an hour is hardly going to be the End of Everything. And just from sheer practicality, it seems likely that these people would go to bars in the off hours, as it's not like they're going to enjoy reading on a bangin' Saturday night at 11PM or later... I would imagine.

It wouldn't be my thing, but hey, I used to go to a regular Friday evening bar 'blitz chess' session in Pittsburgh with a bunch of Russians who would get progressively more blitzed as the night progressed. As you can imagine this was viewed as a bit peculiar by fellow revelers. Though unlike the reading club, we were not... exactly... quiet.
Wow you're absolutely right! It was a big inspiration for me
Spectrum Kills Home Security Business, Refuses Refunds
Hint: a staircase is the same thing as a ladder, just nailed down. On ships they call staircases ladders.

Mind blown
You are very right. I studied the screenshots of Stephen Wolfram's earlier project SMP and later the early versions of Mathematica. And the Calca later was a language inspiration.
Yeah, but then you can move onto the amazing fancy ramen. And it's not cheap.
English to Hindi Transliteration
Military makes little sense though, why conduct testing or operations in one of the worlds most heavily populated metropolises when you clearly have alternate options?
You are not alone! S9fES is still R4RS. :)
https://www.t3x.org/s9fes/index.html
Wikipedia prose is very disorganized, strange, and hard to read. Pages are like school assignments cowritten by dozens of authors. There is no professional editing. This can make you feel stupid—how come I read and read but somehow fail to understand or remember? So trying to use Wikipedia for getting an overview of a complex topic is a bit of a waste of time compared to a “real” encyclopedia article.
Also remember that nonprofits, labor unions, and community groups are corporations too.

Corporate speech is just "speech for groups of people". Those groups may be for-profit corporations, or they may be nonprofit.
No.

Maybe an "AI Fall", but I doubt there will ever be another true "AI Winter". The AI we have today is too good, and creates too much value... at this point, there is no longer any question as to whether or not there is value in continuing to research and invest in AI.

What will happen, almost without doubt, is that particular niches within the overall rubric of "AI" will go in and out of vogue, and investment in particular segments will fluctuate. For example, the steam will run out of the "deep learning revolution" at some point, as people realize that DL alone is not enough to make the leap to systems that employ common sense reasoning, have a grasp of intuitive physics, have an intuitive metaphysics, and have other such attributes that will be needed to come close to approximating human intelligence.

Disclaimer: credit for the observation about "intuitive physics" and "intuitive metaphysics" goes to Melanie Mitchell, via her recent AI Podcast interview with Lex Fridman.

One other observation... while we still don't know how far away AGI is (much less ASI), or even if it's possible, the important thing is that we don't need AGI to do many amazing and valuable things. I also doubt many people are actually all that disillusioned that we aren't yet living in The Matrix (or are we???).
Get `kubectl` access to your private cluster from anywhere
Wouldn't that be GNU/Emacs?
Stay tuned and I will push an update for you guys to have lowercase/uppercase single letters. You can currently use single letter latin instances like Beta and Beta'
>It's more america's history of intergenerational poverty, trauma and slavery. The drug laws incarcerating people are not helping either.

You have overlooked the third and fourth option: intergenerational poverty and drug laws.
This isn't about rudeness or courtesy unless they are responsible for that code, in which case they should be involved or leading the change.

As you mention it's about technical knowledge: They know exactly why the code is the way it is so consulting them is "due diligence".
JetBrains has something like this in their tools. It pointed me in the right direction a couple of times when touching code that is similar to something elsewhere.

https://www.jetbrains.com/help/idea/analyzing-duplicates.htm...
Def a feel-good piece. And I found it particularly strange that every article I've seen includes the "6.9 times the size of Earth" in the title as if the bigger the planet the better. I'd be more impressed by the number of times smaller than earth it might have been....
Probably yes eventually but we are very much on the smallest of the foothills as yet in our understanding or technology. We don't know what we don't know. Multiple worlds within worlds in terms of the interactions between information structures at the levels of society, individuals, sense organs, macro structure of brains, micro structure of brains, DNA within neurons, quantum effects. This whole colossal system looking in itself, we've only just started. As you can tell this topic gets me going.
There's always some subset of the population whose conception of "morality" consists of blindly bellowing the dogma of the day. It's not weird that the behavior looks identical even though the dogma itself is nominally different.
Many drives use compression already :)
"Eta" is a Japanese derogatory slur referring to the descendants of butchers, funeral workers, executioners, and other people who handled dead things for a living. It means filthy person. They are still discriminated against, and in the past it was incredibly severe.

Maybe it's that.
America has far fewer limits on freedom of speech than other democracies.

Hate speech law in the US is practically nonexistent. Libel is much more difficult case to argue. Restrictions on political speech are widely held to be unconstitutional.

Compare that with other democracies, such as the UK, Germany or India, and I think you'll find that the US does have significantly more freedom of speech than other democratic nations.
Because vaccines make you sick.
Misunderstood the question (I just realized now ...). However. The tool in JetBrains is good at finding duplicates ...
> There are legit reasons [Elon] could be disliked.

Yes, there are many legitimate complaints about Elon, some disputed, some not. But the legitimate complaints you describe don't create the haters. What hedge-fund short-seller, or random internet troll, really cares about Hong Kong's civil rights? The same folks that are crying fowl on Elon support far more ruthless enterprises, their complaints aren't coming from a morally sound platform.

The vast majority of hatred towards Elon is what I described: (1) his audaciousness; (2) inflated valuations that don't conform to traditional valuation models.

Sadly, any legitimate criticism is lost in this noise.
Indian Supreme Court finds 150-day Internet blackout in Kashmir illegal
Replace “market” with “herd” and you already have an advantage over them. If EMH was really a thing, then everyone would stop investing period and index funds would rule the world. Clearly they’re not.
Everyone shits, but "shit" is still considered a bad word because of its material properties. Fuck, on the other hand, is something everyone loves doing, except when done by force... I guess the reason it's still seen as a bad word rather than a "love word" (besides old religious believes that sex is actually intrinsically bad, which some people might still hold) is that "fuck" is unconsciously associated with forced sex (rape, to be clear) while consensual sex is associated with other words/phrases like "make love", "intercourse" etc. which do not have the same bad connotation.
Why do "scientists" always get credit for this stuff? Sounds to me like engineers, technicians, plumbers, and foresters did it.
Supporting this. I grew up with this stuff and while the ones I know would always use protective gear it was considered safe and the protection was used just to be really sure it seemed.

Today the situation is a lot more nuanced.

...and as I write this I think I could feel the smell of roundup or another herbicide, so yeah I've been exposed it :-/
> dragging each handle in different directions affected the shape’s position and size in a different way

The cause of the duplication itself is probably wrong: why would you do it in different ways? Treating ovals and rectangles the same way is simpler for the users.

> My boss invited me for a one-on-one chat where they politely asked me to revert my change

No justification given here? Is it because the boss did not give any, or is something omitted?

> Once we learn how to create abstractions, it is tempting to get high on that ability.

People should start forbidding themselves to use that "abstraction" word for anything. That's just code factoring.

> A healthy engineering team is constantly building trust. Rewriting your teammate’s code without a discussion is a huge blow to your ability to effectively collaborate on a codebase together

It seems here that this was taken as a hostile overwrite. Nothing to do with "abstractions", "clean code" or factoring.

The problem here is not "building trust", the problem is that they did again something that was already done without discussing the issue they see in it before doing something about it.

This is a methodological, not social, mistake.

> How exactly do they affect the way the code is written and modified?

The usual FUD, the actual trap many people fall in. You cannot predict the future. You should not try to predict the future, that's not your job.

I understand some may be confused by the fact the etymology of "programming" means "write before" or "write ahead of time", but the meaning is that we write what something is going to do; we are not actually writing what will happen for things that are not under our direct control.

> Let clean code guide you. Then let it go.

No. What they call "clean code" is doing the right thing at a specific time. If the requirements change, then do the right thing again. That's called code maintenance.
As regular reader I find the whole thing senseless, unless it is a way of promoting a local business in the Bay Area. Or it is just one more example of the typical anglosaxon‘s overselling culture.

The whole article could be summarized as “some bars are offering a Time Slot for readers in the evenings as a selling claim and they advertise it in HN where supposedly are many people in the same geographical area where such establishments are located. They also believe to have invented fire because it is fashionable to be innovator in the SF/SV/HN culture.”
The Britannica there shows how a professionally edited and authored encyclopedia has a greater liberty and authority to make simplifying claims that are nevertheless accurate, like this prose which you would rarely see in Wikipedia:

“ Vienna is among the least spoiled of the great old western European capitals. Its central core, the Innere Stadt, is easily manageable by foot and public transportation. In a city renowned for its architecture, many of Vienna’s urban prospects remain basically those devised over several centuries by imperial gardeners and architects.”

I think Wikipedia is almost always more boring because of its voiceless, detached, noncommittal style.
Even simple cases can have amusing results: https://i.imgur.com/hKre88I.png
If the market was aware of them they'd have been picked up already.
> lightweight — I don’t understand the use-cases the alternatives solve.

© https://programmingisterrible.com/post/65781074112/devils-di...
> That is "traditonal" healthcare, where the target age is 70-80ish, with basically no means to get past that. This is very different from what longevity research (like in the article) is tackling...

If you're searching for a cure for cancer, heart failure, or any of fatal health ailment, you are by definition trying to extend people's lives. The entire purpose of healthcare is to extend both the length and quality of people's lives.
I need to disagree with you, I've been in a few positions where one engineer suddenly decided to rewrite parts of the code base without any input from other engineers. It's a huge blow to team morale, and it gave me a fear of writing code in this team.

Every time I wrote a piece of code, I wondered how long it would be there for, I understand that code evolves, but seeing your code being rewritten after a week is no fun, and it's a huge blow to your confidence as well.

I understand that code needs to be rewritten, because of requirement changes, or different understanding of the original problem, but talk about it, bring it to the attention of the team as to why you feel we need to rewrite. Make sure that the team understands why, and sees the value in it.

Just rewriting code on your own is a big no for me, and to me, breaks the trust that we had.
He's talking about 12 to 16 byte outputs though, which is 96-128 bits of preimage resistance, and only 48-64 bits of collision resistance.. which would be very broken today.
Yeah. I tried to say that Iran has been sanctioned with so many measures for so long now that anything more we add won’t really make a difference, but I guess that went wrong :)
Why respond in this dishonest manner? When I left Arch I had been using it for over 10 years. I probably still understand it better than you do.

Is your supposition that a "misconfiguration" just "happened" randomly over night?

No, it's a rolling release distribution, software on it will break randomly on updates. You need to read their FAQ, even their official document will tell you this happens and it's not their responsibility due to the rolling release nature of the distribution.
I'm with you on this one, I've seen people rewrite things like this, and to me this is just personal preferences, and it's something that the team need to agree on.
yes, but it is a size able minority, that could keep it from being the ubiquitous night-out option and bring more diversity in evening activities. A critical mass of stuff catering to non capable drinkers gives even people capable of heavy drinking other options.
I always found it odd about Mathematica that a low level programming language like C gets closer to mathematical notation with sin(x) than Mathematica with Sin[x]