skysight-inc/HackerNews huggingface dataset:
Yes you can. Complaining about unethical, exploitative business practices is how change is made.
Between the colloquial meaning listed in dictionaries, and the technical meaning found in military law books, which is "the well known one"?
OOP doesn't require inheritance, and structs with function pointers are how "classes" get done in C, better brush up your knowledge of OOP, and while you are at it, learn about Vulkan as well.

Also in case you have missed, all proprietary 3D APIs are either OOP or object based.

I wonder where is the OpenGL C implementation that will outperform LibGNMN.

By the way, one of the reasons why OpenCL failed to gain market shared was its focus in C, instead of the nice C++ libraries provided by CUDA.

When Khronos woke up and decided to offer such APIs, it was to late, now we have OpenCL 1.2 renamed as OpenCL 3.0, and SYCL is being re-designed to be backend agnostic.
Amazon apparently fraudulently issued an employment offer and contract that they never intended to honor. It will certainly make me think twice about ever signing a contract with Amazon.
Swift's approach to this is pretty good. Arguments have a fixed order, and whether or not they are named at the call-site is explicitly decided by the author of the function signature.

In practice the order and identity of the arguments is quite clear in Swift.
Sounds like they'll bounce once they learn what they need.
That's interesting. At first glance, I thought you were suggesting "just switch roles completely!" But, you aren't saying that, you are saying the new employer just needs to be clever in creating a role with a different name.

But, then again, for some roles a public presence is needed, like public speaking. You can't temporarily have the role of "janitor" and go out and speak authoritatively about AWS at a conference with that role. Maybe people will get the joke after understanding the true state of these agreements.

Wait, do we even have conferences anymore?
Such a scheme depends heavily on whether the cloud providers can efficiently multiplex their bare-metal machines to run these jobs concurrently. Ultimately, a particular computing job takes a fixed amount of CPU-hours, so there's definitely no savings in such a scheme in terms of energy consumption or CPU-hours. At the same time, overhead comes when a job can't be perfectly parallelized: e.g. the same memory content being replicated across all executing machines, synchronization, the cost of starting a ton of short-lived processes, etc. These overhead all add to the CPU-hour and energy consumption.

So, does serverless computing reduce the job completion time? Yes if the job is somewhat parallelizable. Does it save energy, money, etc.? Definitely no. The question is whether you want to make the tradeoff here: how much more energy would you afford to pay for, if you want to reduce the job completion time by half? It like batch processing vs. realtime operation. The former provides higher throughput, while the latter gives user a shorter latency. Having better cloud infrastructure (VM, scheduler, etc.) helps make this tradeoff more favorable, but the research community have just started looking at this problem.
Architecture is best understood from experience making architectural decisions. That being said this is immediately a danger moment during an interview.

Many developers, including those conducting interviews, have not taken the time to learn architecture by going through the rigorous numerous failures to flesh an idea out into a simplistic data structure that scales with a primitive API and is independently reusable. These things seem obvious once completed but take practice and vision to formulate, and of course several rounds of refactoring. When you are interviewing for an architect position it’s that vision that you want to look for, but many interviewers are clearly looking for patterns (code and/or behaviors) they are already familiar with.

My guidance is if you have some experience with architecture be original, right or wrong, but indicate that you are flexible and respond well to criticism. If you are not confident enough to be original be very clear about that without hesitation.

This guidance way result in disqualification from an interview, but that is probably a good thing unless you are financially insecure and just need any job. Reasons this could disqualify a candidate is employer fear of internal original code and fear of challenges to an insecure interviewers credibility or authority.
That animated background is straight from a 90s GeoCities page.
I tell them the minimum is 800k salary plus bonus without an interview. Never hear from them again.
Printing on Windows has been a dumpster fire for 25 years. Nothing new.
Turo [1] is copying the AirBnB business model... rent out your car to strangers. (Well, I'm not going to, but I don't do AirBnB either).

