skysight-inc/HackerNews huggingface dataset:
I lived on the Balboa peninsula for a few years. Although it's rare, if the waves are very calm for a few days the water clears up a great deal.

Not arguing that they're aren't huge problems with the health of the ocean, but I have seen the water clear up that much a few times a year.
> I think those people are wrong, especially if there are male refuges available.

Personally I think they are right, _especially_ if there are no male refuges available. Which according to my cursory glances seems to be the case, at least in London[0].

[0]: https://www.standard.co.uk/news/crime/there-are-no-male-safe...
I am not a socialist. I believe that our lives are better because of capitalism and there is a space where there is a third system..that is neither pure capitalism or pure socialism. I also don’t beleive that resources are unlimited or that everyone has an equal claim to it. Unless we drastically curtail human population numbers. We do live upon a resource constrained rock. All ‘groups’ must have equal claim..which means non human species and nature and habitat have equal claim to natural resources that we monopolise and appropriate. I also believe that some jobs shouldn’t be done by human beings at all. Freedom is foremost. Dignity is next but if we give people true freedom, everything else will follow. That is freedom from exploitation and also freedom from coercion. I detest poor people exploited just as much as rich people being shamed. One day, jobs will disappear as will wages. What then? We have to plan for such a future. We have to create new models of relationships and how we interact with others.
Not exactly what you're asking for, but similar goals: https://preciousplastic.com/
In Ruby, everything is an expression. I also miss Ruby’s unless in many languages.
I've been developing C/C++ for over 20 years on everything from large scale high-performance clusters to 8 bit embedded devices. Most of my career I have been consulting and I've had the opportunity to work in almost every domain, and I've had to work with a lot of other developers.

My thoughts are this guy is type of the developer I hate to work with most. The style and naming Windows and Borland C++ specific, so this probably grew organically from Win3.1/NT. This probably pre-dates STL, but holy cow. Given how he misuses some terminology, he is probably a self-taught programmer from days of old.

Generally, when I see that a developer has decided to use their own typdefs to represent intrinsic data types, it's a bad sign. However, what I see that this guy created his OWN class as a replacement for bool, I know I'm going to be rewriting a lot of code.

There is no way I would use this library, regardless of the terms.
> I have much less decision fatigue and am less stressed

Then you're not engaged. It's scientifically proven that your brain is no longer alert if you are not constantly engaged. And you can't be magically less stressed by decisions while being fully engaged and alert in order to verify each of those decisions. It's like saying a calculator makes you life easier because you no longer have to calculate yourself to get the result, you only have to calculate yourself to verify the result.

You're either less stressed because your mind simply offloaded tome tasks to the car contrary to the law and common sense, or you're actually engaged and your brain is doing what any driver would normally do so the whole effect is placebo. Which is cool I guess but this last one can be had for a lot less.

Driver assists are there as a backup, not to rely on them to do what you no longer feel like doing because it's too stressful. And if you feel less stressed letting a pretty dumb AI (compared to a human driver) with poorer eyesight than yours to drive you around you must be a pretty laid back person anyway.
>It’s confusing to use the term “first class” when what you mean is “mediocre but built in”

"First class" in computing terms means strictly "built in", "supported as a native object" -- it doesn't say anything about quality (as opposed to e.g. "first class" airplane seats).

>This viewpoint explains a lot about web technology. The syntax doesn’t matter. The visual output doesn’t matter. Practical adoption by users doesn’t matter. All that matters is ticking features down on a checklist somewhere.

Sounds like a generic lament.

