skysight-inc/HackerNews huggingface dataset:
Did you catch about what OP was saying though? Instead of Normal and Unexpected they are recommending you write something like:

const ChargeSuccess = Left
const ChargeDeclined = Right

And then use that language in your code. Those words tell you something about the semantics of the code being wrapped. “Normal” and “Error” don’t actually mean much.

Also, you might want to someday write:

const NormalDelivery = Left
const FastTrack = Right

And that wouldn’t make much sense if fast track is a so-called error condition.
This is fake news paid for by China we can ignore! CNN is satire news!
However Tesla doesn’t provide a way to grant a token to a 3rd party so you (your application) would still need my tesla account credentials.
How are you solving this?
NPR also, in addition to TFA:

https://www.npr.org/sections/health-shots/2018/02/16/5855495...

https://www.npr.org/sections/health-shots/133188447/health-i...
Upgrade your smartphone anytime without a contract or penalty
OK, I get you.

The problem is that whatever level of GC overhead you start with, or achieve, it will be non-zero, and its actual magnitude, including typically big cache-footprint knock-on effects that show up attributed, in perf results, to mainline processing, will be practically impossible to estimate reliably without comparing against a rewrite.

So, instead, you generally have to say: we compared some similar(-ish) program Y that was rewritten and cut the number of server instances required to meet demand by 30%, 60%, or what-have-you. But, exactly for the reasons you cite, comparisons published are against performance under GC after that optimization has already been done, as much as was practical.
Have you ever tried using Google Search Operators in your queries?

https://ahrefs.com/blog/google-advanced-search-operators/
Mao's Four Pests Campaign
> but your investment can last longer

Console generations typically last 5+ years too, though. If I buy a console, I know that I'll be able to play all new games for the console. PC will last longer, for sure, especially if doing some upgrades along the way (I had my gaming PC for 6 years, with a GPU upgrade along the way), but the cost of consoles is still much lower (without inflation adjusting, my PC cost 4x what my PS4 cost).

> The Sony Store never gets great discounts, except on very old or not so great games.

I disagree. I rarely buy full-priced games, so the bulk of my library was bought discounted, including a bunch of not-that-old AAA titles. Sure, if I want to buy most games within a few months of release, I'm probably out of luck, but its never been "very old", a year or so at worst. But even if not, given that my (at time of purchase, mid-range) gaming PC cost 4x what my console cost, that's a lot of money to spend on more expensive games ;)
Ask HN: What do you do when bored in a job?
Detroit Bus Shelters Aren’t Where You Need ‘Em – Streetsblog USA
No, but Rust provides this memory safety without GC, which is AFAIK, unique in a mainstream language.

The type system knowing about ownership and borrowing also allows the elimination of race conditions (outside of `unsafe`, of course...). I don't know of a GC language that also does that, though obviously that doesn't mean there isn't one... ;)
In the US, the ADA does indeed mandate many things (reserved parking spaces, door widths, ramps/elevators, etc.). Though to continue the analogy, I think we'd need to extend it to how the merchandise itself is displayed/marketed—for example, requiring all products to be accessible by someone in a wheelchair, braille on all packaging, etc.
Text Neck
Lulubox 2019
I'm aware that some people do not care but for me the fact that it uses Faceboook messenger is an immediate non-starter for me.
Right. They could add the riscv64 backend to the current compiler, and then cross-compile it from x86_64, meaning that the bootstrap chain for riscv64 would start at 1.37.0. No mrustc even needed.

That said, I feel like we may be talking past each other... what I'm saying is, to get support for riscv64, you don't need to do a full new bootstrap. Maybe I'm misunderstanding the point of the thread.
I knew an engineer who worked on news moderation tools - the stress was so high that he had a breakdown and had to quit.

I think if FB engineers had to actually interact with the bottom-bucket of the content on a regular basis, Facebook would have stricter rules, and perhaps even prior-restraint filters for image and video uploads.
No, definitely not going to be using these new 'zuck bucks'.

