skysight-inc/HackerNews huggingface dataset:
Afaik this is impossible in swift and kotlin, only optional values can contain nill.
great idea, great product, great job!
Think I've posted this before but my employer paid Elastic for the official training - and even that course included everything on how to set up, run and tune ES but applying any security was only covered in the advanced course that you had to pay another $x thousand dollars to attend.

So even doing official Elastic training still leaves you with a nice footgun.
Where can I get the list? This should definitely public (unless they just put random people on the list).
Me again trying to homogenise development between a Debian based VSCode .NET environment and a Windows 10 setup. Cheated using WSL2. It is working well!
I have a script which generates a CSV file using a bunch of print statements. The columns are hostnames and some numbers, so it is never going to contain commas or newlines. This will be perfectly valid CSV every time.

That’s why CSV is absolutely beautiful - there is a huge number of applications that people really care about, and their data is constrained enough that there is not need to care about CSV escaping and need for any third party libraries.

Creating XSLX file by hand is possible, but this will be a large amount of code and I wouldn’t include this in my script, it would need to be a separate library - which means build system support, learning the API etc...
We just launched an API and should have a migration tool soon. Right now, it's typically a simple CSV import of issues, but the data mapping doesn't work too well with Jira's data. So far, it's been a trojan horse approach. A small team starts using Tara, enjoys the experience, and it starts to spread within the organization. Startups have been our bread & butter, but we also have small teams at larger enterprises using it.

The long game is to continue with the approach of allowing small teams to use Tara, and go under the radar for as long as possible.

As for Notion integration, yup, it's on the roadmap. Our integrations roadmap should get faster now that our restful API fully releases this week.
That's the idea!

I use Rust for a lot of personal projects mainly because of the type system, not because it doesn't have GC. I think GC's totally livable for a great many things, and it would help iteration speed a lot to not have to deal with the borrow-checker, but I just can't stand working in a language with a shaky type system these days. So Go-with-good-types sounds fantastic to me.
I honestly buy his perspective on her. I also feel like you’re severely misrepresenting academic discourse as “bullying”.
A string split function is a poor choice if there's any possibility the CSV file contains quoted fields. Robust handling of both CSV and JSON requires a parser. In my experience, CSV can actually be trickier than JSON to parse because there are so many edge cases, alternatives, and ambiguities.
> I check my mail and Slack in the morning, then close them both and know that nothing can sidetrack me the rest of the day.

I get a few dozen pings in Slack per day, many of which need quick responses. It would be awesome to be able to only look at Slack once or twice per day but I'd keep too many engineers blocked / waiting if I did that.
Someone recently told me their some particular remote/cloud IDE worked well -- I forget which one it was.

But I said, 'Really?'

And he said, 'Yes, really.'

I'm skeptical.

I'm not a high performance dev -- I actually hate it and only do it when I truly can't afford to pay someone else to do it -- but I'm thinking _maybe_ a cloud IDE could help me somehow.

Maybe end up making me more productive somehow? End up requiring less work, ultimately?

First project would be pretty simple PHP/Laravel CRUD app.
Wow. I can't believe I've never run across this. Thank you. I gotta figure out how to rewrite addresses to this on Firefox mobile when clicking a link from Google searches.

It's shocking how much better it is. You forget just how many dark patterns have crept in over time.
Perhaps, I am a bit naive, but what qualifies as insider trading?

If I work at a company, I am bound to know things that are not public knowledge. This means that any trade I make is technically insider trading.

Example: I am an engineer, working on a new unannounced product which I think will do well. I buy shares of my company in advance of the release of that product. A few years later, after the product has shipped and delivered the expected gains, I sell my stock.

Will I go to jail for insider trading?
There's a "simple" solution to that: don't lie about it. If the SEC comes knocking on your door, refuse to talk to them until you've had a chance to consult with a lawyer, and then do what the lawyer says.
Basically if you need to manipulate pointers, use safe pointers and keep track of pointer ownership. This is how modern C++ and Rust work.

If you don't need to manipulate pointers then nil really just represents a degenerate or optional value. For optional values these can be encoded any number of ways depending on the type system. One common pattern is an optional type. Another is to annotate the type to indicate that it might be null.

The idea is that if a programmer doesn't check that an nullable or optional type is missing then the program should fail at compile time instead of crashing at runtime. Golang chose to crash programs at runtime.

So for whatever reason, Go has decided that null pointer dereferences are not a big deal. But God help you if you try to comment out a variable use without assigning it to "_". Then the program fails to compile.
Oversimplification, but the high-level problem is that you have a 3D object, with overlapping bits, holes, thin jutting edges, and other unusual geometry. The outline is behind that shape (and usually, only that shape), but the outline is a "flat" 2D shape.