[1] https://turo.com
A bit also stems from the fact that NPM installs dependencies as trees. I.e., if you and two of your dependencies use is-odd, you will have three copies of it laying around, possibly in different version.
Buses sometimes, trains and planes, not so much.
GitHub to replace “master” with alternative term to avoid slavery references
When I add autoreload functionality to my programs I just spawn a thread that checks for last modified date and then re-executes the program with os.execlp(sys.argv[0], *sys.argv)

I found my solution superior in several ways:

- I can force an autoreload just by saving a file (no file changes needed to force an md5 diff)

- exec() doesn't suffer from the side effects of not restarting the python interpreter, clean start every time :)

- it is also quite portable and doesn't require extra dependencies like inotify/fswatch/etc.
</ul>
Not really interested what Jung says about Maharshi - I had a Jung phase after my Freud phase, aged about 20, and came away not at all impressed.

Also had a Hindu guru (and many other religions) phase in my mid 20s. I loved Vivekananda, but Maharshi was the most impressive. I read the Gospel of Ramana Maharshi again 20 years later..and 90%+ of it still seemed true, because he mostly taught from his direct experience, not what he'd heard or read in books. What he knew to be true.

More immediately accessible for westerners might be Gangaji, an American woman, who has videos (some on youtube) and books out, who is in Maharshi's lineage, and has that same quality of speaking from direct experience. She's great.

Also I got a lot from Ram Dass's books and tapes. Yes, the guy who was a Harvard psychology professor until he had LSD. Super-articulate and I love his attitude, full of love and joy.
If you’re not talking political economy, what are you really saying? If you can’t concretely address why things are how they are, you can’t redress the problem.

Think very carefully about what would cause someone like this to avoid talking about the “why”. That is, beyond BS mystification like “oh we got polarized.”

> Yeah, that was a single night. It was literally a single night.

Anyone can dash off a memo in a night. It doesn’t do anything, which in this case is the point.
> I think OP is being a bit picky about this particular page.

That's fair. I didn't look at the other pages on the site, and in general the descriptions are solid.

To be clear, I was amused that it made the front page not because of inaccuracy, but because I don't think of HN as a community very interested in cycling.
Please correct me but my understanding is that in essence it’s sort of like the US. There are legally defined reasons you can’t be fired but there are plenty of reasons you can and if they want to fire you, a legal reason can be found without too much trouble.

You can still sue for wrongful termination but the total amount you are able to recover is limited to 1 month salary for each year worked at the firm?
Is Plastic the Problem?
"Is plastic the problem or is it the waste in general?" it's a question I put to myself a lot of times (Actually, this premise brings a lot of other questions, but let's leave that aside for now).
When I was a kid, every time I would go to my grandparent's they would always have washed plastic bags drying outside. One day, I asked my grandfather why washing old plastic bags if we could get new ones for free. His answer was something like "I have two, and two are enough. Why get more?"
My point is there's a lot of articles written about this hot topic and how plastics are evil. When I read them, I feel like most of them miss the real problem: waste. Single-use plastic bags are not worst than single-use paper, cotton, or even iron bags, meaning all of them create new and very bad consequences if not used responsibly.
Thoughts?
In 1994 I was on a team that had one of the few uses of Objective C that had nothing to do with NeXTStep. The Swarm Simulation System[1], an agent based simulation toolkit. We used GNU's Objective C implementation and Tcl/Tk (via tclobjc) for the UI.

We picked ObjC because we knew we wanted something object oriented but C++ seemed too complicated and too static. ObjC was simple and appealingly dynamic and flexible in its type system. It worked pretty well for us other than the costs of being an oddball language no one knew. But it was simple enough to learn that a fair number of our target audience did.

In retrospect I wish we had the courage to use Smalltalk or a Lisp system but at the time that felt too risky. Java was also just beginning to be an option then, but it was still being shown as a toy for making applets and not a real programming language. Also very slow before JITs.

I really appreciated that the ObjC runtime was open source and very small. It was quite easy to get in deep and understand what was going on.

[1] http://www.swarm.org
The author has missed a few important points to paint a picture that ultimately misses reality.

