jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
That's not how collective bargaining works. A contract has to be negotiated between the union members and management. As a member, you would have a say in the contract that the union negotiates.

For example, I was a member of the organizing committee for the union at my last job where I worked as a software engineer. After the union was recognized, members held an election for all the union's leadership positions as well as for the members of the bargaining committee that negotiates the contract with management. Bargaining sessions between the union and management is completely open for any member of the union to attend. The committee publishes reports to the membership after each bargaining session on the items discussed. Presuming the union and management come agree to the terms that would go into a contract, that tentative agreement is sent to the members of the union to vote on and either accept the terms, or to reject them, in which case the union and management will continue to bargain a new tentative agreement.

What you're describing "tell me I'm signing up for something that I have no idea how it will turn out" is actually what happens when you accept any new job you take. When you accept a job offer, you know a few things, e.g., your salary and benefits, your manager, etc. But there's a lot you wouldn't typically know, e.g., how performance is evaluated and how promotions and raises are determined, what your workload would be and what protections you might have from overwork or excessive discipline or unfair termination.

What a union provides is not only a voice for everyone in the workplace, but for collectively bargaining and making clear the the conditions and treatment you can expect in your workplace.
I hope this isn't flippant, but have you read the Perl regex man pages [0]? "Perl compatible" regexes are very common, and are explained _really_ well. Similarly, the Perl Cookbook (from O'Reilly) has a whole chapter on regular expressions -- even crazy ones like detecting US phone numbers (hard!) -- with explanations. That chapter is QUITE good, and I highly recommend it even you don't write Perl.

For your specific problem at hand, I assume you want to replace spaces with a tab character.

In Perl, you could do:

# replace four spaces with a tab, globally
$line =~ s/ /\t/g;

You can do this directly on the command line as well:

perl -e 'while (<>) { $line = $_; $line =~ s/ /\t/g; print $line; }' < foo_spaces.py > foo_tabs.py

I have a gist [1] which has very slightly more comments, if you prefer. To paraphrase XKCD, there are now N+1 regex explanations, and I apologize that mine is comparatively worse than all of them. :)

0: http://perldoc.perl.org/perlre.html
1: https://gist.github.com/gknoy/94c382299c4543f2e863
Small annoyance – footer links open in new tab.
There's still a defense of languages here, and I'm not sure it's due. You chalk up the efficacy of V8 as a delivery mechanism to it carrying portable knowledge in (already knowing JS) and it's usefulness as a general tool.

There is a possibility that this viewpoint doesn't leave any room for: the possibility that languages make nearly no difference. Perhaps people are savvy, and interested in more complex things, but the various languages and platforms don't bring any concrete value. Instead of being a function of how widely-ranging people's interests are, it's instead a question of whether anyone is actually making real tracks away from a center, a center whose nebulous nature is only permitting the forging of false distinctions in.

Rather than marking time by languages, perhaps it's more interesting to mark what we focused our language use on?
User found you on Google. He intends to visit another 100 sites like yours to find what he wants, and therefore will only spend 3 to 10 seconds on your site.
I don't plan on sharing personal information with any sort of entity, certainly not for profit. But, the personal information is stored on machines and manipulated by other companies, namely Supabase and SendGrid since its necessary for the site to function.
Author here!

I think there's always been a push/pull of "fat base images" versus "install everything every time" - It's obviously subjective, but I think it's more important to run the tests on every commit than it is to start the environment from scratch.

It's also not necessarily mutually exclusive, you could have a "staging branch" where you make something that looks a lot like production and then re-run end-to-end tests there, while running the per-branch tests with this method to avoid slowing down developers.
Now at 27, I see some of my oldest friends have fallen into the exact trap you're describing. Unmarketable degree combined with minimal college work experience makes for a very limited job market upon graduation. I watched several of them get sucked into similarly low paying and unfulfilling work largely because it was in an office and therefore made it a "real" job.

Any tips on how to to encourage them to bite the bullet and change industries, ideally into tech? I firmly believe that anyone with an above average IQ can make it as _some_ type of tech worker, even if it's something as simple as spinning up Wordpress sites.
Cool tool, thanks for sharing!

I did the same thing with building something in excel - I didn't think as hard about the retirement portion though and just matched it to my previous pension contributions from when I was employed, so that's a great addition.

One thing I have in my sheet that I find helpful: A comparison with an equivalent annual salary at an employer. For example I have a day rate that is a rough approximation to match the annual salary I'd like to have if I were employed by someone - taking into account that the day rate needs to include sick days, holidays, the employer's share of insurance and pension contributions that I now pay etc.
My mom had a similar system. She had also split savings into long term and short term. So

LT - 40%
ST - 30%
Spend - 20%
Charity - 10%

I don’t recall what the term was for short term, maybe a few months.

