skysight-inc/HackerNews huggingface dataset:
might be a good place to share https://duckduckgo.com/?q=chmod+600&t=hk&ia=answer - notice little things like that regularly w/ DDG

Whenever I have a hard time finding something I am tempted to try Google. The thought of "Google is THE search engine" is still ingrained somewhere in my brain. For quite some time now, if I can't find it using DDG, Google turns out not any better (not using Cookies, not using an account that is - so no extreme search personalization) - some maybe not so obvious things I like about DDG

- it doesn't force localization as hard upon you, if you set DuckDuckGo to country xyz it seems you 'literally' get the results you would get as if you were in this country, as someone who travels frequently, or is a foreigner in a country, that is extremely nice. Besides just being insightful when doing research of course

- fewer sites are removed drom DDG's search results (we all know about takedown notices). For example in Germany there is a 'right to be forgotten', individuals can have links removed from Google if it is about them personally (unless they are a public person of interest and some other restrictions), and of course sites with copyright infringements (and yes, sometimes I am looking for some site to stream something, while I often even use yandex for that, I find sites quickly with DDG. With Google you see the notice 'sites have been removed due to copyright violations', then you can go to the lumendatabase, but there scam sites and 'legitimate' streaming sites are mixed together, so you hunt through there, it's a nightmare)

honestly don't miss Google anymore and use DDG on all my devices, but I don't want to pitch too hard. Use whatever works for you
http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro... might explain why 'just' doing the pretty print on the fly might not be a easy thing (even if the problem here is limited to a single line of code and something based on line length).
I was once subjected to the oracle dB for an ill fated social network project. They purchased 2 servers and oracle licences for 8 cores along with coldfusion licences and then it turned out that a special driver was required to allow them to talk to each other - I managed to find one from a company in germany that only cost a couple of grand. But hey, they were going to be big and only enterprise solutions were on the table - despite my suggestions.

I’m not sure how much it all cost to get started in the end, but it was a lot of cash before development even started. Aside from that, it was not a fun experience developing for it. I mean, for the most part a relation dB is a relational dB, but there was something about working with oracle that just felt broken compared to postgres.
These don't seem like generally useful metrics for judging or comparing a database.

Is this how experienced DBAs commonly see the world?
1) he should pass by reference to avoid the extra copy. So in his example yes it’s dev naivety

2) but somewhere somehow this object will deallocate, so his trick of putting it to another thread would work if the deal location takes awhile. Same for cpp if you have a massive object in a unique ptr. So it’s not a rust issue
I've written a bullet point message to a client once. He was pieved because it sounded like I was enumerating his failures instead of genuinely asking questions. I find that bullet points are only good if you enumerate what you've done, or something neutral. But nothing in regards to what somebody else needs. It's really aggressive.

I've found that bullet points come off as really aggressive in communication.
My understanding is that the token itself is fine and within spec. But they altered the flow to accept an email address in one of the request payloads which opened the door for spoofing the email address. I've never seen an OAuth or OpenID flow that relied on the payload for identity.
I had a dumb terminal with a dial-up modem in 1976. I learned from books, classes at colleges, mentors. Employers recruited through newspapers and recruiters, I got jobs through word of mouth and asking everyone I knew. Nerds would meet up to exchange information. We had magazines like Computerworld.
Unless I have missed something, it is immensely popular.
What was the term again? “Snowflakes”. Right.
This vulnerability predates websockets (in fact, you can exploit it even without Javascript) - they just make things more convenient.

Apparently, the shit hit the fan a while ago, prompting Opera to implement 'cross network protection'[1], but other browser vendors did not follow suit.

[1] https://web.archive.org/web/20121001002815/http://my.opera.c...
You're saying that just needing a username (and maybe a couple of bits of password), that you have to give to everyone you buy something from is good security?
But 2hrs to install!?! What world are we living in? Actually, I seem to recall it taking an age to install last time I dealt with it (2008).
Anyone using Haskell to drive their business is making a huge mistake in my experience. Haskell2010 is a fine language. Unfortunately, the ecosystem has centered around whatever the latest version of GHC is, with its millions of language extensions and breaking the world with changes like https://gitlab.haskell.org/ghc/ghc/issues/10365 and https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of.... Which is fine if you're doing research or building tools for fun! But it makes an absolutely awful industrial experience when you want to ship features and not get stuck on a bit rotted version of GHC.

edit: It's unfortunate that people are downvoting me for offering my experience, especially on a post that wants to make Haskell more attractive to being used in the industry.
You took time to criticize the post for being upvoted despite not being deep enough / giving enough examples.

It's likely upvoted because most of us in the industry have no love for Oracle and confirmation of that bias feels good.

