jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Not really. I think you're confusing Haskell's purity, which makes it necessary to write monadic code, with its monad syntax, which makes it easy.
I'm glad to hear that. The route from my house to the train station has a couple of gentle hills and my weight is 155 pounds. Should I be concerned that it won't have enough power to climb those hills?
This is a great discussion! I've always thought that after the basic "how do I even do this at all?" concepts of programming, the next most important concept to learn how to wield and to perpetually sharpen is the "don't repeat yourself" principle. Huge swaths of software engineering literature is dedicated (explicitly or implicitly) to when and when not to apply that principle.

Your parent's comment addresses by far the best argument for the principle, which is that any time something is likely to change in a snippet, copy-pasting should be undertaken rarely and thoughtfully. With the recognition that nearly any given snippet is likely to change in some way, we can conclude that nearly any copy-paste is "bad".

Your comment is then a great argument against the thoughtless application of the principle, recognizing that yes, granted, nearly any snippet will change, but the required changes may well not be uniform.

Personally, I think it still makes sense to pull out shared behavior for the period of time in which it is shared. During that period of time, all you have is a guess that the code might eventually diverge. If there comes a point in time when you do want the code to diverge, it is straightforward to copy-paste it back out, if branching or creating a similar method with the differences is a worse option. On the flip side, if you haven't pulled out the shared behavior, and you discover that you want to change it everywhere in the same way, it is far less straightforward to go find all those places, or even be aware that you need to do so.

Another point is naming by purpose rather than behavior. To continue your example, it makes sense to ask why one method checks internally and the other externally? What different purposes do the different checking styles have? If there are good answers to questions like that, the methods can be named better, and it becomes less about memorizing name than understanding when to use which.

Of course none of this is at all black and white, and I think you're spot on that this is one of those craft bits, and among the most important!
Technically, unelected bureaucrats rather than politicians ... but yeah, equally as unappealing.
Ok, now how do you stop the OTA update from spamming the notification bar?
I never understood how interviewers let these kinds of arbitrary details influence their consideration of the candidate. If the interviewer had explicitly requested an iterative function, they probably would have gotten one. You can't fault someone for doing what they feel like doing within the [lack of] parameters you assign.

That said, holy shit is it scary when you open up a framework or library and see a mess of recursive functions. Pity the poor soul who has to troubleshoot their app when it ends up a long trail of performance issues in someone else's library.
> If the developer lives 10 minutes from work while the barista commutes for 1 hour, the developer has more time to spend on productive activities. The world is then better off.

You got that completely backwards. A developer can be productive during the commute. Given modern offices with their distractions, an hour commute each way can give a developer much needed time for design and analysis. The barista, on the other hand, does nothing productive while commuting.
Is this different for Python over any dynamic language?

This seems to be a better argument for statically compiled languages over dynamic languages rather than an argument against Python.
We have the cheapest credit in human history, yet we can't fund renewable projects with positive ROI.

Meanwhile people are 'investing' in bitcoin, and pumping meme stocks.
Thanks Jacob - you forgot to mention "keep an eye out for relevant Show HNs!" ;)

https://news.ycombinator.com/threads?id=jacob_rezi

thanks for the good advice.
You can dispute whatever you want, but by every legal process, your "dispute" has been settled. When does it end?

That's of course ignoring the fact that Republicans actually gained seats in the house, that Trump would have to overturn the results in multiple states, that said states have Republican leadership overseeing the election.

But here we are.

Fact is, at some point (now) your claims of "dispute" are no longer worth entertaining.

Literally have not had a single victory in court (but over 60 losses). These cases are being thrown out by Republican judges, judges appointed by Trump even. What is your standard of evidence?
They absolutely have that infrastructure. Handcuff all of them, and let them lie face-down on the pavement while you process them.

That's what usually happens with mass arrests.
Sites like HN, reddit, Twitter etc are de facto US based, assume if no country or jurisdiction is specified that it's the US. Now, which state it is in the US is a different matter.
Yes and in most cases we would do this, but some content made more sense as video
Once upon I time I worked in a process engineering gig. Literally every problem started by trying to explain no, just adding more people to a bad process won’t magically fix things. And yet, that was always the knee-jerk reaction to those owning the process. I think it’s because a bad process has the people constantly reactively fire-fighting they naturally feel short-handed
...

No? I don't see how what I said agrees with you in any way.
This is a proposal for changing some of the bad into good.
How can you say it's as a stupid post?

Startup is all about taking risks.If you are not willing to see someone down with good idea and who has pitched it very well just because the startup has a single founder it shows how bad are you.

If he is not willing to take controlled risks then he should not in VC business itself.Someone comes to you with a good but world changing idea but will you reject the person just because he/she is the sole founder of that startup..that shows how bad you are..