Something about it worked. Today I follow a similar system, tho percentages are different (spend obviously higher) and no charity.
We dont use slack like that really, but google doc comments are similarly limiting. Atleast most thoughts happen in a google doc
GitHub Links from the project page all get a 404.

https://github.com/firedm/ shows no public repos
and of course
https://github.com/firedm/FireDM gets a 404
I'm going to get some tech stuff for 50% off from here - http://www.templatemonster.com/blog/black-friday-2016-deals-... . I think there has never been a better time than this Black Friday to buy it!
It's also widely applied in ecology and microbiome research - often people don't even realize its origins.
> for the entirety of humankind's existence, including its ancestors (so going back at least 4 million years), Earth was a mighty fine place to be. The occasional ice age didn't stop our non-technological ancestors from spreading all over the globe either.

It almost did. Estimates range there were between 1,000 and 10,000 breeding pairs of humans 70,000 years ago.[0]

0: https://en.wikipedia.org/wiki/Toba_catastrophe_theory

Also, climate shift is implicated in the collapse of Mediterranean civilizations in the Bronze Age.[1]

1: https://en.wikipedia.org/wiki/Late_Bronze_Age_collapse#Possi...

> How about closer targets then? The Moon

Not as hospitable or cool. :c But a Moon base space port seems like an important strategic asset.

> Musk is already fantasising about "1 million people on Mars by 2050", which is just bonkers.

Yep. Have research outposts first.

> A civilisation capable of modifying an entire planet's atmosphere, temperature, and magnetic field would much more easily (in terms of energy required) be capable of creating free floating habitats with orders of magnitude more living space, carefully tuned parameters (air, temperature, artificial gravity, etc.) and versatility than a small cold, barren rock like Mars.

Agree. But bioengineered supervirus or bolide impact or short-range nuclear war are still salient existential threats that multi-planet civilizations would resist better.

> It would be much quicker to create such artificial worlds, worlds, too than to slowly heat up and build up an entire breathable atmosphere.

Artificial habitats are definitely 1,000,000 times better than living on planets for many reasons, but I don't think they're quicker or easier to make than colonizing bodies. How do we do mega-scale construction with our current or near-future orbital industry capacity or material science or governments/incentives?

It seems easier to stay rock-bound for the time being.

> By the way - where are all the required elements for a proper atmosphere and ecosystem

Yep. It's easier to have an improper atmosphere and ecosystem.
There are definitely two sides here. I ended up starting to use NAT reflection a lot in recent years because these half assed fallback configs for DNS (Docker does the same) break split horizon DNS. So everything half works and it’s a pain to diagnose the first few times you run into it.

For users that struggle to diagnose completely broken DNS, I think diagnosing half working DNS will be extremely difficult to do.

Call me old fashioned, but I prefer completely working or completely broken over the “kind of sort of half assed mostly working in fallback mode” that seems to have become popular.
I think there's another issue here though.

If I turn on Incognito mode and then go to Amazon, Amazon can obviously see what I'm doing. If I log into Amazon, then Amazon knows it's me and can track that. I think that's reasonable, but people didn't understand that that's the case and that's why Google has that disclaimer there.

That's different from browser fingerprinting[1] though. Fingerprinting techniques exist which can tell that you're you even if you're in incognito mode. For example, if you're visiting Pornhub every day in incognito mode, the company can still build a pretty reliable profile of you. If you then visit them not in incognito mode once, they may be able to take that incognito profile and associate it with you a lot more closely.

Likewise, if you visit Amazon from your browser all the time and then visit them in incognito mode, these fingerprinting techniques allow Amazon to know it's you already; they can "play dumb" by keeping you logged out, not showing you recommendations, etc., but they can still figure out it's you and use that to continue to build a profile on you.

The caveat here is that this is much more useful for some people than others. If I visit HN, then HN can fingerprint me in Incognito or not, but that's not extremely useful. If I visit literally anywhere else, Google/Doubleclick/etc. can fingerprint my browser, and since extensions like ad/tracker/etc. blockers don't work by default in incognito mode, they could potentially get an even better profile of you from Incognito mode than not.

Pretty gross, honestly.

[1] https://blog.mozilla.org/internetcitizen/2018/07/26/this-is-...
My understanding was that the "incognito" mode in Google Chrome (or "private browsing" in Firefox) would prevent data like cookies or saved passwords from remaining on the physical computer when the window was closed. I had always thought that the primary use-case was to prevent data from being stored on a shared computer, for instance in a computer lab or a library.