As the images with the black outline show near the top of the article, scaling up the component parts and drawing them as black don't achieve a good effect. The "correct" approach is to find each opaque bit of the 3D object you're outlining and draw opaque outline pixels within a radius of the outline width around it. This is slow, however, since you're essentially operating per-pixel. To achieve reasonable performance, there's a good amount of optimizing that needs to happen.
The neuralHash part, not the whole CSAM scanning daemon/pipeline, right?

Security updates to iOS 14 will let people (who might not be ready/able to switch from iOS) to actually do what GP said, without unnecessarily exposing themselves to security bugs in outdated OS.
> 2) Apple has trillions of dollars to lose by selling out to a shitty change like that.

Apple has trillions to lose by building this system in the first place. All it takes is one court order to do non-CP scanning with the existing system.
> It's not their role to judge the contents, only whether the match is correct or not.

Which is what they would be doing.

Some government gives Apple a purported CSAM hash database, which Apple only accepts because it is a CSAM database. An image gets a match. Apple looks at it and it is not CSAM. Therefore, unless the government lied to them about the database, it must be a false positive and gets rejected as an incorrect match.

The rejection is not because Apple judged the content per se. They just determined that it must be a false positive given the government's claims about the database.
This argument seems strange to me.. how many attacks are by someone literally armed with a customer list from a financial institution? The "casting a wide net" seems directly opposed to the effort involved in a SMS intercept attack which requires significant resources. I don't see a practical circumstance where this is a reasonable risk I guess. I just don't know. I would love an article-length explainer out there somewhere I guess, I just haven't seen one.
As a Canadian who has been waiting for the hypothetical ideal situation you describe since Mint and YNAB launched in Canada, that is disappointing to hear. Perhaps there will be a startup that can jump through the hoops and then provide some sort of programmability / webhook access to end users.
When will the SEC review the Pelosi’s?
Thanks for the description.

That's a *huge* amount of crypto mumbo-jumbo for a system to scan your data on your own device and send it to the authorities.

They must really care about children!!

If only this system was in place while Trump, Jeffrey Epstein, and Prince Andrew were raping children, surely none of that would have happened!! /s
Among the basic concepts of American Civil Rights used to be Sixth Amendment right to confront accusers.

Legal weenies may engage in mental gymnastics to rationalize the evil of no-fly lists.

They deserve the receiving end of their perfidy.
I removed all cached data. Apparently it solves this particular issue.

So I think this is either very bad programming, or a very bad A/B test.
In many games, a similar effect outlines the object that you're looking at (e.g., a player, item, or part of the scenery that can be interacted with). Minecraft shows an outline similar to this with certain potion effects or game commands.
I think it is very predatory. You guys are "changing the world" (for the worse). We should encourage people to save not to borrow money with interest and spent. They will get poorer and poorer and can never get out. You are taking advantages of poor people. So I hope you fail.
Here's someone who put in a lot of effort into making a realistic-looking photo frame using an LCD: https://www.claybavor.com/blog/a-canvas-made-of-pixels

