skysight-inc/HackerNews huggingface dataset:
As part of my job, related to activities at China Lake Naval Weapon Station, I've worked on a test range in Coso, about 45 miles northwest of the area mentioned in the article. I've also been down to Trona and Searle Lake. I can't imagine going off pavement in that area without experience and training.

As a further illustration of how remote this area is, the safety briefing for the range mentions two important points: 1) if you are injured and it's not life threatening, it will take 3-4 hours to get you to a hospital. Someone has to drive you off the range to meet the ambulance just east of Coso Junction since there's no way an ambulance can get into the range. The terrain is to rugged. Coso Junction is also about an hour north of Ridgrecrest/China Lake. 2) if you are seriously injured, the only way out is on a helicopter. It takes about 25 minutes to get a helicopter up to the range.

This area is starkly beautiful and there's a lot of interesting things to see and do, but it is absolutely deadly. You can't go in unprepared.
Machine learn is also called statistical learning. It does not mean deep learning which is a subset of ML.

Creating a model in python or R is going to be much easier than in excel.
Smart (and good rationalization for the acquihires).
That’s correct, the driver will rate the passenger before they can see any tips. This thread is nonsense. https://ride.guru/content/newsroom/can-my-uber-or-lyft-drive...
>“It’s very plausible that Strava based their new feature in large part on Footpath, and in the process may have conducted extensive experimentation with Footpath,” Merkel told CyclingTips. “However, nothing I’ve seen demonstrates — and nor does Footpath appear to be claiming — that legally-protected intellectual property was copied.

This. The implemented UI looks different, aside from the feature of letting the user trace out a route with their finger. There is nothing wrong with doing market research on another app and testing out how well their functionality works before deciding to implement similar functionality yourself is perfectly fine. If you think your idea is really novel, file a patent on it.
Facebook Engineers Confronted For Allegedly Suppressing Conservatives
it's a recipe for disaster :(