Turnabout is fair play:

Why don't you give some examples of why a startup doing a greenfield project should use Oracle today?
In other words, Rust's automagical memory deallocation is NOT a zero-cost abstraction:

fn get_len1(things: HeavyThings) -> usize {
things.len()
}

fn get_len2(things: HeavyThings) -> usize {
let len = things.len();
thread::spawn(move || drop(things));
len
}

The OP shows an example in which a function like get_len2 is 10000x faster than a function like get_len1 for a hashmap with 1M keys.

See also this comment by chowells: https://news.ycombinator.com/item?id=23362925
Omelette: a simple, template based autocompletion tool for Node and Deno
Omelette is a simple template based autocompletion tool for Node and Deno projects with super easy API.
Why should i ever need to drop a heavy object for only getting a size? Not in C++ and also not in Rust, the diffent thread idea is just creativ stupidity, sorry
I guess it's unrealistic to assume that their supply chain would be secure enough for these that no one would have heard anything.
Yes. "How fast is the installation process for each database on the same hardware?"
Overpriced? The average android phones cost the same as iPhone. That argument is tried and not relevant anymore.

Plus, iPhones actually work longer than a year.
I saw an increase of about 2x on my computer, though I didn't take too much effort to control for noise.
> A conspiracy theory is a belief there should be a conspiracy but without the necessary qualified evidence.

That is an arbitrarily high standard. Just because the subject of a hypothesis is that there is a conspiracy doesn't automatically make lack of evidence problematic. Even for natural phenomena there can go decades before a hypothesis is backed with evidence if ever (e.g. Einstein), human interactions and particularly intent is much more unlikely to leave a trail of evidence so I don't get how being even more strict with it helps with our knowledge gathering process. All conspiracies that turned out to be true were conspiracy hypotheses before they were proven and this defense could have been (and was, and is) used to stifle the process of evidence gathering.

This doesn't mean most of the conspiracy hypotheses aren't far fetched, emotional and poorly argued, nor that all is entitled to public attention equally, but we can't apply different epistemological standards between conspiracies or natural phenomena (science) when we are faced with unknowns.

> Given the terms I find it’s not at all far fetched to conclude there exists some common mental health defect

If we judged this premise by the standard you've posited, it would be equally problematic. In fact, we know in the past, states have abused psychiatry to discredit dissenters. Check out Soviet Union and their "creative" diagnostic labels used against political dissenters as an example.
Good luck to everyone! What an exciting time.

Curious about the spacesuits and performance of the “minimal” touchscreen interfaces compared to the older stuff.
Wikipedia seems to disagree with your assertion:

https://en.wikipedia.org/wiki/Huawei#Ownership

It may ostensibly be owned by the employees but there's a more complex ownership structure involved than what a normal company would have.

" Scholars have found that, after a few stages of historical morphing, employees do not own a part of Huawei through their “shares”. Instead, the “virtual stock is a contract right, not a property right; it gives the holder no voting power in either Huawei Tech or Huawei Holding, cannot be transferred, and is cancelled when the employee leaves the firm"
if it doesn't work for you; it doesn't work for you.

Your personal productivity story doesn't have to be like anyone elses. As you work, start paying attention to what conditions seem to work better for you.

Different brains and bodies are different, and programming as a mentally strenuous activity requires that you pay attention to your mental wellness.
Not completely, it's still 2-3 orders of magnitude slower.
Apple mail also loads remote images when you forward an email, indepdent of the "load remote images" setting.