(Covered on HN in 2016: https://news.ycombinator.com/item?id=10900439)
A Game Where Smarter Players Lose
A Go implementation would only be usable from Go, whereas Rust and C++ can export a C API that many different languages can use.

Plus, using system libraries (DirectX, Villain, Metal, OpenGL) from Go would be a pain and possibly suffer worse from the FFI penalties than just using a higher level library written in Rust/C++ to begin with.
> I think it’s possible we as a society spent 50 years assembling these systems and these games in the first half the 20th century, and then we spent the last half of the 20th century gaming the games.

Interesting perception, seems to have explanatory power. I’ll note that building games and gaming them has accelerated with tech. (Facebook, Tiktok, Amazon, REvil, Robinhood.) These aren’t institutional games, these are societal games. Different and fluid yet roughly defined groups.
So will clang, gcc, and msvc all have different implementations modules?
I could care less about bulk supermarkets, and I don’t really think they’re a great answer. If anything, they may be worse in some ways.

For me, it’s the packaging. Japan is a great example of this.

Think of a banana, or an orange. Perfect package right? Now wrap them in plastic. Then when you buy them, they’re placed in a plastic bag. Sometimes each individual banana is wrapped individually... with plastic.

That’s Japan. That’s a lot of Asian countries, in fact.
The GP is just making assertions about cultural anthropology, with basically zero evidence or argument supporting their assertions. I wouldnt bother trying to argue with them, directly... I would not expect them to have any real expertise on the subject, so I expect you'll just get more of the same quality.
They do indeed.
Are you really comparing live operas and plays to Internet access? One is a luxury. The other is a necessary utility (that also facilitates other luxuries, but that's beside the point, because there's a lot of things you need the utility for).
For future reference the tip off is that YNAB/Plaid asks for your bank account's username and password directly. If they were using some proper API, you'd be redirected to an Authorization page on your bank's domain where you could review the requested permissions and the app requesting, and then choose to grant it.
> and therefore harms everyone in the market.

I've heard this argument before and I'm not sure I buy it.

Isn't 'efficient price discovery' the primary selling point of markets? Does the artificial suppression of information until "everyone" (but in practice mostly just HFTs these days) has equal chance to react to it meaningfully hurt retail investors, or is it mostly just taking profits from other people trying to game earnings announcements for profit?
If Sudan or Saudi Arabia wants to arrest people, there are much easier ways. What “freedom” or “LGBTQ” photos would you even search for?
She won’t.

And this has nothing to do with her being a Representative or her husband making the trades.

Its not illegal to just know non-public information. Insider trading requires a lot of things such as trading and having a contractual obligation with the company not to say anything (employees, board, executive) or trading and getting the information from someone with the aforementioned duty. Just knowing what a federal agency is going to do isn't one of them.
Show HN: FilesRemote. Edit files over SSH with any local editor. With sudo
I built this SSH file manager a while back that I've been using daily. Hoping others will find it useful too!

- Allows you to edit files like they were local.

- Automatically download and open files in any local editor (configurable).

- Automatically upload when changes are detected.

- Especially useful on slow and unstable links, where FUSE+SSHFS would cause too big of a slowdown on the local system.

- Edit files as root via sudo.

- Uses SSH auth agent when available, with fallback to password based authentication.

- Cross platform native GUI (via wxWidgets).
It’s not as bad as Java’s NullPointerException because primitive types and compound primitive types are much more prevalent (which are guaranteed to never be nil).
How do you help your coworkers when they need a hand? It's a rethorical question, of course.

I don't see much advantage of having work colleages if it turns out they are just available for half an hour every morning and then they will dissappear for the rest of the day. Say someone needs me to guide them find some file or some method that I wrote and I'm the best one to answer that question, should they just wait for 4, 6 hours, or even until the next day, just to have me getting to know that my help would be welcome?

I see most value in working with other people precisely in the ability to work _with_ other people. Maybe not interrupting people constantly for silly questions, but definitely either not having to almost feel like if we had to ask for an appointment with the doctor.
This is disabled if you choose to not use iCloud.
>At the same time, the ability of the Taliban and its supporters to operate substantially within the rules of companies such as Facebook, Twitter and YouTube has left Silicon Valley vulnerable to intensifying political crosscurrents: U.S. conservatives have been demanding to know why former president Donald Trump has been banned from Twitter while various Taliban figures have not.

Obviously, by not questioning the results of the 2020 election or about covid
They're different codebases, so as far as I know, they'll have different implementations, sure.

But modules themselves are standardized, and so you should expect that after some time, you'll have stuff that works on all implementations. I don't believe that any of them are complete yet, which is why you see these differences currently.

(Caveats: I have followed the development of modules semi closely but am by no means an expert.)
little anecdote: I did a couple of personal projects in elm in 2017. one thing I'm thankful for it taught me functional programming. Elm was easy to start with for someone new to functional programming. it also taught me, one important lesson - the market doesn't really care. a company when you're looking for a gig doesn't care if you know elm, it wants you to know the 'framework'they're using currently. so yeah, I see elm being a dead end. either people using it already solved product/market fit. but for a startup getting off the ground - elm offers no benefits at all compared to js.
For most of history this was how people viewed life and death.

If you tried telling them it was just nature, bad luck, and an uncaring universe they would have viewed you as a naive simpleton.
We're pushing out a fix for the back button as I speak, thanks for the heads up! It should be live in ~10 minutes (CI build + test + deploy).

Discord: we haven't looked into their API yet, but it's an oversight on our part. We'll take a look soon!

Pricing: thanks for the detailed explanation of where you're coming from. Your perspective resonates well with ours, which is that we'd like the amount our customers pay us to be roughly commensurate with the value we provide them.

If you're truly interested in using Pop and providing feedback, I'd love to learn more about your team and your background so we can make sure we're aware of that perspective as we work on our pricing plan. Feel free to find a time via https://calendly.com/j-pop/30min or drop me a line at j@pop.com. Thanks!
Google's Fuchsia OS Is Rolling Out Widely to First-Gen Nest Hubs
I actually quite like that analogy - I may use that the next time I have a chance to teach.
More likely a Java lib form Scala than Scala as such.

In "pure" Scala (not in the FP sense, but just without mixing with Java) something like that is almost impossible.
I'm super impressed by the progress so far! I didn't end up writing my comment of support as it seems like they're amenable to the change based on the work you put in: well done!
The corollary is one should start David Lynch from Eraser head :) Which in a way is his easiest film because you can't read it in a superficial level, there's simply no superficial level. You go straight to the cipher.
There really does need to be Congressional leadership here

