skysight-inc/HackerNews huggingface dataset:
>present a seamless experience to the customers/passengers

There does exist a segment of users who are willing to navigate a less-than-seamless experience if that lets them avoid dealing with a less-than-ethical business. (And probably there's at least some PR effort involved in making their voices not count.)

Besides, the Uber/Lyft experience is far from "seamless", and developing a ride-sharing app that does _not_ aim to work on a global scale has different challenges from those outlined in that post.

>But a high-tech complexity business that's expensive to build is inherently too costly for a pool of drivers' savings to fund.

>Whenever you see "worker-owned", mentally substitute "capital-constrained" -- and it starts to make sense why many businesses domains don't have any coops rising up to compete with VC-fueled startups.

My favorite conspiracy theory is that VC is poured into software not to produce meaningful innovation, but chiefly to hypercomplicate the field in a sort of Cambrian explosion, so that the "capital-constrained" can't get anything done with the baroque frameworks and out-of-touch developers that the ecosystem produces.

Thankfully, people who understand how a computer works (and what it's good for) do exist outside of SV. Sometimes (shhh!) they're even motivated by other things besides short-term capital accumulation!

And better ethics can mean better efficiency - fewer politically driven kludges in software, less staff turnover, even the fact that people can and do accept to get paid a more average salary in exchange for working at a place that isn't screwing people over at industrial fucking scale.

That's how a cooperative can compete with a megacorpo, although realistically a more reasonable first goal would be to coexist in the same markets, or operate in markets that have demand but are deemed insufficiently profitable for the corp.
Why single out government agencies?

That's the way in every major corporation I ever worked for too.
It's pretty much still like that now, except the last step is "go work for Google for a few years in golden handcuffs".
I wonder if this is the default behavior from some UI toolkit or is it custom...
Are you frantic because of a specific reason?

I was frantic when I was the sole breadwinner for my family, my brother is disabled and my grandmother had alzheimer's. As things improved with my family, I was able to move us into a larger home and I was able to relax a bit more.
> I got a counter-offer, took it, stayed for 3 more years, never regretted it.

After you had already resigned? Glad it worked for you. I had a horror show and have met several people in similar situations.

> Also, I complain A LOT to my managers about what sucks in the company. They seem to like having someone open and honest when talking to them.

Sounds like you work for a very decent company. Do you think that's a better strategy than STFU (not being a dick, I actually would like to know your opinion)?
JIRA just has poor-quality engineering all round. Their native apps are just as bad.
Ok. From our basic metrics on failed/successful tls connection established, I can conclude we only are dealing with incorrectly configured clients and not from random glitches. Peers keep connecting properly after they have figured out how the first time.

I would expect the events to be rich enough In information to distinguish corruption from really sending incompatible parameters/certs vs checksum failures.
You're making some assumptions. Why can't programmers be workers in the coop and be part of the equation? Why can't forms of capital available to other startups be available to coops?
Glad to see this topic getting attention on HN! I just finished a post about 1-bit music a few days ago: https://zserge.com/posts/1-bit-music/
This may not work on a filesystem with compression. That empty file might only take up a block, even though its size is 8 GB.
The covid regs in Egypt are pretty relaxed if you want to give it a go.
Slack introducing Clubhouse features
A lightsail server can cope with 500 or so people that need to use my server every day for $10 a month. It’s not worth thinking about the price, just throw the script up and job done. Even if you could spend a couple of hours making it twice as performant it wouldn’t matter.
Everytime I hear this, I have to laugh. Setting up a car workshop, carpenter workshop, a bakery, a hair salon etc. will set you back a few ten if not hundred thousand dollars for equipment and/or inventory alone. Meanwhile you can rent servers for low double digits dollars a month and a decent laptop costs $2,000.

The only thing expensive about software development is labor cost. Hardware is ridiculously cheap compared to any other profession.
You cab connect with using the chat bot on our website or write an email to us on kkishann.ps@huntnhire.com to get free payroll solutions.
https://www.youtube.com/watch?v=2a3hLZJZmlI is another time lapse, with a bit more explanation of what's happening. Around 3:21 they're on the Great Bitter Lake, where the northbound convoy passes the southbound convoy.
I had zero problems without swap-files for a long time, thinking that 16gb was a lot of ram, and that i could manage. it wasn't and i couldn't.

Now I run two swap partitions the size of physical memory on all machines. Turns out that after some weeks a good third of allocated ram lives in swap proving its usefulness .. and that its quick to turn the aux-swap partition into one for lvm snapshots and i suppose to act as part of the set to emulate'baloon files' too.

tl;dr; bad defaults. go with the size of physical ram and get suspend/hibernate/hybrid working and tested too.

use a 2nd ram-sized partition for snapshots/lvm and emergency space/lvm|zfs.
Amazingly, that pattern is very easy to implement and yet nothing across Mastodon/Lemmy/Reddit comes even close.
Extracting the abstract syntax tree from GCC (2015)
Respect to you sir.
Not sure if OO really rules the GUI space. Afaik, at least Swift, Dart (Flutter) and Kotlin are trying to solve the mismatch between OO and Reactive Programming (where functional approaches very helpful)

Most of GUI development is pure data handling (render state and react to interactions) where a strong functional toolset is much appreciated (lambda, pattern matching) and some parts are well done with closures (where OO comes in)

Ultimately I would love to have a GUI development language that allows me to use one set of language features and constraints when I really just want to use functions on data immutable data, strong pattern matching and ADT for modelling) and another when I need strong closures, with message based dispatches and reactivity.

Basically, whatever React does, minus the constraints of requiring JS compatibility.
How long would it take to dig a bypass?
I think there were some false reports. It's still stuck.
How to Improve Network Security and Visibility in 2020 and 2021
Elon Musk, Texas: Apartheid
Using 8-inch diskette drives with a PC
I don’t think it is quite obvious whether you can charge someone with an illegal weapon you found. If the search is illegal, I’d say the officer must answer for it. The officer, not the suspect with the illegal weapon, must go to prison. I too can probably find at least one person with something illegal if I stop everyone and search them for no reason.

Worse, I’ve heard people ask if the police has a search warrant before allowing them to search their cars on a traffic stop be subjected to many hours of being stopped by the side of a highway followed by a K-9 unit which scratches the whole car based on where the handler taps on the car.

The officer doesn’t care because they get paid for the whole time they are there. What about the car driver and other occupants though? What if you are on your way to work and fired because you are late because the police stopped you? Why don’t I deserve to get paid for my wasted time?
The book that immediately sprang to mind is one I hesitated to share here, and will only devote a paragraph to. It is "The Book of Mormon: Another Testament of Jesus Christ". I believe it truly is a record of God's dealings with men, and have changed my life to live according to what it teaches.

Now, onto the sorts of books you were more likely looking for, although most of these have only changed my perspective, and not my day-to-day:

- "The Collapse of Chaos: Discovering Simplicity in a Complex World" by Jack Cohen and Ian Stewart (1995). The most mind-blowing thought was that if you, say, accurately simulate an atom, and then build molecules out of it, then, while the atoms are fake, the molecules are real/true/useful.

- http://worrydream.com has presentations and essays by Bret Victor on using the computer to augment what humans can think and accomplish. Everything here is good; "Up and down the ladder of abstraction" talks about seeing a problem at different levels. "Stop drawing dead fish" discusses creating interactive simulations by drawing. "The humane representation of thought" discusses how knowledge work has been constrained to rectangles and we should move beyond it and engage our whole bodies.

- I highly recommend all the books by Dan and Chip Heath. "Decisive" is on making decisions. "Upstream" is on solving root problems, and not just symptoms. "Made to Stick" is about spreading ideas and having them be remembered.

- "Being Wrong: Adventures in the Margin of Error" by Kathryn Schulz—looks like she's also done some Ted talks—talks about how we can be deceived and why we are wrong in so many domains. Similarly, "The Righteous Mind: Why Good People Are Divided by Politics and Religion" by Jonathan Haidt was very interesting as it suggests why people understand the world so differently. By analogy, imagine that we all have five taste receptors on our tongues, but some people use different ones to inform what they like. Fascinating.

- "Younger Next Year for Women: Live Strong, Fit, Sexy, and Smart—Until You're 80" by Chris Crowley and Henry Lodge. I don't fit the categories the book is for, but saw it on my library shelves, and it applies to everyone. It maintains that your body is either growing or dying, and you need to put time in every day getting your heart rate up if you want to live a full and healthy life.

- "Growing Up with Lucy: How to Build an Android in Twenty Easy Steps" by Steve Grand. Written before GPU-powered machine learning, this book, by the programmer behind the "Creatures" series of games, gives interesting insight into artificial life.

I'm certain there are lots of good books I've read that I'm not recalling at the moment.
There oughta be a macro keyboard
WWII codebreaker Turing honored on UK's new 50-pound note
Yeah, I'm already using nextdns, but not sure it's enough in some cases...
We used Wkhtmltopdf on a project making PDF reports. The challenge we ran into with it was generating PDFs with pixel-precision for content layout, and at the time support for CSS Flexbox. I think eventually we worked out how to do it, but that for us was the tricky bit.
Ocean Currents Predicted on Enceladus
Ahhh the old "socialism/communism inevitably fails" meme.

Let's assume one could even call those failures communism/socialism.[1] How long have we experimented with and developed socialism/communism? 100 years.

How long have we been trying to get democracy right? 2,500 years. With many starts, fits and failures, devolving into dictatorships many, many times. The self-proclaimed "greatest democracy in history" is guilty of genocide and slavery. Even today how much it is a democracy as opposed to an oligarchy/kleptocracy/plutocracy is questionable.

How about capitalism? 500-800 years. And in that time it has exploited, enslaved and murdered people, pillaged entire nations and continents[2], raped the environment, and poisoned every culture that has adopted it with the notion that "selfishness is a virtue".[3]

The only reason capitalism hasn't collapsed (yet) is because capitalists are smart enough to not do pure capitalism, knowing that it would lead quickly to revolution, and because the environment's revolt is just getting started.

---

[1] “The west called [the Soviet Union] Socialism in order to defame Socialism by associating it with this miserable tyranny; the Soviet Union called it Socialism to benefit from the moral appeal that true Socialism had among large parts of the general world population.” ~ Chomsky

[2] The United States: "look how many people died in the Soviet Union's industrialization program!"

Socialists: "how did the United States industrialize again?

The United States: "look, you need to do a BIT of genocide and slavery to kick things off…" ~ Existential Comics

[3] One of the most beneficial things about immersing yourself in deep study of American history is that you get to a point where this country can no longer effectively lie to you about why it is the way it is. It disabuses you of the notion that the inequality we see is an accident. ~ Clint Smith
Arcade City (the other driver co-op from Austin) is still going strong though. They’re actively working on v5 of their app. https://arcade.city/

They are more of a free tool to allow drivers in each city to create co-ops though, rather than one specific co-op.
Great post, entertainingly written.

Back in 2015, Instagram did a blog post on similar challenges they came across implementing emoji hashtags [1]. Spoiler alert: they programmatically constructed a huge regex to detect them.

[1] https://instagram-engineering.com/emojineering-part-ii-imple...
Why not switch to a keyboard that does have it?
I think once I heard something like "In the west you pay bribes so that the officials don't do their job, in the middle east you pay bribes so that they do their jobs".

I'm familiar with high-bribe environments and used to go through bribery intensive border between Bulgaria-Turkey.

It's a breeze for the regulars, they know why their document is not processed or why the bus is being kept and know the channel, and the expected bribes so they easily pay and go through.

The problem is, when you are not a regular you simply get frustrated because you can't just ask how much since there are anti-corruption measure in place that need to be avoided. You need o go somewhere or give it to someone seemingly unrelated.

It can be somewhat parallel to tipping culture but in tipping they do their job an expect a gratitude payment, which doesn't slow down or block the process. The bribery culture has it's own dark side since you need to be coerced into doing it.

Also, the Turkey-Bulgaria border often gets busted for running large scale duty free alcohol and cigarettes contraband. That's when they get bribed for not doing their job(of preventing contraband), the "pay to get things done" bribery mostly died off because of the digitalisation. Don't search my car, don't inspect my bus in exchange of cigarettes bribery still lives though.
They do have radar, AIS, and an electronic chart on which their position and the position of the buoys is plotted, as well as the other ships (via AIS). And a pilot on board who is very familiar with the area. All of that helps a lot, and in some ways it's probably better than driving a car in that fog. But yes, it's still terrifying.
> And it's all about relationships, which is something nearly every startup in this space misses, which is why nearly all of them fail faster and harder than they do in other industries.

Could you expand on this? It's not clear from the outside how this would be such a central part of the industry.
Can you implement an API for that? ;)
Upvoted you, too — I would have skimmed right by the (great) pun had I not noticed your comment.
Fair enough. But FTR the 12-1a habit was itself a form of restraint against my prior tendency to stay up much later than that -- as a parent of school-aged kids, w/ no plausible option to sleep past 7a or so. Staying up till 3 or 4 and getting less than 4h sleep would've been a non-starter.
Yes. This is a constant issue when non-scientists discuss scientific theories. A law is just a convenient equation that works sometimes, in certain conditions.
yes, in fact the security model of Apache mod_cgi(especially with mod_userexec) will isolate scripts to an single user, which is also the level most modern reverse proxy based setups offer.