(haven't tried latest OS)
If you have minority shareholders, you're not really independent. If you debt finance, you're still independent, IMO.
few hundred yards, not rounds... also more like several hundred
Some important things I think people should note before blindly commenting:

* The example code is obviously contrived. The real gist is that massive deallocations in the UI thread cause lag, which the example code proves. That very thing can easily happen in the real world.

* I didn't see any difference on my machine between a debug build and a release build.

* The example is preforming 1 _million_ deallocations. That's why it's so pathological. It's not just a "large" vector. It's a vector of 1 million vectors. While that may seem contrived, consider a vector of 1 million strings, something that's not too uncommon, and which would likely suffer the same performance penalty.

* Rust is not copying anything, nor duplicating the structures here. In the example code the structures would be moved, not copied, which costs nothing. The deallocation is taking up 99% of the time.

* As an aside, compilers have used the trick of not free-ing data structures before, because it provides a significant performance boost. Instead of calling free on all those billions of tiny data structures a compiler would generate during its lifetime, they just let them leak. Since a compiler is short lived its not a problem, they get a free lunch (pun unintended), and the OS takes care of cleaning up after all is said and done. My point is that this post isn't theoretical, we do deallocation trickery in the real world.
I said generational/compacting collector. You're talking about a mark and sweep collector.

A generational/compacting collector traverses pointers from the live roots, and copies everything it finds to the start of its memory space, and then declares the rest unused. If there is 1GB of unused memory, it's irrelevant. Only the things that can be reached are even examined.

As I said, this has the opposite problem. When the live set becomes huge, this can drag performance. When the live set is small, it doesn't matter how much garbage it produces, performance is fast.
I believe the deadline is June 30. [0]

[0] - https://developer.apple.com/news/?id=03262020b
Was it University of Texas at Austin? I recall an article by Dijkstra complaining of this very thing.
SpaceX Pre-Launch Live
You would need to add `thread.join()` at the end of main, or have some RAII guard that does it for you.

In practice that's probably optional, because the heap and all resources are usually torn down with the process anyway. Important things, like saving data or committing transactions, shouldn't be done in destructors.
make is useful, when you stay within its confines.

However, it quickly turns into a morass the moment you want to do something outside of it.

I tried, and I gave up. I ended up coding something similar to make, in python. I just funneled some of my commands to the shell module.
I've been a full-time 'indie' computer game developer for about five years now and in the gamedev space 'indie' hasn't really meant any one thing for most of the last decade. I'm a solo guy who does art & animation, programming, writing, marketing, and so on (I have an accountant and I contracts a friend who helps with the music), working on original IP, with no outside inventment, self-publishing - which is about as 'indie' as it gets, I suppose. However, 'indie' is often applied to teams of 20+ people, sometimes either with outside investment, or who work with publishing companies. Lots of publishers are 'indie publishers' too, operations are built to work with smaller teams and budgets.

And I'm totally fine with all of that! Proclaiming that "I'm indier than thou" might get you some (utterly meaningless) clout with... well, I don't know who. The main thing is I find encouraging is there's a number of proven ways to run a sustainable software business. And that's nice to know, because if at some point I need to or want to change how I'm doing things, it isn't a one-size-fits-all scenario.
You can handle this in Rust pretty neatly with lifetimes. There's a bunch of crates that do this. [1]

[1] https://crates.io/crates/typed-arena
Why not redrect to the blazing fast AMP page in the original domain (without the Google CDN), instead of often bloated full HTML page? E.g. https://example-com.cdn.ampproject.org/c/s/example.com/amp_d... => https://example.com/amp_document.html
Hoare’s Rebuttal and Bubble Sort’s Comeback
Related URL:

https://duckduckhack.com/
Might be a "dogfooding it" sort of thing, where if apple employees could use google mail accounts, it might have a higher chance of being caught.

I would bet you couldn't use gmail from within the apple campus.
Writing off people with dissenting/anti-establishment viewpoints as mentally ill is at best extremely pedestrian; potentially extremely sinister.

https://en.m.wikipedia.org/wiki/Political_abuse_of_psychiatr...
I'm fine with pre-release bugs being reported under an NDA. If pre-release bugs are publicly disclosed that is arguably a punishment for companies who seek that validation early in the cycle rather than later.
> NSA spying was believed by many long before snowden, because the coincidences were piling up even though intent was not proven

What were the inexpiable coincidences that were piling up?
> I don't think it's fair to conclude there's a mental health defect in people more skeptical of the status quo.

It’s not about fair, popularity, perceptions, or belief systems. It is only about the inability to separate evidence from belief. The strength or popularity of the belief does transform that belief into evidence.
That is an interesting name for a tool. wonder where it came from?
Right. You can find pictures of actual internal devices all over the internet (supposedly some people will even sell them to you), so it's quite strange to not hear anything about these. With Apple going after Corellium, I think many researchers are thankful for the various exploits we've had recently that have kept iPhone open.
> The periods they define are fixed in respect to the Gregorian calendar

No, they aren't. There's actually two different kinds of systems used for Western astrology, neither one of which is strictly fixed to the Gregorian calendar; one fixed to the vernal equinox and the other fixed to the positions of the fixed stars (there are many variations on the latter.)

Because the Gregorian calendar (and the same is true of any regular solar calendar) has very little variation in regard to the vernal equinox, in that system dates fixed to the Gregorian calendar are approximately correct and are common in casual use with regard to the most common astrological period referenced, the zodiac signs.

https://en.m.wikipedia.org/wiki/Sidereal_and_tropical_astrol...
How are finalizers invoked if the structure isn't traversed? Would it just be optimized away none of the objects have finalizers? Hence my suggestion about the area allocators being a better point of comparison.
Just be careful, because moving heavy things to be dropped to another thread can change the semantics of the program. For instance, consider what happens if within that heavy thing you had a BufWriter: unless its buffer is empty, dropping it writes the buffer, so now your file is being written and closed in a random moment in the future, instead of being guaranteed to have been sent to the kernel and closed when the function returns.

And it can even be worse if it's holding a limited resource, like a file descriptor or a database connection. That is, I wouldn't recommend using this trick unless you're sure that the only thing the "heavy thing" is holding is memory (and even then, keep in mind that memory can also be a limited resource).
Yes, but this looks like they are scared of benchmarks. Weird, right? :)
Right, but the GPL license's protection also means that a BSD cannot be distributed under the BSD license (or similar) if it includes GPL components. This is why OpenBSD excludes GPL components.