I think services like venmo or cashapp are fine, and also i dont particularly see a need for it to be a cyrptocurrency.

tbh, i think all of this could be a publicity / marketing effort at its core. Especially considering that Reps from congress asking facebook to "pause" development on it. It should be pretty obvious that Fed regulators arent gonna be super into the idea of facebook creating its own trans-national currency, and not difficult to imagine the hammer falling hard on facebook.

Also, the whole thing feels oddly.... post-peak-cyrptocurrency-hype... Like it would make way more sense if Fb came out with this in 2016/17, right after that big bitcoin peak, and right before FB started getting a lot of shit for all the 2016 election / fake news / "russiagate" stuff.

But no, hell no, I won't be using zuck bucks.
I agree; this is a rough part. There's always a rough part, no matter how you're writing your app.

I think things like the AWS SAM or LocalStack do a decent job at this. But, maybe more importantly, it requires a shift in developer thinking. Screw local development; yeah, I'll invoke locally during prototyping, but once the essential structure is done I'm going to deploy it and test directly on AWS.

I don't find the feedback cycle due to deployment time to be a blocker. SAM can deploy a function in 10 seconds. Its not an instant code reload, its not ideal, but its also not context-breaking like a 2 minute deploy would be (to be fair, SAM is capable of 1+ minute deploys, but that's usually only when you're adding new AWS resources like new buckets or event invocation rules, not when you're just changing the function code).
This site always reminds me of the amazing complexity of the free market economy:

https://wonderfulloaf.org/