The problem was that the newbies writing cgi scripts in 1993 generally did not have much experience with input sanitation and had very few libraries to lean on to do it for them.
Right. Even within the UK, there are observable differences in the day between southern and northern points. If, say, someone from Kent was to fabricate a story in Glasgow set around twilight, you'd immediately notice their timescales are off.

You could technically remember that without knowing why, but for real people organising facts like that under "things that are true because the earth goes round the sun, is tilted, and is round" is easier. A skilled worker organises their knowledge.
Yup, I'm originally from a country where it's a common saying between people that there are "laws that stick" and "laws that don't stick". The only value of a law is in its enforcement, watching the flow of oligarchs' money towards City of London tells me enforcement is still very subpar.
Lol, Can we compose the helicopters?
Fintech Comes to America at Last
I find it very interesting. Most of us are more used to highways and airports. The problems one usually has are "if you don't have the documents with you, you go home/get on the next flight".

But in "boat world", delaying a trip a few days is no big deal. So things move slowly, there's time for all this cigarette song and dance, etc. This story has some old world charm in some sense.

Of course bribery is not cool, but in other ways I'm glad the whole world isn't (wasn't.. 2003) so homogeneous, and would prefer it to remain that way because its more interesting.
Joe Is Wrong (2009)
Easiest thing would be an anonymous app that you just list the org you work for, and dept/branch. Nothing more. Then they can communicate that way.
Ironically, the blast radius of that thing is still smaller than the ship that would need to be blown up. If you really want to clear the canal with an explosion, it would have to be one large enough to vaporize the ship, making sure there's no debris in the canal afterwards.
That's why I have only few apps installed and if it's possible I opt for the paid version. (I do appreciate Fdroid though)

Still, I think it used to be much worse or at least more obvious in the early 2000s. At that time Shareware was still a thing and it was normal for installers to add completely unrelated 3rdparty software. Probably that's also half the explanation why Windows used to be so unreliable, half of the ecosystem around was just random stuff.
I think that going back and adding tests for existing code is both difficult and, to be honest, a bit boring/unmotivating. Writing tests is also a skill that takes time to acquire. I think the best way to go about this is to do it incrementally, that would also solve your second point.

1. Start writing regression tests when fixing bugs

2. Start writing tests for new code

3. Start writing tests for old code whenever you touch it

Writing regression tests are a bit simpler since the bug report already contains the test case. The odds for the test being useful is higher since this is, in fact, code that can fail.

Writing tests for new code is also easier since you have a greater ability to form the new code to be easy to test. For unit testing you will, probably, naturally favour pure functions/components.

It is super important that your tests run automatically on any PR or merge to master. If they are not run automatically people will break them and it will be a hassle to fix.

One tip for forcing yourselves to write test for new code is using coverage thresholds. For Jest it works like this [0], but remember to also use the collectCoverageFrom to include files that have no tests. Checking thresholds will make it impossible to merge code that lowers the thresholds. Since you already have buy in this is a great way to keep you and your team honest.

And lastly, this was focused on unit tests, but in your situation I would probably begin by writing some high level, black box, end to end test. These give you much more bang for the bucks when it comes to answering the question "Have we screwed up something big or can we release this?".

[0]: https://jestjs.io/docs/configuration#coveragethreshold-objec...
New DevOps automation features for Jira on-prem
My CZT book is trending in Amazon no.1 in Art category
I Have learned alot from my teacher who is certified zentangle teacher. I am now a decent doodler, i can draw tangles and i can draw botanical tangles with the help of this book :)
A surprising number of managers haven't got the memo about the "dispelled myth" part.
https://en.m.wikipedia.org/wiki/Qualified_immunity