GPL enhances user freedom at the expense of restricting what programmers can do.
I've encountered other features such as long

- long press on send (i.e. you're thinking about it) will send all your drafts

- deleting an email might select the one above or below after, so you can't rapid fire delete a sequence
> Even in the United States, Apple isn’t a monopoly with about 40% market share.

This is a non argument. A Duopoly is no reason to not being able to behave like a monopoly. If you don't play by Apple's or Google's rules you essentially lose 50% of the market.
Use what works for you. Personally I frequently switch between the two as I find that light mode works better in the day for me, while dark mode is better in the evenings/night.
I feel like there’s some missing context here: the late 2000s/early 2010s were also when the nosql craze was really taking off: Cassandra was open sourced in 2008, MongoDB came out in 2009 and spawned the “MEAN stack” (remember that?)

Using SQL was extremely unfashionable then, so it’s no surprise that developers at Mozilla/Oracle (and even Google and Microsoft) were not keen on adding a sql stack.
Have you run into the mail deleting bug yet? That's what is holding me back from upgrading.
>>Europeans would be wise to stand with Trump

There is nothing wise about "standing with Trump" on any issue. His impact on allies is a kin of a moped doing figure 8s on a pigsty.

And no country stands with Trump on anything. At most they stand with the current US administration, which happens to be presided by Trump. Trump the citizen is repellent and has no redeeming qualities.

And by the way, Europe has its best interests in mind, and the current US administration already made it quite clear that the US under the Trump administration is a highly unreliable ally, and even a potential liability that's compromised by Europe's current biggest threat.
More recent example of Apple "undoing" patches: https://www.synacktiv.com/posts/exploit/return-of-the-ios-sa...
Yeah, took me a while to figure this out, the alerts were not welcome.

Found it ironic that the top of their page advertises "Security Monitoring now available".
tagged in on a client project written in haskell

codebase organization was nonintuitive and I blame type-level programming

compilation was so slow and bad that other programs on my laptop started to die

the feature I was adding was something that would be library-provided in a normal web language

none of the operators have names and are very hard to google; I had to search for things like 'haskell tilde asterisk arrow'. Impossible to know what's from libs vs core language. Lots of explanatory docs online were like 'oh we don't pronounce this one'.

Core abstractions have no definition ('to explain that I would have to explain monads but you won't understand monads so GFY'). Monads are just sub rosa dependency injection .

lang doesn't protect you from runtime crashes but does apparently protect you from knowing where the program crashed
If your first program is a function, the whole world becomes a function.

If your first program is an object, the whole world becomes an object.

There are always 2 ways to skin a cat with a computer. The more practical computer user could be satisfied with only using their first.
often i will post a number of components of an idea rather than the idea itself, leaving it up to the reader to generate the idea[s] for themselves in socratic fashion

usually ideas that i would not speak directly of

example linus torvalds father saying no but nodding yes regarding NSA backdooring of SElinux

excerpt from https://en.wikipedia.org/w/index.php?title=National_Security...

>Software backdoors

Linus Torvalds, the founder of Linux kernel, joked during a LinuxCon keynote on September 18, 2013, that the NSA, who are the founder of SELinux, wanted a backdoor in the kernel.[81] However, later, Linus' father, a Member of the European Parliament (MEP), revealed that the NSA actually did this.[82]

When my oldest son was asked the same question: "Has he been approached by the NSA about backdoors?" he said "No", but at the same time he nodded. Then he was sort of in the legal free. He had given the right answer, everybody understood that the NSA had approached him.
— Nils Torvalds, LIBE Committee Inquiry on Electronic Mass Surveillance of EU Citizens – 11th Hearing, 11 November 2013[83] <
I am not in favor of Oracle. I don't care about Oracle.

That said, the original post is meaningless and yet on front page. That is what I'm writing against.

If all it takes for HNews to upvote an article is hatred of a company, that's a sad state to be in. Might as well get my free upvote with a simple isoraclestillshit.com website, eh?