What matters here is: (a) performance, which is and always will be better than some plain-js implementation.
(b) being native (which means it will eventually be on all browsers, without asking the users to load anything extra, and will mean writers can just depend on it), (c) the visual output will be better (for one, it will be native vector fonts laid out, not a canvas drawing which is not infinitely zoomable or non-math aware SVG where it's just pretty pictures), (d) it will be able to interact with all other browser capabilities better than any pure-JS implementation.

The syntax is irrelevant, as it can be a target for any other syntax one prefers. In fact MathJax already delegates to MathML rendering where it can.
That was my thinking on this metric as well. From an outsider’s perspective, it seems like quite a stretch to suggest that influence is a relevant metric for skill. There is likely a loose correlation, sure, but unless I’m missing something, it seems only slightly better than throwing dice.
I have mini home shop if that counts. I don't have much room so I have a Sherline mill and lathe. I used to own a 3020 but I sold that and now I have a shapeoko 2. But to be honest I use my 3D printer a lot more. Subtractive manufacturing is just too expensive. A set of good end mill can cost as much as my Ender 3...
Ahh. Yes, you are right.
You are assuming that my goal is to criticize some people. This is wrong. You will not find any name or mention to anybody in my previous post.

You say also that I dislike something so this explains X. As you don't know me, you are not in the position to base your arguments on such claims. Ad-hominem fallacy

Am I "invoking" delayed gratification? where?

> Do you really think an animal is going to spend 20 minutes trying to get a tasty snack out of a barrel because it's hungry - and then set it aside for later once it has hold of the snack?

It depends on the context. If we can see the video we could discusse it properly.

Wild animals stopping what they are doing and running away when they realize there is an human around with a camera? I can see it. Yes. Definitely a very common behaviour.
> https://stackoverflow.com/questions/3577641/how-do-you-parse...

It says "can make regex fail when not properly written" etc.

There are different circumstances where using a premade parsing library versus using raw regular expressions are going to make sense.

The answer is not binary.
It used to be 'thumbs down' - the functionality has been there since early on.
Absolutely, 'What everyone knows' has been so frequently wrong throughout history, a few people get ill and suddenly that harmless old lady who lives alone outside the village is on the bonfire...

Humans are terrible at attributing cause and effect without a rigourous way of reproducing it.
The possibility would be there though, forcing anybody considering the evidence to consider the possibility that she was the culprit and, as the culprit, was capable of fabricating evidence of her innocence.
People sometimes make very elaborate and well-reasoned arguments that seem enormously persuasive but turn out to be based on dubious axiomatic assumptions. Your suggestion that science might be slowing down because we're not being nice enough to jerks seems pretty questionable. Surely, if this were true, the jerks could all just get together an out-science everyone else, Ayn Rand style, and everyone else would be forced to admit their fundamental superiority. We'll never know unless they try.
That's an ingenious design, and I get building it as a hack, but old manual machine tools aren't that expensive. I have seen large (16"+ swing 48"+ travel) lathes sell for under $1000 regularly. A couple of observations about old machine tools.

1. The manual machines are really only used by hobbyists anymore. This is less true for Bridgeport mills (almost every shop has one) and manual lathes. For one off jobs which are always needed in a shop, it's much quicker to perform on a manual machine vs a CNC. Manual lathes tend to have a larger work envelope than common CNC lathes.

2. Price doesn't scale with machine size, often the opposite. Bridgeports are universal and in every shop, larger mills less so. A Bridgeport weighs 2000 lbs and sell for $1500-$5000, when you get into 6000+ lb manual machines, they sometimes sell for $500-$3000. The reason is that they are no longer used in production and they are too big for most hobbyists. Moving larger machines is much more difficult. North of 6000 lbs, it is very difficult to haul the machine without a CDL (CDLs are generally required when the trailer is 10K+). Riggers (the craftsmen who load the machine onto a trailer) and transport can cost more than the machine itself.

3. Tooling (drill bits, lathe tools, mills, fixtures) is frequently much more expensive than the machine itself. Finding a machine with tooling is a really good call.

4. There are great deals on machines in the midwest. I scan the detroit and chicago craigslist in particular.

5. Kearney and Trecker milling machines are super cool. They are noted for being the pinnancle of machine tool engineering - all done mechanically [1].

6. For lathes the top brands are probably Monarch and Axleson, followed by mid tiers like Clausing, Leblonde.

7. For all machines, the machinist is more important than the brand of the tool.

8. Avoid older CNC machines, parts are hard to get and expensive. I would be afraid of any CNC machine made before probably 1995.

9. Rigging equipment is pretty cool and necessary for running any type of shop. People do all kinds of cool machine moves with combinations of pallet jacks (~$100 - lifts 5000 lbs), hoists, anchors, Egyptian rolling bars, digging bars, machine skates, and engine hoists. [2] [3] Hire a rigger though.

[1] https://www.youtube.com/watch?v=kANvdzoVUfw

[2] https://www.youtube.com/watch?v=bx80iYfgXkY

[3] https://www.youtube.com/watch?v=BjksLl9xur0
I'd argue that it's not even a problem if more food is wasted. If it's a small percentage, it's still going to be a net win for the environment if it dramatically reduces the amount of plastic used for food packaging. The problem is that there is no economical cost on the environmental impact to producers.

My local supermarket has switched to supplying avocados in a plastic tray wrapped in plastic film. I can't imagine that provides any meaningful advantage over shipping 10s of avocados loose in a large cardboard box.

Of course for the industry it's bad because any percentage increase in waste comes out of their profits, while plastic packaging is basically free.
How many layers atop boost would satisfy you? Boost seems pretty high level to me, and not like it needs a lot of abstraction atop its ... abstractions.

This is where I see this weird disconnect between communities. A C person doesn't want layers.
Thats one interpretation. After all, immigrants don't vote.
I think the point is the client might not be sophisticated enough to realize there’s a distinction there. If my auto mechanic replaced a part in my car with something that worked basically the same but cost me a lot of time and money and hassle to fix when it breaks down the road, I’d be pretty upset, especially if he strongly implied that he replaced it with a normal part.
The United States of America is a entity comprised of several states, each one with it's own constitution and judicial court, while there is a central government with it's own constitution and juridical court.

So does the European Union.
Yes and no. Our biology hasn't changed since the middle ages, but we're so much better with sanitation, medicine, and communication that it's much less likely that we'd suffer the sort of population-decimating plagues of the past. Not impossible, but much less likely. In the 1300s, nobody even understood what caused disease or how it spread. They had a vague understanding that sickness could be contageous, but that was about it.
Last time we needed one we chose google. Not because we necessarily liked it but because then there was no argument about what the guide is or should be and so we didn’t spend any time writing one.

It’s ok, not great, and definitely google specific (e.g. even google would prefer to use exceptions but for legacy reasons they can’t. So we couldn’t either)
Micros generally are great. You gey a good (high level) understanding of registers because you're interacting with them all the time in normal code. Pretty much everything you do with a microcontroller involves setting a bit in some register, and as you say, that register is really an address (this is usually eaiser to grok when reading values from an attached sensor that requires sending a memory offset).

Also the instruction set tends to be quite small. I'd recommend starting with something like AVR though, a bit easier to get going than ARM.
In the 19th century William Whewell developed concept of "Consilience of Inductions". Evidence from independent, unrelated sources can "converge" on strong conclusions. We should feel more confident about our conclusions when we have lots of lines of evidence that stand alone independently, preferably collected by different people, in different parts of the globe or at least different universities. Maybe they don’t even like each other.

Many contrarian views grow long time in small small minded groups or even withing one individual. They have high internal consistency and logic. When exposed to outsiders, they usually spot some obvious errors immediately.
That's supposed to be a witty retort? Did you bother to read those bug reports you've linked to?

They are already tied to static analyzers, which is how they were found. What do you think the: "Sanitizer: address (ASAN)" or "Issue 938699: AutotestPrivateApiTest.AutotestPrivate getPrinterList failing on ASAN/LSAN" in the bug reports means?
I'm not sure I would go this far, there was a lot else that went on.

But economically, for sure it was huge... we can actually trace several such swings in pre-industrial England, plotting population against per-capita income (or calories!) and it walks back & forth along the same curve a few times over the centuries.
I hope merely satire. I don't find it convincing at all, so I wouldn't suspect malice, nor of course a serious attempt at forgery :)
Hence I said “in Erlang / Elixir”. Because, really, in those two, recursion IS the only way to go.
It was even funnier than that - they were very similar on conceptual level, but with trivial gratuitous syntax differences - e.g. "sealed" instead of "final", or "base" instead of "super".
CA family furious after hospital uses video call to tell grandfather he's dying
Emergency rooms are only required to treat immediate life-threatening conditions, that is, so long as someone is breathing enough and keeping enough blood inside to remain somewhat conscience as they're wheeled out or propped in the parking lot, they've fulfilled their obligation under the law. And then there is what exactly counts as an emergency. Things not categorized as emergencies: death from rattle snake bites, death by rabies (both very painfully). And all of that is only if it's actually enforced[1][2].