Examples of Single founder Startups who became Large MNC's
Ebay,Amazon etc.,

P.S : I waited for others to reply!
Yeah, the US totally fail at ORM.

Wait... wat?
Alternate title: "how to make flask handle users like django for people who cant decide what size framework they want"
This is how NaturalMotion started. I remember their CEO Torsten evolving muscle controllers on the Mathengine physics engine (1999?). Get it right, and you get to build a pretty nice business out of it!
In what sense does browserify make things complicated for you?

Feel free to explain your express concat process and I'm happy to compare it to browserify.
I'd love to see House of Leaves as an ebook. Even a PDF has limits, as do e reader screen sizes. If anyone makes that book work as well as paper, I'll consider ereaders a solved problem.
Same, the main instabilities come when I go out of hibernation with changed hardware, ie. haven't plugged back the mouse or changed the display from desk to meeting room
It's not exactly congruent to what you're describing with SVN. It's all about the DAG of commits and how we're using it to describe the history of the codebase. The end code is identical between the two workflows.

A merge-based workflow maintains the work-in-progress history of commits running parallel to main before merging the two together. So your commit tree splits and reforms, with the number of branches at any one time equal to the number of people working on distinct features at one time.

It shows you how a feature evolved, which there is some benefit of, but at the cost of an explosion in branches that are now part of the permanent record of your codebase and the main branch you're working in. It rapidly turns into spaghetti with even just a few people working in the repo.

A rebase-based workflow will typically compress all the work in progress to a single commit, which then gets applied to the tip of the main branch. This maintains a linear flow of commits where each commit is a single PR.

Maintaining that linear flow of commits is increasingly important as the number of people committing to the repo rises and the branches rise with them.

Visually, a merge-based workflow might look like this:

4
|\
| \
/3 \
| 2\ |
\| |/
|//
|/
1

This would represent 3 features worked on by different people, all branched off the same source (1), and then merging back in.

The same thing in a rebase-based workflow would look like this:

4
|
3
|
2
|
1

All of the work in progress is collapsed into a single commit when completing the PR to maintain the linear history. Of course while it was in progress, it resembled the merge-based workflow above. The difference is that instead of merging at the end, they rebased and squashed the commits.

Again, the end result in terms of the code is the same. The difference is what you see when you're navigating the history of the repo.
For the scroll direction check this out https://pilotmoon.com/scrollreverser/
Maybe not having to suffer through commutes and then sitting in an office you didn't choose for 8 hours a day is a factor? Working from home gives people much more freedom to arrange their working environment and, to some degree, schedule. Also, many people returned to their home towns, where they're close to family and friends. Personally, for me the WFH after Covid was a blessing. It's a shame that it had to take a global pandemic to force our corporate overlords into arrangements beneficial for our mental health.
Yeah, that was unexpected... Ugh...

Clearly, the product's not ready, the message's not ready. A bit of a missed opportunity there.

Maybe in a couple of months when I have ironed out the wrinkles people saw here.
Would it? As a counter point - consider a universe where all possible things exist. We know from algorithmic information theory that most things are incompressible. Who is to say we don't live in an area within the totality of all possible things that happens to be in part entirely incompressible?
It's not a long-term problem because they're going to have to add support for RCS at some point, meaning Android users will have a similar experience to iMessage with their iOS friends.

Apple wasn't going to port iMessage to Android because there isn't any benefit. I can't charge people to use a messaging app, they're free.

I love iMessage, it's one of the reasons I stay on the Apple platform, but in a world where almost all my friends use some other app anyway, it doesn't really matter. Like I still have to have Facebook Messenger, WhatsApp, Snapchat and Signal installed in order to talk to everyone. iMessage is mostly great for less technical family members because they "get it out of the box".
Yeah, not exactly a satisfactory one, though. Just something along the lines of "We have sent your request to remove DRM to our audio team. We value your feedback." It was a nice way of saying that mail has been forwarded to the audio team to throw in the bin. Still, better than being ignored outright.
Sure, you could. But there's a ton of differences as you can see. It depends if you want automatic vs manual. And if you got the time to do manual, then I get that. But it's all about saving the users time, so they can focus on the core parts.

Dropbox could all be hosted on S3, but the ease is worth it. Etc.
> It didn't short 138% of GME stock. GME short interest increased to 138% while Melvin and many other hedge funds were shorting it.

You corrected yourself to include that they weren't alone, but whatever... but that still doesn't change the fact that this would be impossible to do if it were a blockchain based system with these parameters built in, you cannot fictitiously create more of something that exists in order to benefit you or your industry and then suspend trading when things get out hand in that blockchain environment, as its completely out of your hand and the fraud in impossible to forge. And clearly with a trillion dollar market cap, and growing, we proved that it pays to play by the rules.