Qualified immunity is a shield from civil suits not criminal liability.

For example if paramedics are performing life saving functions and the injured party still dies those paramedics shouldn’t be at risk of law suit attempts to save life. The consequence is paramedics would let people die without life saving actions in full knowledge that in most circumstances their actions would prevent death because there is great personal financial liability for performing their jobs in some rare circumstances.
I tried once to use Chromium as a library to create PDF. But even they don’t expose a nice C API for that, with all the settings you can make in the UI. Super messy.
Nowadays you can refer to UAX #31 for hashtag identifiers (first specified in 2016): https://www.unicode.org/reports/tr31/#hashtag_identifiers
> everything that happens within it is stateful

If that were the case I'd just fix your comment instead of appending another comment after the fact. But that would make the arguments harder to reason about I think.

> including our code

Do you use git? Or does your team all just edit the same code on a shared server? (The OO solution here is to make state 'private'. It supposedly doesn't really matter than you're all editing the same documents at the same time, because they're behind getters and setters)

> why does the FP crowd make state even more difficult to reason about?

State is difficult to reason about so we maximise out stateless code.

> talking down OOP

I talk down OOP when I treat it as the diff between OOP and FP. That is, coding is 80+% the same whatever you use. It's the last 10-20% where the differences emerge: Lambdas are better than anonymous inner classes. Not having null is better than having null. Not needing to cast is better than casting. Composition is better than inheritance. Stateless is better than stateful. Value-equality is better than reference-equality. Generics + type erasure is clunky without higher-kinded types.
Streamline React Native Internationalization: Format.js with Message Extraction
The video's been around since 2009. Video:
https://m.youtube.com/watch?v=FtutLA63Cp8

Wikipedia article:
https://en.m.wikipedia.org/wiki/Bad_Apple!!

I recommend watching this video, "Bad Apple explained:History and Analysis":
https://m.youtube.com/watch?v=6QY4ekac1_Q
It's fascinating.

I think this video is a fabulous example of community creation.
This is 100% true as long as human motivations are not factored into play.

The equally plausible reverse scenario is that as soon as artificial honey is preferred, bees will be killed off for being useless in the capitalist sense, and the planet will die.

Nothing is ever black and white.
Ask HN: How strong is the connection between Cucumber and BDD?
I once used this with pygmentize as part of a really hacky pipeline to convert code snippets to syntax highlighted PDFs with selectable text:

%.pdf: %.*
pygmentize -f html -O full $< | wkhtmltopdf -T 0 -B 0 --page-width 210mm --page-height 5000mm --no-background - - > .tmp.pdf
pdfcrop .tmp.pdf $@
rm -f .tmp.pdf
You are all missing the simple solution: construct another canal next to it, so the other ships can continue to pass.

( I'm joking, do not take this as a serious solution )