[1] https://journalofethics.ama-assn.org/article/refusal-emergen...

[2] https://www.propublica.org/article/despite-federal-law-some-...
I wish the article had gone into more depth about what this Blockbuster does differently. It makes sense that they stock older movies that are hard to find on streaming services, but I bet that’s not the only thing that differentiates them. They’re a survivor of an extinction event. If they’re still open two years from now, I won’t be surprised if some savvy business mind comes in and starts opening up more “Blockbuster 2.0”s with the simple idea of imitating this location’s strategy as closely as possible.
Concise code is its own reward. Yes, it's syntactic sugar, but there's a reason syntactic sugar is valuable.

Even if performance is the same, you wouldn't prefer this Javaesque code:

Int.from(8).multiply(5)

You'd use `8 x 5` were it available.

Several discrete function heads are easier to mentally parse than a long case statement because you know without a shadow of a doubt that there's no code in the function above or below the case statement, and you always have all relevant bindings directly adjacent to their usage.

Consider this Erlang code:

f(X, Y) ->
case X of
{1, 2} ->
low;
{2, 4} ->
high;
{3, 6} ->
Y
end
end.

When you get to the 3rd case statement and `Y` appears, it's jarring because it was declared several lines removed.

Instead, this code makes it explicit for each function clause that we don't care about the 2nd argument, and when we do care, it's immediately obvious where it came from.