> There is no evidence these firms colluded or engaged in naked short selling. Naked short selling is when you sell short a security without first entering into a contract to borrow the security. Short interest is orthogonal to naked short selling.

Ok... we're done. This is going no where, keep downvoting as that seems to be your only recourse but you being blind to this obvious reality that SEC is selectively applying the Law (which also happens to apply to OTHER Naked short selling) isn't changing the fact of how obvious this collusion was and nothing I say will change that.

You want to pretend these markets are fair, go ahead, and I'm not going to waste my time... But my points for Blockchain based tech solutions that exist are already there and your make believe arguments notwithstanding will not make them go away.
Half of the example repos don't even have screenshots in their own readmes. It's so frustrating when I come across stuff like this - screenshots are such an important hook to really reel me in.
In India I was in constant fear for my life, unless traffic was slowed to a crawl. In HCMC I could at least see that there was some sort of system. I'd rather be on the back of a mototaxi in Vietnam than in a car in most of China too, every taxi ride was terrifying.
Check the other branches out! There is one for GTA Liberty City Stories[1], and another one for GTA Vice City[2].

This project enabled people to port GTA to the PS Vita device[3]. This device hasn't seen any games from the franchise, so this is a big thing.

[1] https://github.com/GTAmodding/re3/tree/lcs

[2] https://github.com/GTAmodding/re3/tree/miami

[3] https://github.com/TheOfficialFloW/re3
One thing I do miss from both Lego and Meccano is the generic sets.

Maybe they can still be bought online, but whenever I walked into a toy store these past years, all the sets have a theme and a 'prescribed' thing that you are meant to build.

I just want to buy a bucket of parts for my kids to sort out what to build on their own. It somehow feels really restrictive nowadays.

I understand they are probably making a lot of money with film royalties and star wars themed stuff etc. but it definitely feels like a downgrade.
Yeah I'd agree with that. I think of 'Music Theory' as being that which distinguishes between 'music' as commonly understood vs random plinky plonk notes with random percussion. Which can also be stated as 'why does music sound good?'. So that starts with the stuff about frequency ratios which then leads to chords and keys and scales, and then at a deeper level yes you start looking at song structure and the balance between repetition and progression, the different types of progression like key changes and the overall art of the balance between meeting expectations and subverting them.
Expert drunk. In Iowa wine and spirits are sold mostly my state-run stores. They record the interesting fact that 90% of their sales are to 10% of their customers. Which actually puts that 10% at 81X the money spent on alcohol vs the rest of the population. That's a lot.
I´ve always been curious about reading and listening to the most crazy people, for the same reason doctors are interested into studying the most pathological cases, such as split-brain patients: because it can teach you a lot about normal people too.

On the same line, the tumultuous times in which french moralists such as La Rochefoucauld lived certainly helped them sharpen their remarks.
> So it's not going to happen that there is a mass move outside of Whatsapp anytime soon.

I (sadly) agree with you on this. (Ciao Salvatore)