(Horribly busted on Firefox :( )
> Even Facebook

Like they're the example we should look to. They do all sorts of hacky stuff.
> ...why use Rust if your do not need high performances...

Because you want better battery life? Reduce power and cooling costs? Reduce cloud service bill?
I'm not really sure what you're getting it.

June 15th 2015 and July 19th 2019 is 4 years 1 month and 4 days apart. That is the duration that occurred between the two dates and is totally unambiguous to non-programmers.

The fact that calendar distance and 'time' distance don't have a linear relationship and that math that governs the relationship between the different units isn't straightforward doesn't make it unprecise or misleading.

It's totally exact. Just because you can't convert the calendar distance to time distance without context doesn't make it any less exact. Not so different to being unable to compute distance traveled by the revolution count of your wheels.
best story I've read about these gatekeepers https://www.reddit.com/r/cscareerquestions/comments/ayep7t/a...
For food, goods, and services, for much of the market there is both sufficient competition and means to increase supply, that I do not think prices can be raised unilaterally with an UBI. If you raise your prices, but I don't, I get your customers. Basic free market ideas.

However, for rent, there is real scarcity in supply AND limited ability to raise production. I expect that UBI will be an inflation ratchet for rent, unless it is paired with a policy that somehow increases housing supply.

UBI could help more inland cities become more attractive to business as their economies would grow with UBI, but have more land to build housing on.
Plex doesn't have the best mobile clients.
This hits none of your criteria, but may be useful. Oxford University offer a part-time MSc in Software Engineering. You will need to spend 10 weeks in Oxford, England, over 4 years. People can and do undertake it while living in the USA (and other European countries). It costs £25,000ish. You do not need an undergraduate degree to apply for it. You can take each module by itself for a one-off fee if you're interested in trying before you buy, and there are no entry requirements at all on doing one-off modules. If you do sufficiently well at it, you can use that to "earn your way in". You end up with a real MSc from the real Oxford. More details:

https://www.cs.ox.ac.uk/softeng/
The way I think about it is that Rust exposes all the hard stuff that's hidden in C++.

C++ makes things look simpler than they are and eventually you end up in one nightmare scenario after another, because of all the hidden complexity.

Rust just shoves all that complexity to the forefront, right in your face, so that you are forced to deal with it and don't end up in nightmare land later.
There are more convenient and ethical ways to consume music than theft. Don't lie to yourself about what you're doing by pretending you're on some moral high ground for stealing music. Funds going to Universal filter through to musicians and artists as royalties and fund artist advances, recording and mastering costs, thousands of employee and contractor salaries, and so much more than just lobbyists.
How have you faced discrimination working in tech?
I do imagine he was correct for what he was talking about too, I just don't want people to get the impression that US steel is all crap.
Handy!

How hard would it be to integrate something like that into rustup, to make it easy to install a capable cross-compiler backend?
Influencing millions of people doesn't mean a thing, especially in spiritual world. What would you say about the likes of RamRahim or Asharam? They have/had more followers than Sadguru. Even after they are charged with rape cases, they still have millions of followers.

How do you decide if some saint is real saint or just a fraud (in the sense he doesn't mean what he preaches)? What is the test?

These kind of saints live like rich people. They have access to loads of money. Saint like Ramdev has access to hundreds of millions of dollars and thousands of acres of lands. They buy hundreds of acres of lands from government at 75-80% discounts. What kind of austerity and spirituality can they preach? To me, any saint who likes to stay in limelight, lives in palace like ashram, uses PR to bolster his image, hangs with celebrities is nothing but a thug.
Don't have to subject anyone to it. Don't have Facebook.
Whatever you may think about how a CoC ought to work, my observation about they work in practice (and the people who push them) remains the same.

> Anyone who objects to that probably has never worked at a large company.

I can assure you that's false.
It would be nice if there was a standard type alias for Either which explicitly labeled good/bad values.

That being said, I don't think it takes that much energy to remember that the right is the good value. If you are comfortable with monads, just remember that monads must be parameterized over a single type, and for Either that will be the right type (because we must partially apply the type constructor with the left type to get it down to the correct form).
"that will make sure I have no gaps in my knowledge" - You will always have gaps in your knowledge. It's only a matter of what gaps you'll have - but gaps there will always be.
Hey HN, I realize this is a bit of an unconventional post and would be better suited as an Ask HN tag, but I wanted to hear people's experiences of discrimination outside of just usual text.

Full disclosure, this is a new platform that I've been building for the last few months. Even though it's something I've worked on, I do think it's an important conversation to have and thought this would be the best place to host it. If you have any feedback, I would appreciate that as well.
Purchase of Commissions in the British Army
I’d go a step further and say confidently that there are strong and mutually beneficial interrelationships between Accessibility, Technical SEO, Site Performance, and General Front-End Best Practices.
ABET accreditation for Computer Science undergraduate degrees is utterly pointless and should not be used as criteria for selecting a CS undergraduate program.

For example.
https://cs.stanford.edu/degrees/undergrad/Considering.shtml

"Like the CS department, the EE department is no longer ABET accredited. While such accreditation is useful in certain disciplines such as civil engineering, it has no practical significance whatsoever in computer science."
You mean collect taxes and give no benefits? Is that..slavery?
Got an email saying we were getting rewarded with pizza for lunch. My desk was near the door. I saw the pizza delivery guy bring in the stacks of pizzas and put them in the conference room. A group of supervisors came to supervise the pizza delivery. Supervisors wore casual attire. Then a man came who must have been their boss because he wore a button up short. Then a man with a shirt and tie. Then a man in a suit. Finally, a man in an expensive suit I recognized as the VP. Everyone assembled waited for him as he looked at the stacks of pizzas, said something, and nodded. The supervisors then put the boxes on carts and started to distribute them. I finally got my two slices of cold pizza over an hour after they were delivered. Felt so appreciated.
I think it's pretty clear that for the tariffs to work you have to play a long game. It's not like the capacity is there immediately so it needs to be built up slowly. and it will only be built up if the investors have confidence that the tariffs will still be in place once they built up the capacity.

If I had a company I would be very hesitant to build up US capacity because there is a good chance the tariffs will be removed again soon. I think right now everything is in limbo which is not good for anybody.
You could if you added a Snips on-device Voice AI to it, look at https://snips.ai
Until Tesla provides auth scopes, they can't solve it. They can only proxy Tesla's API and build scoping on top of it.
I can relate to this, down to the desire to switch into a baking career. What about IT are you sick of? Job security Long hours? On-call? Lack of respect from non-IT people? All of the above? Perhaps you just hate your team and/or company? Or are you like me and just realize there is just more to life than working at a soul-sucking corporate desk job?
> So, if you had kids while you had a decent job and the place closes, you should give away the kids because your replacement job is minimum wage?

suddenly becoming unable to provide for your kids through no fault of your own is quite different from deciding to have children when you know (or should know) you already have no ability to support them. in both cases, we need to at least do something to help the children, but we have to structure it carefully to avoid encouraging the latter.

> Do you happen to know the income level when kids are affordable?

no, but I can look at what I spend to sustain myself every month. if I can't comfortably double that, I'm probably not ready to have my first child.
Too complicated, replaced with lava lamp:
https://en.wikipedia.org/wiki/Lavarand
Assuming you're on iOS due to airpods comment -- here are a bunch of actions you can add to the shortcuts app so that you can access all of that stuff via Siri

https://teslacuts.com/
I wonder if AI is capable to be used to do a restoration of things like music videos, concerts, and old broadcasts. I remember seeing a video about how AI is used in video games to render photo realistic backgrounds.

It may be this video - https://www.youtube.com/watch?v=V9OofzEMBAk

I think that one day this will totally be possible. Can you imagine, with the help of future technology and algorithms, watching film from the 1940s (Gone with the Wind) that looks just as sharp and real as a modern day movie in 4k? Or even, seeing a concert (Michael Jackson) from the 80s that looks so clear that you can really feel what its like to be there?
VAX and their competitors where supermini's
If the same article was about Apple and a subcon (not Foxconn) where do you think the limelight will be?
Browse SF Symbols
Java exists to make shitty code less shitty. But in reality it will often hide the shittiness through countless layers of abstraction.

Java is a great glue language. But if the problem you are solving can't be fixed by glue, say performance, computationally heavy algorithms or something of that kind, then look elsewhere.
First off, his eCommerce business might be some custom software app, not an online store or informational website. So being "knee deep in frameworks" might be necessary for his business.

That said, the ADA is all about accommodating disabled persons within reason. Depending on the scope and functionality of his software, fully supporting such with a single developer on staff MIGHT be an undue burden - it all depends on the specifics of the situation and we don't know his.

Notice the usage of "Undue Burden" from the official ADA documentation below.

FROM: https://www.ada.gov/regs2010/smallbusiness/smallbusprimer201...

"The rules are also flexible for communicating effectively with customers who are blind or have low vision. For example, a restaurant can put its menu on an audio cassette or a waiter can read it to a patron. A sales clerk can find items and read their labels. In more complex transactions where a significant amount of printed information is involved, providing alternate formats will be necessary, unless doing so is an undue burden."

"It is a business's responsibility to provide a sign language, oral interpreter, or VRI service unless doing so in a particular situation would result in an undue burden, which means significant difficulty or expense. A business's overall resources determine (rather than a comparison to the fees paid by the customer needing the interpreter) what constitutes an undue burden."
If you live under a rock like me, there is an app for browse SF Symbols.

Took me a while to find out.
Weird History of JavaScript
> The only people who've had to bet their money on making a decision on what age to consider people as adults at, is the rental car industry.

They aren't the only one, and they probably did what they did by doing a blunt approximation of what the auto insurance industry came up with regarding age.
And cats leave gory corpses of small animals in front of doorways. At least, they do whenever they're actually doing their supposed job of killing rodents. In practice it's enough corpses to make a mess but not enough corpses to actually hamper the rodent population.

The excuses made for cats seem to nearly always be characterized by a lack of critical thought. Saying that is probably considered controversial, but so is the toxoplasmosis hypothesis.
Music piracy is not theft. It deprives the owner of nothing. Please don't parrot music lobbyist propaganda here. I would download a car.

Supply has exploded exponentially. Music is never going to be as profitable as it was previously (and it wasn't very profitable previously). Their lack of a modern business model is not a valid reason to rent-seek the poor if they want to participate in culture.
Ignoring the trillions of dollars that would cost, what makes you believe that housing costs wouldn't inflate dramatically? Supply isn't magically going to boom and people all of a sudden have more spending power.
I get those timeouts from Dynamo.

the solution according to support is to set your own aws client config that kills connections if the timeout is larger than expected.

the 60s is defined in the default client config
They don't want to go back to families they barely remember
According to Coursera, Total cost "10,088 - 15,132" pound sterling, depending upon geographic location of student.
One of my favorite photos in the world is of the large (wall-sized) Galton board at the old Princeton Engineering Anomalies Research Lab. There are two guys, visitors, sitting in front of it and they have just used "psychic powers" to affect a run and the balls are ridiculously skewed to one side, just ridiculously, obviously skewed.

I like the photo because it's a bifurcation point for the viewer: there are two options to resolve what you're seeing:

1. It's fake.

2. It's not fake and "there's something there".

The whole PEAR Lab itself suffers from the same ambiguity: they got consistent positive results, but never so positive that skeptics could be decisively satisfied. (Not including one-off things like the photo of the visiting guys who did produce a dramatic undeniable effect.)
There are bad actors in every domain, but cherrypicking one doesn't tell us much about the overall balance. (Heck, for every scummy lawyer who uses the ADA as their club of choice, there are probably 100 who specialize in extracting money using questionable torts claims. Prenda Law was infamous for being a pile of snakes, enough so that they justify their own wikipedia article [0]).

Countering anecdote with anecdote, here's an example of the importance of ADA lawsuits:

https://www.peds.org/campaigns/sidewalk-maintenance/curb-ram...

Atlanta has been awful about keeping their pedestrian infrastructure working. And this wasn't a profit-seeking lawsuit -- it was the DoJ.

[0] https://en.wikipedia.org/wiki/Prenda_Law
Because it's the BBC, they have certain editorial responsibilities. It's one thing if they started a content series around digital rights, where adblocking extensions could be discussed. But this is a standard issue news story, so it's not appropriate to editorialize.

Look on the linked page for links to external sites. Beyond the Twitter embeds and cancerous Taboola/Outbrain advert links, there are none.

For regular news stories, the BBC will rarely link out to non-BBC URLs unless it's to link the original investigation run by a different organization.
Why would it result in an increase in inflation?

As economists say "inflation is a monetary phenomenon". So if you pay for UBI by printing money, then of course it would increase inflation. But Friedman's original proposal and most others pay for it by having the rich pay for the poor through taxes and the middle class pay for themselves.

And on the demand side, the poor in America are generally obtaining food and housing somehow. The food's not nutritious and the housing might be a shelter, but only a small fraction of the homeless let alone the working poor are actually sleeping outside.

On the housing side, proponents hope that UBI will encourage people to move out of the expensive areas where jobs are to areas that are cheaper to live in. So a good argument could be made that housing costs will go down.

On the food side, food is a commodity. The price of a commodity is the marginal cost. So as long as the producer costs are similar between producers, demand has very little effect on the price of food.
Yeah, I mean it's not like the Romans had to levy any funds to build roads all over their empire. /s
Never sent out automatically. Always went through at least one editor. And if it wasn't breaking news, through at least one level of fact checkers.
Yes:

http://blog.plover.com/prog/Java.html

Money quote: "I enjoyed programming in Java, and being relieved of the responsibility for producing a quality product."
I have never heard of The Imposter's Handbook. Thank you, this is exactly what I need. Do you have other resource recommendations for self taught programmers?
It is very clearly the best part. Some people are uptight.co.uk
EdgeDB Roadmap