First, Hertz isn't worthless because it has restructured. Even if hertz is ultimately wound up because its debts exceed its assets (something very very unlikely historically) its shares today are worth something because there is still the chance thelat may not happen (including the chance the company will be saved by a bailout)

Second, the traders he refers to are speculators. Speculators fulfill a role that is a well understood and widely agreed to be important for both liquidity and price discovery.

Third, if other people are bidding price up (or down), who cares? You're not a share holder in a "worthless" company, so let them run their casino in that little corner of the market and you can invest in the other 99.99%.

Ge should also Google what a "dead cat bounce" is to better understand crashed stocks' behavior...
where do you get this claim that cancer grows better during fasting, all the data ive found suggests the opposite
I find the way Explorer in Windows 10 handles this behavior to be annoying and inconvenient. It finds ways to change paths into new canonical locations, for example browse to C:\Users\Yourname and instead of giving you breadcrumbs like Local Disk > Users > Yourname, it simply shows "Yourname" as a special home folder. When you click back in the address bar, there are no breadcrumbs anymore, it's erased your trail.

Attempts to make things simpler by hiding the truth about where you really are in navigation seems like a way to make the web less discoverable except by Google. If you're on a web site you can usually learn more about its structure based on URL format. This makes that more difficult.
Why is that you, and other people here, are treating a contract like it's law? Companies can put pretty much anything they want in a contract, it does not mean its enforceable. You have to take into account your jurisdiction.
Off topic but how much of Jeff's wealth would it take to transform Amazon into the best place to work in the world? Solid pay, fair employment, etc, the whole thing across the board.

Even if it took 2/3rds, Jeff would still be one of the most wealthy individuals in the world.

Jeff could make a real change and set and example. Yet he doesn't and I for one can not understand why after you have more than a billion in wealth you would need any more.
An employment lawyer?

Sure, you have to pay for it, but you have to pay for it indirectly if it's a union anyways. It's unfortunate that the costs aren't spread over the entire organization, but getting the opinion of a lawyer is not that expensive for a software engineer.

Personally I suspect that if he refused to sign this and they fired him for that he could have recovered significant damages under promissory estoppel, but that's something you'd need to check with a lawyer before actually doing it.
Every time someone says on the Internet "You can buy x thing in Ebay for Y price" multiply the price by 3.
Cycling is a sport about strategy and athletic power, not about technology. What a bike looks like is fixed so that the best rider wins instead of the best bike winning. You can build a more aerodynamic bike. You can build a lighter bike. The progress would be relentless and all money would be invested there if the rules allowed it. So they don't.

It's the same for many sports. You could use aluminum bats in major league baseball. They don't because they simply work too well. In addition to killing the pitcher if you hit a line drive at him, every hit would be a home run. They'd have to make the stadiums larger and add more outfielders. Why bother? Then they'd make the bats even more powerful, and the process would repeat again. So they just use wood bats.

There are plenty of opportunities to race streamlined recumbent bikes, by the way, it's just not the ruleset in play for the Tour de France. (And of course you can use a TT bike in the time trials.)
The JetBrains IDE[1] seems much better at this so I would assume it is an Xcode problem.

[1]: https://www.jetbrains.com/objc/features/swift.html
Boy, I love this stuff.

Two subtle but necessary and principal clarifications.

1. A reference is not "from that time on". The notion of time must be irrelevant here. The reference is immutable until the process (scope) ends, not in time, just ends.

2. Objects are unnecessary. References and the abstraction principle are necessary and sufficient. Duck-typing is abstraction without an object.

This is what Haskell type-classes captured - to be a _____ is to be able to ______.

Greeks and Platonism plagued OO minds.
I wonder what does someone like Jeff Bezos think regarding this situation in his own company?

Especially since Bezos is a strong advocate for long term thinking and that annoying mantra "still day one".

Can they not see the fallacy of these policies? Burning bridges and thinking short term?