I'm surprised you're being downvoted, is it possibly because of the reference to the current POTUS being "silenced" on Twitter (despite you later state that you're anti-Trump)?

Anyway, I believe you're incorrect on your stance on the new TOS, but I'm studying it more now because I am also a bit confused and I've read conflicting interpretations.

Edit: part of the confusion might stem from the fact that TOS in Europe do not include the data-sharing part with Facebook, which is instead included elsewhere [0]

(HN user antirez is based in Europe, not in the US)

[0]: https://twitter.com/NiamhSweeneyNYC/status/13471849630163394...
My guess is that the “unionization effort” will spread to other companies but it won’t get anything more than a few percentage of the workforce to join.

Most workers at the big tech companies are fairly happy and comfortable and not nearly as politically vocal as the organizers of the union. I suspect that it will be limited to a small vocal minority.
I definitely expect something like the Alphabet union will inevitably happen in other companies. There already are groups like Amazon Employees for Climate Justice; now that the precedent is set, why not rebrand as the Amazon Employees Union to pick up free press and CWA sponsorship? What I'm skeptical of is whether these non-exclusive unions will have more power than the preexisting employee activism groups.
4 people died.
I imagine it's like any high(er) level language.

You start by writing high-level, idiomatic code, because that's the cheapest to write. If that isn't giving you the performance you need, then you take steps to incrementally improve the performance without making any radical changes. If that still doesn't get the performance where you need it to be, or you find that you really are having to put the code through a mangler to get there, then, and only then, do you pay the cost of rewriting those components in a lower-level language.

IOW, don't take this list as a list of things that you should always do all the time. Take it as a list of specific things to help with solving specific problems, when you have those problems.
"excess protein" is more interesting in a scientific paper than "offal and bones".
"Your argument amounts to, 'when a customer enters the bank, it's okay.'"

Just because two groups have opposing political aims doesn't mean they're equivalent. One attempted to take our nation's capital by force, the other attempted a sit in.

Show me literally one single source that indicates the Women's March people were out for blood. Were there any casualties? Injuries? Was there even any fighting?

Your fact is false, by the way. The terrorists murdered a Capitol Police officer. https://www.cnn.com/2021/01/08/politics/capitol-police-offic...
It's also mentioned in this video https://youtu.be/gJPMXgvnX4Y?t=429
Doesn’t come with the phone anymore though
January 23rd, 2021: President Biden has signed into law the COVID-19 Works Progress Act as the first act of his presidency. It was passed easily in the democratically controlled house and senate the day following his inauguration.

Calling for an immediate federal hiring surge at all levels of the newly implemented public health services, President Biden said “This act will restore salaries, dignity, and comprehensive health coverage with sick leave to our nation’s brave citizens who have by no fault of their own been left out to dry during the initial response to the pandemic. Employing many of the currently unemployed to operate our fast turnaround testing clinics and disease screening centers will drive our economy and our continued fight against this disease.”
He can't send people to Mars yet so how are people accusing him of sending people to mars with insufficient shielding? There are limits to criticism of Musk one would think.
React and Vue are both coming, in case you haven't seen already: https://tailwindui.com/react-and-vue-support/
Thanks for the additional context.

> None of the things you mentioned are incompatible with the group Americans call “liberal”.

Disagree. In some contexts leftist and liberal are distinct and incompatible things. In American politics, liberal often means 'progressive', but 'classical liberal' is typically associated with libertarianism. That's not to say a classical liberal cannot hold progressive beliefs, but it certainly does not imply they hold progressive beliefs.
How many of you still think that company location is of any importance? After Crypto AG, Swiss based doesn't sound like a plus.
RRDTool is great for exactly this reason! I actually still use it to plot time series data on a raspberry pi for various projects. It hasn’t changed in at least a decade and it will run with good performance on any hardware. If it ain’t broke, don’t fix it
School bullies already sort of don't exist anymore. They went away along with the enormous drop in violent crime in the US in the 90s, probably caused by everyone not having lead poisoning.

Instead GenZ tries to cancel each other on tumblr or something.
FolderSync is another excellent option that might mesh better with your existing setup.
> a Twitch ban is effectively a ban on all opportunities that involve money in the esports scene.

I suggest you ask Colin Kaepernick about how it is in the non-'E' sports world.

(Edit: misspelled name)
True, but when using numbers to make a menu selection, it makes more sense to start numbering at 1, because of the way number keys are arranged across the top of the keyboard. It's slightly less intuitive to have the key corresponding to the first menu option positioned far to the right of the subsequent options.
I'm not trying to give you a hard time, I really am curious about the answer. These kinds of discussions tend to be anecdotal (understandably so) or too nebulous and so I'm trying to dive deeper.
Awesome! Wish I had this a while ago during school. This is a good learning tool too since you can see how each addition affects the matching. I like Tycho's idea about have a little cheat sheet. That would add to the "learning tool" idea substantially.
tried this and its still connecting to the folder http://localhost points to
You rarely get extreme excellence without things like mean leaders. Think of Apple and Steve Jobs.
Ah, that last bit sounds good - look forward to it... :)
Yep, you should just read the TOS and be prepared for the worst ;)

I'm trying to reduce my dependencies to a bare minimum. I implement most of the features I need by myself. I need the users, just it.
If it's only owned by one person, can that one person make it not accessible to everyone once they own it? Or is it just the public knowledge that there is one owner and listing who that is?
Isn't iCloud just mirroring? If you delete it off your device, you lose it on your iCloud too.
One fun intersection of this idea was my inattentive ADHD brain’s response to stimulants. I had identified as an introvert for basically my entire life until I got tested and treated. Suddenly I enjoyed going out, talking to people, and it didn’t drain me to the point of physical pain to interact with people for more than brief periods.

Made me realize a lot clearer that what makes me “me” is my brain and body chemistry that apparently isn’t that hard to change. Super existential crisis inducing.
These kinds of displays are not really calibrated to present television and cinema video content. Watching long-form visual media on these kinds of displays could be a frustrating experience - at least, these have been my prior results.
> A remote designed by someone who thought about it for ten seconds (why do modern TVs have dozens of buttons no one ever uses?).

I'd prefer the remote as an app on my phone. My desk is covered with remotes. Remotes are so 1980s :-/
i bought some nano yesterday.
Was it done in-game? I figured it was done with the Dolphin (Gamecube) emulator, the same way GGPO was first implemented for arcade emulators.
Only microSD would be useless. People with fancy cameras need a full size SD port.
These folks have:

https://www.samygo.tv/