f({1, 2}, _) ->
low;
f({2, 4}, _) ->
high;
f({3, 6}, Y) ->
Y.
> A phone is a treasure trove of SQLite databases

This is so true. I've thought for a long time that a cool art experiment would be a blackbox with a lightning cable protruding out of it. You plug your phone in and answer "Do you trust this computer?" And if you do, those "SQLite databases" you mention get projected on the wall. A bit like the wall of sheep, I guess, but more for the purpose of educating people just how much data is actually on their phone.
Would the drop out rate of men (assuming higher) provide an additional control? If low achieving men selected out of the data set before it was collected at the SAT level, there could be a long tail of underachieving men. This would certainly effect averaging, and if number of dropouts were greater than the 90th percentile, there could be some selection/survivor bias in play on how males appear as a group.
Google's, but clang-format does most of the work. I used it for so long that I now get nervous whenever I see a non-const reference somewhere :)
My high school friend was threatened with expulsion and legal action for telling the school administration about the gaping security holes in their grade and attendance systems, which he probed (with permission from a teacher) but never exploited.

He offered that he could publicly announce his findings instead, and they told him they would let him off with a warning as long as he didn’t tell anyone. Then they did nothing about the vulnerabilities.
And what I find frustrating in this discussion is that people don't like to think in term of distributions. The 78k female aren't less capable in any way than the 120k males, there is just fewer of them. But then a journalist will summarize that as "women scoring less than males in math at SAT". And then we go into a sterile flame war of blanket statements about gender, etc. The debate on the Damore memo in that respect was depressing, particularly from educated engineers who should know better.
I love it! I think I might pitch this as something to do with coworkers under the guise of learning more about CI tools.