They might have a prospective pool of talents regarding fresh graduates, but more and more people are actively trying to avoid AWS and companies with similar "reputations".
Note that this implementation of `isEven` throws on input that isn't a number or numbers that are not integers, NaN or larger than 2^53-1. I think it's fair to argue an implementation could just as well return false for 1.4, NaN or '2'. There is a cost to learning these minutiae of your dependencies, especially if there is no compiler support to assist you.
GraphQL mutations for iOS apps (with the help of Combine's Future)
It gets better when you read the repo description.

> I created this in 2014, when I was learning how to program.

Someone probably just did this for the fun of learning and somehow it got adopted elsewhere.
Dave portnoy is not a millennial, FYI. He’s like 45.

But he owns barstool sports and literally exists to drive pageviews. There are no sports so he turned to sticks, just like it’s described in the article. Unlike wsb he’s worth tens of millions so losing $1MM is less significant than it would be for most.

But yeah, awful for the stock market undoubtedly.
Coffee hasn't kicked in yet, took me a while to figure out you were saying '[' url encodes to 5B and ']' url encodes to 5D
There are A LOT of buy-and-hold types in Hertz. They are still gamblers, but their time horizon is long and they are influenced by the low share price. I have a few smart, well educated friends who fall into this category.
Screwing people over in every way that's legally permissible is... not always considered praiseworthy. And you can blame Amazon for straight-up lying to the guy about how the terms of his employment would change after the transfer.
Useless, since based on Python 2.* interpreter (and this is not indicated anywhere) :
"Skulpt is a Javascript implementation of Python 2.x."
Nearly nothing of this runs on Python 3.
I generally dislike this kind of _implicit_ partial application anyways. I prefer Scala-like way of partial application with `_`:

f(fst = _, snd = y)
Married no kids, partner also successful. Given his talents and character I don't believe money was an issue.
As someone whose had friends suffer similar immigration-related shakedowns by big corps, all I can say is that this is despicable and more common then you’d imagine. In my experience, it comes when you try to move companies, with them demanding illegal, exhorbitant reimbursement for legal fees or maybe there’s going to be a “mix-up“ with your paperwork.

I know HN leans anti-union, but think if you actually had the power to stop companies from doing this to yourself, your friends, and coworkers. Think if it was part of the very basis of employment that such intimidation was not allowed and that people were at the ready to come together and stop anyone who tried. The point of organizing is to give workers this parallel, durable form of power, that persists beyond any one negotiation.
The one use case that's missing in Uber &c are long-distance (conditionally: one-direction) road trips. My family preferred driving to flying if the destination was only a couple of states away (Chicago, music camps, college, ...) and we didn't want to put miles on our car.

With Hertz & friends, easy to rent a van, take it some where and either leave it there (and fly home) or drive back. It'd probably be a wash when milage depreciation is thrown in?

And driving with a cello is a lot better than flying... :-)
ECommerce transfronterizo, Inditex y su Plan Horizonte 2022, Tendencia del D2C
Concerning the hallucinatory beings, if you're interested it it have a look at the tulpa subreddit:

https://www.reddit.com/r/Tulpas/

edit: I'm browsing that place again and am still not sure what to make of it. It's.. weird. (The link was not a recommendation to try btw, just have a look.)
By restricting a form of expression you ruin the art of communication.
Robert Downey Sr. Talks Putney Swope (2019)
I've given quite a few debian laptops to different normal/ computer illiterate users. There are snags, but not more than on windows.

The people who have trouble are the power users. None of the more advanced tricks work anymore, everything is different and weird, and they dont want to relearn from scratch.
Somehow I think the legal bills fighting Amazon will be higher than any lost pay, and you might not win.
This be a man o straw.
And reduce another large cost: insurance
What is a good CI pipeline meant to do when dependencies aren't able to be pulled anymore, caching aside?
Nair, I guess?

(Beta blockers, maybe, except that the weight gain side effects are probably worse than any gains from taking insane lines?)
Apparently, this is not an isolated occurrence and Corey Quinn of LastWeekInAWS talks of this here[0]

[0]https://www.lastweekinaws.com/blog/why-i-turned-down-an-aws-...
Since I'm in sync with everyone else in this, ie, it's easier for me to shut my mouth completely than to eat in moderation, I'm guessing there's some biological drive behind this.