there are some standards which companies have to comply with in order to be considered a "trustworthy" provider (e.g. for CA's)

https://www.etsi.org/technologies/digital-signature/certific...

I doubt that DarkMatter has any of this (not that this would reduce the risk but it could be used as an argument by Mozilla considering they're stuck between a rock and a hard place.
MIT makes clear droplets produce bright colors
I think this is understated. I went a different direction, but all the same, I think self-experimentation / personal science is worthwhile to that end. Diet and exercise should be the first line of defense.
Who the hell tips uber drivers. And why. I sometimes "tip" taxi drivers if the change is not worth getting(like if the ride was £28.84 then I'll just hand then £30 and not bother with change), but to consciously pick a tip on the app? Yeah it might feel nice for the driver, but all you're doing is sending an email to Uber that says "hey guys it's fine if you pay like shit, because we customers are totally willing to subsidise it instead. Thanks!".
you should call it something creative and catchy instead of lame liberapay. Open source people are the absolute worst at branding stuff
Who looks at Medium and says "Sure, I'd love it if you own my content forever?"
> How is that turning out for everyone?

Dramatically increased life expectancy, reduced childhood mortality, etc.

There are problems with the modern health system, but it does seem to produce much better outcomes than what came before.
Goland's debugger can evaluate expressions when paused.

https://www.jetbrains.com/help/go/debugging-code.html#924cf9...
In the linked thread I'm also seeing someone giving riders 3 stars for "short trip" and BS like that. Really ruins the service if you have to worry about those things.

edit: they're also talking about retaliatory ratings "if you give me a 1 I'll go back and change you to a 1 and you'll have a hard time getting picked up again", I thought that wasn't possible? Did Uber change that?
Best States for Entrepreneurs and Small Businesses in the U.S.
Yes, GPU.js is built on top of WebGL. So this exposes no new functionality, only new convenience. And yes, the context is GPU.js, general purpose compute for the GPU. That doesn't mean you're "providing" resources to any third party, right? The primary reason to want general purpose GPU compute in the browser are the same as the reasons to want GPU graphics - to make my own experience faster.
Well, from my experiences Twitter is way more than the racist people and stupid politicians stuff you usually hear from media. The developer community is active, helpful and shares a lot of interesting stuff.
Neat, I work on AWS all day so my main concern is "Which system am I on, DEV, QA, PROD?", so I modified my prompt to tell me that. Git status would be a cool addition too.
> That being said, the tradeoff is increased resource usage.

Which for most developers in a corporate or small business environment is 100% worth it. Not ever corporate developer has a nice enough computer to run an IDE, but I bet that at least 95% do.
No, that entirely loses the expected performance and clarity of a switch. Remember that "arbitrary types" in C are not so exotic. A simple byte-by-byte comparison will do, skipping over any struct padding. Compilers today will generate code that uses various strategies (tree, hash, etc.) to do the comparisons, and it would be awful to impede that via an arbitrary user-specified comparison function. Doing a linear scan of every case, O(n*m) for the number of cases and the lengths of the strings, defeats the whole point of using a switch. One can already do that with cascading "if".

For strings, the simplest syntax is to have the new behavior triggered by passing a pointer to any type which can be evaluated as an integer. That last requirement makes scanning for a terminator work in an obvious way. This does seem to lose the possibility of comparing arrays that are not NUL terminated, but that isn't the use case that people are dying for.

Since the vast majority of the desire to switch on strings is involving ASCII keywords, it would be reasonable to prohibit gcc-style ranges (like "case 1 ... 4:") for non-ASCII strings. This means that the strings can be treated like giant integers stored in big-endian form. (after the NUL, treat it as more NUL going on forever) Clearly it is well-understood how to switch on integer values, and thus we can switch on strings.

Right now the ways to switch on strings are terrible. If they are short, they can be memcpy into long long. With gcc one can use the computed goto extension, plucking values out of a table via bsearch or via a perfect hash function generated by something like gperf. It's all really miserable, leading low-performance programmers to just use cascading "if".
It is really shitty that there is no credit or attribution whatsoever, and I understand how you feel. Some UX designer / product designer at Strava copied your idea and claimed it as their own.

There's a difference between spending days or weeks researching competitors and formulating your own composite of something and what happened here.

Strava doesn't really have any legal risk by just admitting that they copied you. The evidence is there. It's just managers and their design subordinates wanting to save face.
If drivers did that. Uber would surely and swiftly take that out of the UI.
I'd guess we'll have to wait for him to explain :) Anyway, translations and what gets lost in translation can be fun pretty fun.
It seems like with the modern pace of software today, things are practically guaranteed a rewrite within 5 years.
Rust's generics don't have overhead and the error messages are at least as sane as Java's. I think the problem is with how C++ implemented its templates.
I did take action. DC actually had a referendum to eliminate the tipped minimum wage, so that all jobs would be required to be paid the same minimum wage. I voted for it. A significant majority of the city voted for it. You know what happened?

The city council overturned it because of lobbying from the restaurant industry. Also, a minority of servers who make far, far above minimum wage (like 70k/year) because of tips were heavily against it. Note that the referendum said nothing at all about eliminating tipping, it was just about providing a fair wage for everyone.

So, the political route doesn't work. If we want to end tipping, stop tipping. If people who work jobs that depend on tips don't like that, they can negotiate with their employers for a fair wage, you know like every other job in the world does. Employers and employees are the two relevant parties who need to be involved in wage negotiations. Leave the customers out of it.
jq is an amazing tool, and I wish I used it frequently enough to remember how without looking it up.
Right, and this is equally true in Rust and C++ (and any other systems language). Zero-cost abstractions doesn't mean that the compiler is imbued with magical properties.
The goal is not to stick to a particular style- it's to use the best tools for the job. why settle for gdb when there is VS Which is light years ahead. just like why use vscode when there is vim which is light speed faster?
I ask this sincerely: how much understanding of internet protocols did you have going into this project?
Should coincide with a new technological paradigm in on-demand labour contracting. They should give it a catchy name, like VaaS: Vassal as a Service.
And that is achieved easiest by not tipping at all. If everyone stopped tipping tomorrow then people who work for slave wages(because they get the rest in tips) would hopefully leave and find better paid jobs. People running restaurants would have to increase their wages to keep staff working. Problem would fix itself overnight without any need of government intervention. Every time you don't tip yes, the employee will think "what a skint bastard" but hopefully also think "god, this job sucks I need to find something that pays more".

And just as a counter point to your last sentence - waiters in UK frequently make hardly above minimum wage(£8-10/hour) and tipping is neither required nor expected.
The things we Lisped last summer, we'll remember AI winter long?
Here's a fun one too: iPhone 7's and up don't have clicky home buttons. They vibrate to simulate a "click", although it is still a separate piece from the rest of the phone. Try turning one off and pressing it, they don't physically move.

Having the accessibility mode isn't uncommon, I only see phones for a short amount of time and mostly do a quick test, so I'll admit if a button is intermittent I might not catch it.

I will say breaking home buttons during repairs aren't uncommon though, it really depends on how honest the repair shop is. Even veterans can have issues with the home buttons because their cables are _sooooo_ thin, they're glued in place, and even the tiniest tear can mean it's done for. Touch ID can never be replaced and as of 7's and up they cannot be functionally replaced.
Still Not Fixed: Taking over 20K DigitalOcean Domains via Lax Domain System
Asking about marital status or number of kids isn't just a red flag. The Equal Opportunity Employment Commission often views it as evidence of illegal hiring discrimination.

If they're asking questions like that, what they're really asking is how available you are to work tons of extra hours, nights, and weekends.
Guide to Creating the Best Inventory Workflow
We get more goods with fewer and fewer people in assembly and we're no better off for it as far as structural inequality is concerned. I would check the assumption that a cheap immigrant worker would increase productivity at all.
.dev domain registration is free now
Honestly, I think the best career advice I've learned is to not be idealistic or over invest in a product or company. At the end of the day you're hired labor unless you own the company. You can go join a competitor who is working on a similar product. It's so easy to get wrapped up in your own hype about how great the product you're working on is. Not saying it's not a great product loved by customers, but by doing this you miss the completely transactional nature of yours and your employers relationship.
Also https://github.com/emacs-lsp/lsp-java
It's more like if Disney owned the DVD standard and could dictate who could and couldn't put content on it.

Then we'd all have a half dozen completely incompatible physical media players and so on.
At least as of 2018 (I haven't seen the driver app recently), after giving a ride, a driver is basically restricted to the passenger rating screen until they complete it. Screens like this one, if they exist, are only visible after a driver has rated a passenger.

The driver's rating of a passenger can only be changed by opening a support ticket, not in the app (https://help.uber.com/partners/article/i-want-to-change-my-r...).
Building Apps with No Code
Yeah but I would imagine Patreon is working towards introducing their own video hosting platform at some point and build out their moat. Otherwise they're a glorified Paypal button.
“Half of the time when companies say they need ‘AI’ what they really need is a SELECT clause with GROUP BY.” — https://twitter.com/matvelloso/status/1001899539484192768
I love that quoted new-line. Thats the exact amount of crazy idiosyncrasy I expect from shell one-liners.
I'm going to assume you meant to type "Linux" here about your 3 friends. Anyway, I think Microsoft's financials speak for themselves. This stuff with Win10 isn't new, but by and large, people are not moving away from Windows. Even if a few malcontents do abandon the platform, that's easily made up for with their other methods of extracting money from people: ads, spyware, tie-ins to other MS services, etc.

Anti-Windows optimists have been predicting the demise of Windows for a couple of decades now, and it isn't any closer to happening now than it was around 2000. The only thing that'll actually unseat Windows is the rise of mobile devices. If they can ever get things so that your phone can also be your computer, then Windows will be done for. Until that day, the vast majority of users (including businesses) simply will not give it up, no matter how much MS abuses them.
It's not too farfetched given that Evan Williams founded the company.
Modern processors are superscalar. What this means is that you have multiple independent execution units that can be scheduled each cycle.

On Skylake, for instance, the execution units are:

Port 0: int ALU, FP ALU, vector ALU, integer multiply/divide, branch

Port 1: int ALU, FP ALU, vector ALU

Port 2: Load unit

Port 3: Load unit

Port 4: Store unit

Port 5: integer ALU, vector ALU

Port 6: integer ALU, branch

Port 7: Store unit [address component]

Every instruction (or, more accurately, every micro-op; instructions don't exist at this point) can get scheduled onto one of these ports if that port has the capability to process it.

Of course, there's also a limitation on the abilities of the instruction decode unit on how many instructions it can decode and convert into micro-ops each cycle.
Fair enough, I defer to somebody who obviously knows more. I admit I likely conflated several industries anyway ( I believe rail is on a 4% cap). However, there still seems to be questions around the debt, divididends, and asking Government for investment.

https://www.bbc.co.uk/news/business-41152516

https://www.theguardian.com/commentisfree/2013/aug/03/water-...

https://www.ft.com/content/5878de66-9c7d-11e7-8cd4-932067fbf...

Now obviously we live in a country of outrage, and fairly poor reporting, but the reporting does make it seem like we regularly get privatised profits and socialised losses.
Cue the 501 error when checking out...
Cloudflare Optimizing Content Delivery for at Least 48 Hate Sites Across Europe
>> It does nothing to change the system.

Quite the contrary. Not tipping is the best way to change the system. Those people most affected by it only agree to work for poor wages because they know tipping will make up for it. If tips evaporated overnight then employers would have to pay more to keep those employees.
Oh, they'll kill Patreon by deprioritizing Patreon links in user feeds.
That's basically a content-free insult.
You're probably not turning on optimization. For example, gcc 8.3 with -O3 gives the result that the OP posted.

There's no undefined behavior in that example, as far as I can see. The point is that the compiler optimizes away all of the actual computation, since it's able to determine at compile time that the result will always be 0x20.
McIlroy's claim was not that his script is the shortest possible way to implement the task, but rather that the Unix philosophy of combining general-purpose tools operating on text streams is a better engineering approach than Knuth's special-purpose program, because the general-purpose tools can be reused in many ways.

McIlroy: "A first engineering question to ask is: how often is one likely to have to do this exact task’? Not at all often, I contend. It is plausible, though, that similar, but not identical, problems might arise. A wise engineering solution would produce—or better, exploit—reusable parts." [1]

[1] https://www.cs.tufts.edu/~nr/cs257/archive/don-knuth/pearls-...
C++'s templates are more expressive than Rust's generics. Rust is adding stuff to try to catch up (specialization, const generics). You might see the extra power as an anti-feature, and that's fine, but it's undeniably useful to lots of folks and is undeniably a trade off.
Earlier this week, I tried out Strava's mobile implementation, which did not work well for me at all.

I'll definitely be sticking to their web version, which they've had for years.
JavaScript is often misusing this term, I'll benchmark Euboea against Rust or C++ soon.
Hihihi this is fun and brilliant !
Had the chance to see it working for a few minutes. It doesn't seem to work now, just a blank page. Hello javascript :(
No one said it's wrong or illegal. If you've ever had something you made be deemed worthy enough to copy by a large company, then surely you've experienced the feeling that comes along with that.

You created something that's being used by lots of people, but you'll never get any credit or attribution for it.

In fact, the credit goes to someone else. It's a shitty feeling. It feels violating, like someone stole from you.

It seems like the author is just venting. Just some simple acknowledgement is enough to make most people in cases like this happy. But then that mars the accomplishments of everyone who was involved with the "inspired" work.
Please check the wiki and examples directory :)
When did I say the people experiencing problems with Windows must be lying or stupid? I don't have these problems because I don't run Windows, plain and simple. Did you miss the line that said "so I don't use Windows"?
>Creating a model in python or R is going to be much easier than in excel.

True, but my boss will ask for it in Excel anyway.
WebAssembly Troubles Part 4: Microwasm
It frustrates me too. I'm always on the look out for languages that implement modern performance approaches into their design. I'd love to see a language that focuses on data orientated design, auto-vectorisation and possibly something like reference capabilities for concurrent programming. That language would truly be "blazingly fast".
wondering if there's a utility for finding shorter strings with the same output
Yes, it's shorter, but we're not playing golf. It's conceptually pretty much the same, and then you just go with whichever one you came up with first.

Yours says:

Convert to lower case
Convert non-letters to CR

The original says:

Convert non-letters to CR
Convert to lower case

Conceptually the same. The point is, most people don't seem to be able to do this at all, although there are many who can tinker with a given solution and improve it around the edges. It's the ability to come up with the initial version that seems to be rare.
Why Bringing Your MVP to Perfection Is a Lousy Way to Release a Product
Thanks. I really must figure out how to get comment reply notifications on HN. That was I might have spotted this in time before my comment was locked for editing.
> ...people who work for slave wages...would hopefully leave and find better paid jobs.

You really have no idea how tenuous employment for people is in those situations, do you? They don't take these jobs because they pay well, they take these jobs because that's all they have.

What they're going to think is "what a fucking asshole". Zero tipping is reserved for the sorts of dickheads that leave "Jesus money" instead of actual cash.

Minimum wage in the UK sounds a lot higher than minimum wage for wait staff in the US which can be as low as $2.13 in some states.

£10 is $13.29, which is a hell of a lot closer to $15 than $2.13.
Managing large businesses is complex, and requires complex software. Spreading the complexity between various codebases does not make the software less complex. Large codebases in COBOL, Java and C# are what make the world go round.
> If the lightbulb encrypts the password for storage, it necessarily also stores the decryption. An attacker would just have to take one extra step.

Yeah, but they could use some kind of secure enclave to make it much more difficult. Like having the bulb query the enclave with a securely hashed version of each available SSID until the enclave returns a password. That would at least make it non-trivial to get the password or figure out what network it connects to without some prior knowledge. That's valuable since it would prevent someone from buying an old bulb then wardriving to find the network that it's credentials work for.

Also it would be good to have some kind of secure reset physical button, to make it as easy as possible to clear any private data before the bulb is discarded.

Neither of these ideas would help secure your network against exploitation of an actively-used bulb, but they'd help with the discarded-bulb case.
Yes, at first I thought it was comparing against luajit, which is indeed blazingly fast. But for a compiled language just to be 4x faster than lua, I fail to see the point (of emphasizing it speed, not of the language itself).
Can they edit the rating after the fact? I know as a passenger I can edit a driver's rating.
> Tablets are also increasingly a problem. As a b2b-service webdeb, I still see a lot of first gen iPad Minis in active service in enterprise. Last patched mid-2016.

I used to work for a large oil company. Their IT guys were pretty adamant about security. Right before I left the company, they purchased another smaller distributor. All their guys had ipad minis and same thing, were last patched in 2016. The IT guys right away were telling the execs, "Yeah, they're all getting Win10 laptops, fully patched and locked down to use only our software. No way we're going to keep using these."
My initial comment was easy to misunderstand, sorry: I was just wondering whether the additional A-Z check was doing something I was not aware of.
Can't drivers just raise their prices?
For me, also primarily a Java person before Rust, it’s datarace safety that captured me.

Java’s executors improve the world, but I can’t count the number of concurrency bugs that I had in Java that are not possible in safe Rust. This isn’t just my code, btw, but large teams where it’s hard to disseminate good practices when building threadsafe code. If it had been in Rust, those issues wouldn’t have happened.

Other things that I appreciate about Rust over Java is the error handling combined with RAII, doing away with nasty bugs around try’s lacking proper finally statements for closing file handles, etc.

Java has its warts, not everything is just about memory safety.