In my opinion, it sounds like the judge is thinking of something else entirely.
when this tool is compromised, as most are with time, they've got my calendar, 20 years of e-mail history, cellphone location history, website history, youtube video history. It's true they probably know more about me and my future trajectory than I do. No wonder I can't get a callback! But on the real... time to rethink le free web model if it isn't too late.
That thing is the best. I don’t understand exactly how it works, but it can handle files up to any size without breaking a sweat.
Shop towels are not going to offer anywhere near the filtering performance of melt-blown polypropylene for N95 masks.
The only explanation of what they are doing is "simply put." It appears from the drawings that all they are doing is changing DNS records to point to a secondary server. Except in doing that, if the attack is using DNS to find the target, it does nothing as the change would be available to everyone. If the address is hard-coded, good deal, easy fix, administrators have been doing that for years.
Someone else care to comment with a little more details?
My heart pumps blood.
Do they really have to be called 'ghosts'?
If only the European continent would form some kind of trade based union

Edit: parent comment said something like "Europe is a continent"
Out of curiosity, as I have no visibility about the infra actually required- but at that cost, would it not be easier to just have a machine under a desk somewhere?
That's not just America's foreign policy though. Even Denmark has an espionage unit.
To quote a man I consider to be both, very intelligent and wise:

> Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
I have been doing this for years. Currently doing it with Sperry Labs (https://www.sperrylabs.com). I have found that when an idea takes off into a successful product, the entire studio ends up going that direction until exit, then you just start over with a new studio. But I have seen successful exits with Brightcove, oobgolf, and AirCare Labs. And successful products with Dynasign, ServiceCapture, Callbot, and Play Impossible Gameball.
>the ridiculously argument that we "just shouldn't see race"

I don't think it's ridiculous at all. Why can't we just be fair to everyone regardless of color?
I would also be interested in data showing that people being run into were mostly at fault. That's not how things happen in MI.
> For example, if I want to buy a hard drive, the ads don't tell me what kinds of hard drives there are and what the pros and cons of each of them are.

Even if ads did this, would anyone believe it? The obvious conflict of interest removes all legitimacy from any claim in any advertisement.

Now people just search for reddit posts instead. We want to see what real people think about the product, not some paid-for opinion. We want to see the products compared with their competitors. Advertisers figured this out and have started astroturfing on reddit as well...
I was under the impression that Apple would just tunnel the encrypted connection.
Tools like SSIS, SSAS, SSRS were hard to replace for less money for a very long time. There are products out there now, but they are not cheap either. I still think SSIS was one of the easiest and most flexible to use ETL tools out, and it was included with MSSQLs enterprise license.
I don't know how exactly things works, but zig approach is very nice, i wish it was possible with D too

When i say available, i mean available out of the box
Only in US
Seeing him perform live on stage in Leverkusen a decade ago was unforgettable. The calm songs with Flora Purim are one of my favorites to chill out to.
The acolytes of laziness dug too eagerly and too deep.
This is why the Net Neutrality ruling was not a big step forward.

The right way to solve the internet problem is "unbundling"; that is, the people who own the last mile lease it out to companies that sell you internet, video and other services. If Comcast customers were getting a bad netflix experience they could switch to an ISP that gives a good one.
It isn't the format string syntax that is the problem that they're trying to solve. I see this as being an iterative, backwards-incompatible improvement on the existing format convention. Changes in convention don't have to be all or nothing.
Print alone is easy as you can just have functions output both their normal output and a listing of whatever they printed. These listings then get concatenated together (this is technically "the writer monad", but you don't need to know as much).

IO was originally handled in Haskell as `main :: [String] -> [String]`. More generally, we might think `main :: [Input] -> [Command]`. This is obviously a pure function. If the types Input and Command are a bit like

Input = SawChar Char | Tick UTCTime | FileRecv String
Command = PrintChar Char | RequestTime | RequestFile FilePath

you can imagine how a more general effects framework could be done purely.

In practice, monads are a lot simpler than this. In particular, it can be easy to get desynchronized from your Commands and Inputs.

Other language have more explicit effect typing as well. Conor McBride's `Frank` comes to mind, but it's fairly complex.
That email address alone just convinced me to take a closer look at this DB.
The lambda syntax seems like a major shortcoming in Python's readability. It uses the comma in its declaration and then the comma is used again a separator for the arguments being passed into the outer function (reduce in this case). I feel their should be better visual indication for when you are out of the lambda part.
I don't have personal knowledge of the mainframes in use at my employer but we might qualify based on talking to the coders that work on the mainframes.
Do you pay someone else to have sex with your wife (or girlfriend/S.O.)?

After all, you could be earning $100/hour with that precious time.

(Sorry for the somewhat crude example, but it underscores the point that some things just aren't measured in money. Maybe some people enjoy cooking, or don't actually want to work every waking minute, or need a break from their work.)
In the game I watched, I saw two promotions to queens, a knight, and a rook.
IBM made their bed in switching from being a technology company to a consulting & services company. At best they will grow and shrink with the global economy now.

When the global economy hits a wall, as a consulting & services company you can't innovate your way out of it, you depend on eg growth in government spending and big corp spending, both of which are shaky around the world right now.
Why not include that in the URL?
Ok, so there's a difference between failing as an underlying technology, and failing as an actual thing people use.

Herein lies the difference between e-mail and IRC - e-mail is fundamentally the same as an underlying technology (we still use IMAP!), but as an end-user product has changed a huge amount over the last twenty years. Things like webmail have progressed a huge amount, and systems like Outlook/Exchange have been built that allow it to be managed in a business centric manner.

With modern e-mail, you sign up for an e-mail, and that's it. You can now go to a website and e-mail people.

With IRC as a product, (aside from the ugly webchats that still expose huge streams of text and NickServ and other things), the end-user experience is still fundamentally the same.
https://lightraft.com
What a misleading title! At first I thought he'd written a blog that earned him a million in one night. Good for him though.
Surely the one child policy is more Malthusian than anything else, and Malthus was very far from communist.
I'm curious why you think this would be necessary. If UBI was for citizens only and it was funded by consumption, visitors would end up paying into it and then would have to petition for reimbursement (much like I have to do when I visit countries with VAT in Europe). Many folks won't bother because the amounts are small.

As far as immigration, they'd need a job to survive here much like they do today and only once they achieve citizenship would they be eligible for UBI. I wouldn't see this changing much from today.
Some of them were (and are) definitely real.
Maybe it opens up a whole new lucrative market - from audiophiles to screenophiles ;-)
Simple solution: shift earlier, since you can shift up at 2k (before the turbo really takes off) without lugging the engine at all.

Complex solution: Chip the engine - some people prefer a smoother power curve, which can be achieved with a tune.
Good point. There does seem to be some disagreement.

The Lexmark case was heard by the 6th Circuit, and this one by the 9th. It would seem that a petition for a writ of certiorari would likely be granted for this or a similar case so that the Supreme Court can reconcile any differences. However, I'm not sure that I want the current Supreme Court to have the opportunity to strengthen the DMCA.
"Code" by Charles Petzold is a wonderful book about how computers work and it covers pretty much everything but in a way that is accessible to anyone who understand basic algebra.
Well, according to my method, both might deserve upvotes, because they both add to the conversation. In my opinion, karma is for people who make thoughtful comments, not ones that the most people agree with.
A long time ago something about computers sparked your interest and curiosity. You followed that spark maybe not even knowing where it would take you. Now the "real" world doesn't care about that spark, but they CANNOT put it out. Only you can. Go way back and find that time in the beginning that started it all. Re-connect with your first experience. That's what got you this far and it's what will keep you going. It's what I always focus on, and this is my twentieth year as a software developer.
Orignally I thought of this, having it as an online referral based system, but it wasn't going to work. Referrals of clients is too time consuming and requires large amounts of trust before sending clients over to someone.

I went down the path of thinking of each relationship as a joint venture.
"Here in the UK we have the wonderful BBC. I can watch everything the BBC produces online in real-time and for the following two weeks"

If I was forced to pay for a television station out of my taxes, like the BBC. It better damn well be available online.

"The only reason folk can't watch tv online -- presumably in the USA -- is because the "transmitting" stations don't provide the service. That's idiotic."

It is getting better. We have things like hulu, which allows you to stream most shows that you would watch on TV.
If you mean Google ads, then that sounds like a common story. Did you try approaching advertisers directly?

One thing I hardly see anyone do, instead of just running CPC/CPM ads, is actually sell products related to their apps. For example, considering you've already got a site with good traffic, you could create your own niche store of sorts, in which you sell products of interest to your audience. That could include your own mobile apps, other complementary apps, physical goods. You could also sell well-thought out bundles of such products, so that you are not competing with big discount sites which can sell single items for cheap. Offer people good products with convenience and awesome customer service, ride the social network craziness and you could do quite well.
Well, my training is as a biochemist, not a doctor, but my understanding is that complete transfusions are extremely difficult or outright impossible (there are a lot of tiny little capillaries for things to get stuck in...). Not to mention that the liver is really good at what it does, and it would probably have soaked up most everything by the time you got to the hospital.

The real concern is not that it ends up in the liver, but that the plastic antibodies don't bind as tightly as a natural antibody so that, once in the liver, the toxins slowly "leak" out and poison the liver.

Honestly, we've gotten really, really good at manufacturing antibodies against almost anything. Antibodies are a mainstay of modern biomedical research. Sure, they're expensive, but other than cost I don't see anything that plastic antibodies could do that natural antibody can't (and even in terms of cost, if you need one molecule of target to serve as the "stamp" for each plastic antibody, these are probably going to be more expensive since, once you've made the initial antibody, scaling up natural antibodies is mostly a solved problem.