US insider trading laws confuse the courts, waste all the appeals courts times, and unnecessarily burden everyone

The securities regulator just dangles a Sword of Damocles over everyone’s head without having a single “Insider Trading Act” to rely upon, just their own opinion leveraging their blanket fraud statute, curbstomped by the courts until its cranium is molded into narrowly tailored brain matter, with exceptions oozing out the ears into gutter
Sounds like the situation in Australia, which NZ sounds like they’re copying.
But also...not at all relevant to the point I'm making, which is that a mandatory ID is not against the Constitution (that I know of), and that we -could- create a mandatory national ID, but there's no political will for it. That's it.

I provided an example of that, by pointing out where even the party whose stated goal is to validate a person's identity for voting (i.e., where a mandatory national ID would help with one of their stated goals; certainly, it would remove the objections the other party has) still isn't pushing for a mandatory national ID.

You commenting how multiple types of non-mandatory IDs are included in the bills that that party supports...isn't gainsaying anything I said, nor the point I was making. I'm not sure why you bothered.
So the attacker creates an image then the user has to download it. Then the FBI digs in and see it was a crafted false positive, then begin to investigate who sent it and why. Then the user takes civil action against the person who sent it for harassment.
Thanks, looks like you're right.
Assuming that I was not gaslit by other people, I was under impression that would at least require some change to EULA.

Otherwise it sounds like a nuclear option by Apple, with dire effects.
+1. I got left high and dry when Intel got rid of the Edison.
AnyLog: A grand unification of the Internet of things
Yeah I agree that B is likely a non issue, at least not an issue that affects the users directly. But C doesn't make me feel any better because the fundamental issue is where the scanning happens. If it happens off my device it cannot happen to photos I don't send off my device. I understand they have policy governing this, but that's not addressing the core conceptual problem of crossing the network boundary onto what I pretend is "my" device.
It very well may change it.

Right now they have no ability to scan every photo on every iOS device for “objectionable” content (as defined by them on that day, based on their mood). But soon they will. All they have to do is add photos to the ncemc and an equivalent db in another country.
I recommend using https://nitter.net instead. It's open source and easy to run a local instance using the code from https://github.com/zedeus/nitter.
I'm pretty sure modules and concepts have basically taken my entire life to happen.
As opposed to some modern type system feature that would catch such bugs at compile time rather than let them happen at runtime.
I think it requires you to enter your passcode, at least it does for me, when auto-update is disabled.
Ask HN: SF co-working spaces for focused work?
My normal workspace is still closed due to the pandemic. Are there any co-working spaces in SF that are suitable for focused work? I want:

1. Hot desks

2. No phone calls allowed in hot desk area

3. Interior design that minimizes distractions
I like the website Hacker Rank where you solve programming puzzles in some language like Python, hit a button and run unit tests, etc.

Also the web IDE for Amazon Lambda is just perfect for the little Lambdas I write that usually take an item off one queue, transform it, then put items on zero or more other queues.

For more complex programs it could be different.
Typically publicly traded companies have trading window limitations for its employees, and one purpose is to avoid insider trading risks. But that works for “normal engineer”. Executives who have more privileged info might need to consult their lawyers case by case.
> What darpa did was a lot more that ‘gateways’.

What a gateway does is connect two different protocols - just what gave it the name "inter"net.

> had the model been different

Indeed nobody can know the details of what might have been. But consider operating systems. Capitalism has delivered a free one that is arguably very, very good. Linux, if that's not obvious :-) Who could have predicted that? Capitalism also produced very high quality software that goes with it, for free.

It's possible we would have had something better than the internet protocol. For example, one that is completely decentralized and not dependent on a central authority to manage things like domain names and assign IP addresses. For example, GUIDs could be used instead. Are you sure that the current internet protocol is the best system? Or is it just that the internet protocol won out because it had a head start in the universities?

For another example of a fault in the internet protocol, say I go to google.com. It fails. What's at fault - the browser, the network card, the cable, the router, tje cable modem, the cable to the house, the ISP, or google's server? There appears to be no way to know, or at least in 25 years of using the internet it's still a matter of poking around the system in my house, rebooting the router, phoning the ISP to see if they know of a failure, etc.

All I get is a screen saying it didn't work.
Which would still be a privacy violation, since an actual human is looking at a photo you haven't consented to share with them.
> how is the average person expected to type them?

[modifier]-[C,D,E,F]