Maybe that happens because we, as animals, have our bodies more adapted to eat as much as we can while food is available than to risk losing that opportunity for another unknown meal in the future. That to say that it is a hardwired behavior we have, a survival strategy that makes sense in the wild.

Problem is we don't live in that environment anymore. So, I think fasting works because our bodies trigger another natural response, that of focusing our senses to the search of food, kind of accepting that food is not available. Thus, it's easier to simply not eat at all instead of trying to eat moderately.

These are my 5 cents.
नेपाली कविता प्रेम प्रस्ताव र मोहित (In Video in YouTube)
You almost never judge based on one piece of writing.

You judge based on the oeuvre of their lifetime work.[1]

People like him are particularly adept at changing their tone based on which way the political winds blew at that particular time.

The whole of the Left is filled with such noxious people who wouldn't think twice before throwing one of their own under the bus, if it suits their cause.

That's how they've abandoned Noam Chomsky who was once the Left's darling and could do no harm. They're a sickly bunch and a death cult and cannot be trusted with anything resembling power.

[1]

https://en.wikipedia.org/wiki/Matt_Taibbi#The_eXile

[2]
Noam Chomsky: Neoliberalism Is Destroying Our Democracy

How elites on both sides of the political spectrum have undermined our social, political, and environmental commons.

https://www.thenation.com/article/archive/noam-chomsky-neoli...
Fair enough :) Guess I was pointlessly trying to back up a generalisation.
It's not just checking if the number is odd. It checks if the input is a number (modulus on a non-Number value returns a NaN in JS), if it's an integer (not strictly necessary I guess), and if it's within the bounds of JS's safe integer range (again, you'll get a NaN if the number is too big). If you want to make sure your code is safe those are sensible things to check.

A lot of JS devs wouldn't bother check those things, so really a lot of code is improved by this library. It's kind of a shame that so many developers just skip over checking inputs really. That's the real problem.
</sarcasm>

I think you're getting some down votes as you missed a closing tag.
OCaml supports this:

# let f ~fst ~snd = fst + snd;;
val f : fst:int -> snd:int -> int = <fun>
# f ~snd:4;;
- : fst:int -> int = <fun>
'Superforecasters' Are Making Accurate Predictions About Covid-19
So what’s the problem? Mozilla didn’t add the CA to the trust store, you did, that’s why Mozilla doesn’t recognize it. It doesn’t sound like it interferes with normal operation and differentiating bundled and added CAs on inspection sounds like a good idea.
If you have empathy then you should care about religious people regardless of your personal beliefs. How can you stand there and ask for equality for all then say something like you don’t care for a group of people? This is not equality.
The QMK firmware offers a (very) simple onboard macro editor, JFYI
How to Unethically Market Your Books
Isn't 'the' a definite article. You use it when you mean a single definite instance of something. If you mean something in general you use an indefinite article, like 'a'.

https://en.wikipedia.org/wiki/Article_(grammar)#Definite_art...

https://en.wikipedia.org/wiki/Article_(grammar)#Indefinite_a...

"you can buy carrots at a grocery store"

"you can buy carrots at the grocery store over there"
Can they just pay 1 Euro or is there a set formula?
I wonder if a way around this is to put into the initial contract that there won't be any additional terms.
Ping Fu got nothing ;(
Interesting. Maybe a normal moderation diet is analogous to an alcoholic trying to stay sober except for drinking half a pint three times a day.
"the Wild West that seems to be most of the US. "

You can write anything you want into a contract. Even that you are obligated to give BJs until the end of your life to your previous employer. Good luck trying to enforce this in court. A shitty non compete? I would tell my previous employer "go sue me". A friend actually had this problem and he met with his previous employer and told them: "Look, I don't care what you want, I will keep working for my new employer. If you don't like that you can pay me the same amount of money and I sit a home and do nothing." They passed.
Native Americans asked for Covid-19 supplies. They got body bags instead
But would Cali extradite?