We already use Jenkins, but the SRE team manages it, so us programmers don't get to play with it too much. This could be a great excuse for tinkering with the more integrated offerings from Github/Bitbucket/Gitlab.
I would be stupid to say that "every Indian IT guy is incompetent". Every one is six human beings is Indian. So, you will find smart people everywhere.

Any comment can be criticized in two ways: (a) it is a generalization; (b) it is too specific or anecdata. Here, we are talking about HCL's preference for Indians.

Even in WITCH companies, there are smart people. If there are x percent of smart people in the world, then WITCH companies do have x percent of smart people.

The way WITCH companies send people onsite (USA, UK), depends NOT so much on how smart a candidate is, BUT on some kind of cronyism. At TCS, if someone wants to go onsite on H1, he needs to cozy up with all three levels above him, then this big boss recommends him to HR.

Even if someone comes onsite, he has to suck up to onsite managers to process I-140. If he doesn't suck up to these parasite managers onsite, he will be sent back to India.

Not many Americans know how these WITCH companies operate. That's what I am shedding light on.

Here is something to look at: https://www.petition2congress.com/ctas/stop-eb1-c-abuse-frau...
What if the doctor couldn't get back to the hospital in time and this was the only way to tell them?

Maybe he or she can, umm... send someone else?
Dunno about nic but I bought a usb c to c, a, and HDMI converter dongle thing to replace the stupid Nintendo switch dock, and happily discovered my galaxy s9 was outputting display and intaking USB through the thing.
> In what way?

Well, I don't intuitively see a huge difference between my browser history being kept in a database I can't clear (short of nuking the whole system) and my download history being kept in a database I can't clear. I think we'd agree that one would be a problem, so isn't the other? Could a malicious program read this, for instance?
Assuming you're in the US, and not under a contract that says otherwise, a two-week (or any) notice is entirely a courtesy. And if you're not being treated courteously at work, I don't see a good reason to be one-way about it.
But it's important to keep in mind no one is saying that. It's dangerous to get wrapped up in what people might say because that relies on your imagination, not reality.
I guess this might be an unpopular opinion, but I've never seen hard numbers proving that recycling is actually necessary. I am curious, what would be the consequences of simply digging big holes and burying all our rubbish? I understand that some of it generates greenhouse gasses, so that might have to be dealt with separately. But for general inert waste, is it that bad to just stick it in the ground?
Show HN: Owlet – Typed Spreadsheet UI Library for Scala.js, Now in 3D
Yes, especially the m_, I, C, S, E and G stuff are very common. I think it comes from MFC. The T stuff is less common - in my current company templates are also C-prefix, but in the previous company i worked at they were T-prefixed.

Some other stuff like L, F, A, s_, etc are things i came up with myself for my own code (for work code i use whatever others are using) since i didn't like the more common uses (in the previous company i worked at statics were also S prefixed, but i wanted something to separate from structs so i used L for "local"). Of course once you get used to the common style above, these "extensions" are mostly obvious so i'm certain that others are using them too.
And there are abusive people who skirt by in their organizations by saying that their victims are just too sensitive.
I think it's cool to see projects like this! It's sort of like an "alternate history" for a C++ programming model. I agree that it doesn't seem immediately useful for most projects, but that's okay :)

I hope the author publishes more explaining some of the architecture and design choices and how they diverge from what the rest of the community has come up with. At the very least it will be an interesting comparison.
Yes exactly. If billionaires could abolish weekends and public holidays without risking a massive backlash, they would take it all away in a heartbeat. They would lobby to reinstate slavery if it would give them a risk-free competitive edge.

The only thing that these people cannot moralize is the stock price going sown.