skysight-inc/HackerNews huggingface dataset:
The submitted article is written by a racist controversialist, in a strongly partisan publication, about someone who is a xenophobic racist.

It's hard to have an honest discussion because we have to do so much cultural scene setting for people who don't know these facts first, and then we have to debunk all the lies in the article. And while we're doing that the usual suspects are saying fucking stupid shit like "of course being vehemently against all Muslims and every form of Islam isn't xenophobic".
To tackle animal extinctions, better way is to kill humans en-masse.
> Certainly many contributors to open source projects have been motivated by not wanting to pay for software.

This is just not the case anymore. I know tons of people who choose to work on open source and I pretty sure none of them did it because of money.

I guess it's might be like that 25-30+ years ago for the people who started GNU and Linux ecosystems when vendor lock-in was big deal and a lot of programming tools were proprietary and expensive include compilers.

And 14 years back when I started to work in web development there was similar situation where a lot of tools and software is proprietary and expensive. Not anymore.

> And many if not most of the users of open source software have been motivated by not wanting to pay for software as opposed to a desire to read or modify the source code.

For initial adoption this is still true, but I believe many people who stick with open source products doing it for entirely different reasons. As others pointed out it's might be not the case in rich 1st world countries, but everywhere else people just go with illegal software instead of open source.
It works in practice though, because there’s no CSS syntax that uses //, so you can basically turn off any line that way by causing a syntax error. CSS fault tolerance makes it just ignore the line. Not sure if it’s wise to do this, but it works.
Samsung Galaxy Fold Teardown by iFixit
Surely not faster than Delphi, oh well.
Who do you think designs aircraft, ground vehicles, radar, and weapons systems? The vast majority of that work is done by people who have never seen combat, and that includes technology that the troops on the ground do love.
You could think we are already trying that...
I have very limited experience. The client seems to log you out once in a while, as if it's a banking app. That's been an annoyance for me. On the free tier, you cannot login to more than one account at a time on the app. That's another annoyance. You cannot export your mails from ProtonMail unless you have a paid account and use a computer with their IMAP bridge software installed.
Why do they still sell on US soil? If they'd violated some patent, couldn't the original author get them banned?
That still doesn't account for mixins, which turn out to be very handy. Some examples here.[0]

[0]: https://css-tricks.com/custom-user-mixins/

These are preferable because you can compose them as needed for elements, instead of having to make extra classes.

> CSS now has variables (if you really need them -- chances are you don't).

I fail to see how you could -not- need variables. Not many, mind you, but using none at all boggles the mind. For starters, DRY code is fairly fundamental. When you update a referenced variable you only need to do it in 1 place. Relying on "find and replace" leads to "oops I accidentally missed one, now we have a bug that could have been totally avoided".

It also helps with consistency for site theming/branding. You can define $primaryColor, $primaryHighlight, $secondaryColor, $textColor, $backgroundColor, etc, and reference these down the line instead of copy/pasting and getting bugs if the specs change.
If you don't bring in grant money, you'll end up with a lab roughly the size and utility of a shoebox.
Sorry to disapoint you, Flutter is now one option in Fuchsia among others.
The thing at the top left looks like one of those mounted white pads that are used to display jewellery. https://www.jewelrysupply.com/assets/images/white-jewelry-ri...
> I think you misunderstand.

I think I don’t. wink
A Better Way to Protect Your Database IDs
Personally I think monetary fines are a fundamentally flawed form of punishment. Send. Decisionmakers. To. Prison. I don't care if it's for just a single day but march them into a courthouse in an orange jumpsuit and handcuffs.
I assumed his comment was a reference to the old "joke":

> "Emacs is a great OS, but it lacks a decent text editor."

The comment presumably made because emacs is extended with LISP.
For some balance from the same publication the next day.
Irish privacy regulator opens investigation into Facebook over passwords

https://www.politico.eu/article/facebook-ireland-investigati...
Additionally, I think it's a bit rich when a company that is based 100% on another open source project under a permissive license (Apache Lucene here) cries that someone else uses a permissive license in the same way they do.
Near the teeth right?
Not true. You can trade USDT for USD on Kraken.
They could have just licensed the patents?
Point of Sale right?
What country did you go to school? ID in the US definitely does not focus on engineering, but I hear in the UK and abroad product design and engineering degrees see a bit more inclusion in eachother’s curricula
I'm fairly sure no one uses those, I've never seen them in the wild anyways, and I live in a country where they use the international symbols otherwise.
Huawei is one of the largest R&D spenders in the world. Perhaps time to stop regurgitating nonsense?
And that guarantees victory? Interesting judicial system you have, over there.
Well, now I know what's going on if the real world starts looking like that. And I bet it will sound like this: https://www.youtube.com/watch?v=-VsmF9m_Nt8
New psutil 5.6.2 with Load Average emulation on Windows is out
Hi all,

if anyone is interested, the implementation is available as Open Source software: https://github.com/sirixdb/sirix

I recently wrote quiet some documentation at https://sirix.io regarding use cases, the APIs, put up a community forum and wrote a complete native JSON storage (besides XML) :-)

The system greatly advanced since Marc's Ph.D. thesis (now, as mentioned above it stores also JSON besides XML in a tailored binary format, I've added sophisticated query capabilities through Brackit (https://brackit.org) and temporal enhancements in Brackit (https://github.com/sirixdb/brackit), added versioned index-structures, diffing capabilities to import differences between XML-documents or to diff revisions once stored in Sirix (and added a currently outdated GUI with novel interactive visualizations of the encountered differences found between any two revisions).

Next steps will be adding rewriting rules for index accesses in the query compiler, and with the help of you, the Open Source community I want to publish version 1.0.0 soon. Afterwards, I'd love to look into partitioning/replication, but it's also up to you :-)

Any kind of comment, help, questions regarding the APIs or anything related are more than welcome :-) I'll contact Marc, soon that I'm still super eager to put forth his ideas (and some of mine and of the other students involved, notably Sebastian Graf, who also rewrote a lot of stuff for his Ph.D.)

More than happy to answer any questions :-)

kind regards
Johannes
By your definition JavaScript won not because of the browser, but because it is such a wonderfull programmaing language.
A lot of folks here are saying that they couldn't live without nesting CSS selectors.

FYI the CSS Working Group approved a working draft of native CSS Nesting last month; it's in "stage 1."

https://drafts.csswg.org/css-nesting-1/

There's a PostCSS polyfill you can use for it today. https://github.com/jonathantneal/postcss-nesting
On a tangent, the group is part of Mitre Corp which maintains the CVE: https://cve.mitre.org/ amongst many other security related publications.

Their SEG is a must read for anyone who wants to dive in or understand a systematic approach to System Engineering.
https://www.mitre.org/sites/default/files/publications/se-gu...
The penalty kick is probably considered an exception.

> I've only trained as a referee in one sport and it had a "be a sportsman" element to the rules giving the ref leeway to determine that play is unbecoming of the sport and so give away a foul.

Curiously, the NFL--which has the single most pointlessly longwinded and legalistic rule book in probably all of sports--has a similar rule allowing referees to do literally anything at their individual discretion in response to any "palpably unfair" action or situation.
Citation needed.

It looks to me like a random deep dream pic.
Yeah, this seems like punishing FB for being too honest. There was no technical reason to disclose the bug.
I mean if they just quietly deleted the data that they didn't mean to collect, it doesn't seem likely that anyone would even notice.
I had a G450 hooked up to my big old CRT using mplayer to watch my terrible anime shows. Nothing could touch the quality of Matrox on a CRT.
The United States military-industrial complex is the world's largest jobs program. Paying sixty scientists for research means five hundred fewer people in a congressional district building tanks we don't need and can't use.
Could we also say - now criminals kill less each other, hence there are more criminals in the streets?
Baseball and to a lesser extent hockey are notorious for "unwritten rules" and nominally-disallowed enforcement of those rules by targeted acts of player-on-player violence.
I'm curious, if the message saying that "FB will also import contacts if you proceed" were still visible, would you still consider it "unauthorized access"? Is it really "unauthorized" if users give informed consent?

I doubt it, so it seems that we're just bickering over whether the accidental removal of the message is considered a "bug" or a malicious act by some engineer to trick users into sharing their data because they (and their company) lack business ethics.

Which is more likely?
In general, I think:

1. arbitrary layering and deep nesting are not good engineering practices.

2. refer to the data-model & code of my latest two posts. I prefer to use hash-map as the table with the primary key hash index, with key as the primary key and val(colname-colval-hashmap) as the row content.

I also don't think relational algebra operations must be implemented in the form of RMDB and SQL. It can also be implemented very elegantly with clojure.core. using hash-map operation is simpler, clearer, smoother and high performance.

There are many ways to implement relational algebra. The thinking is not limited by the "information structure" displayed by the traditional RMDB interface. In clojure, the hash-map(NoSQL) is the underlying physical model, and the relational model is the upper logical model.clojure core function acts as a data manipulation language, I named this architecture SuperSQL or SuperRMDB.

In fact, the original data manipulation language of posgresql and foxpro is not SQL. Clojure core function is closer to foxpro's commands (DML).

3. set, vector, list is generally not a good default data container, only used when needed. you use the set as container, it's difficult to operate data (table, row, column, value).

4. In summary, I think: programming is the process of designing a data model that is simple and fluent in manipulation. To have open thinking, not to be restricted by traditional thinking, to be flexible, adapt to local conditions, and design as needed.
Yeah, that was my first guess. Either a photo that'd been fed through Deep Dream, or a style transfer from one photo to another random photo.
That was my take away as well. Some interesting ideas - most of which aren't new - but the ideology felt very biased. To a fault even. I would still love to see a working version of this. Or even just a more traditional general computing OS but one which used FP (not necessarily LISP) as its primitive.
A sloth?
Exactly, every software solution creator has a choice: be like MongoDB - free, open source to gain traction and users, hoping to monetize this somehow or be like, say, Datomic - fully commercial, less popular, less users, but with viable business model from day 1.

Sometimes the "open" route works well for founders - see RedHat, but that's not easy. Prior to AWS there were also others who were trying to earn money on someone else free product. In the pre-cloud era those "unfair" competitors were easier to beat, AWS is indeed a game changer here.
It's interesting because I've never seen or heard of anyone actually buying one of the packets of svinefedt (pig lard) - but I guess someone must be.
Yes, that's effectively what I meant when saying:

> ...if electrical intent cannot be cleanly and unambiguously conveyed in black and white, it's garbage.

The problem isn't just constained to connections though: consider adjacent symbols, components symbol elements vs. nets, nets vs. busses, components in which physical color is a salient characteristic, etc.
Lived in SF for 10 years.

The strong liberal politics are turning me conservative on many issues.
Ask HN: Moving to Sales, Any Advice?
I've been a professional software programmer for the past 6 years, been programming for fun since I was around 15.

I work for a company that sells a technical product and the sales team is looking for people with a good technical undertanding of the product. They call the position "sales engineer".

I've never done sales or sales engineering and so was wondering if HN had any advice, anecdotes or teachings around the good and the bad parts of moving to sales or sales engineering. If you have any cool resources to share, that would also be great.
I will be honest to admit, before I read this article, I didn't even know charging $32 million was possible for a website.
Not until there was writing. The Egyptians had writing 5200 years ago compared to Linear A 3800 years ago.
Such a shame they removed all the docs about porting to new platforms long ago.
This is a pretty good HN client, fast and easy to use, great job!
True, but then a lot of people in permanent jobs don't get paid extra for overtime anyway. I mean it more from the perspective of how much of your day you're "on", and that leisure/other activities aren't necessarily mutually exclusive to thinking about work related tasks, which can make you more productive during your usual paid hours.
Note that IMAP support is only through a bridge software that you have to install and configure.
> Gophers tend not to use third-party libraries if at all possible.

That sounds weird to me. It's pretty rare (almost never?) for applications to do useful things without third party libraries. eg any database access, input validation, making sure HTML output isn't malicious, etc.

Maybe that's just me though?
>After two days of intense public interest, iFixit has removed our teardown of Samsung’s Galaxy Fold.

But... you are ifixit?
> The software used a malware technique used by the NSA to restart crashed services.

Your click bait headline is bad and you should feel bad.
I think I see what you mean. I think it's the Erlang way of software developments: acknowledge that bugs are bound to happen, and if so then recover by restarting quickly, and have the other party (in a network setting) retry. If the restarter thing has no bugs, then I guess it's ok that way.

What I was pointing at more is that there are ways to prove for a program (even for C I've heard) that your program has no bugs, and also that whatever loop it has it always runs at some "Hz" level at most - which makes this a good fit for controlling something efficient in real-time. As far as JavaScript goes it seems it's mostly meant to run at the edge where it's fine to fail mid-way and where you have time to wait for a restart. How much time is enough time is, I guess, very dependent on what is being controlled, and perhaps for a telescope restarting is tolerable.

I write haskell these days and I can say that for the most part of the code I don't check anything since the type checker does it for me (once, at compile time). And if it compiles I can be fairly sure that there are no bugs. It's only at the edges where I talk to external APIs and/or parse json where I get errors and need to handle them in some way. There are of course bug sources left after types, but a huge part of it simply doesn't exist.

But I do understand how JavaScript can be a good choice if errors are tolerable, since it's fast to prototype in, and also, as a language it's easy to pick up, tons of resources online, plenty of developers who already know it etc. But I'd still maintain that safety isn't a property of the language itself, but more of the infrastructure it runs on.
At some point I had the realization that I had not been “stumped” by a bug in a long time. Aside from a few very exceptional circumstances, I am nearly always able to identify the cause of incorrect behavior within 15-30 minutes. When I first started programming, it was common for me to be frustrated with a bug for hours, only to discover an obvious logic or framework error the next morning.

In my experience (self taught and also CS major), the best way to get better at programming is to consistently adopt a few core habits: Read good code, read your own code (I often review the day’s commits before bed), and prioritize defensive programming above all else. If you do these things, you will naturally evolve into a better programmer as you gain more experience.
They sell the data which is anonymized into audiences. When you buy audiences on Facebook, they are in turn, selling you audiences (and data)
The article suggests that because Facebook, for example, has its European headquarters in Ireland, then complaints under the GDPR must be handled by the Irish data regulator. This is not the case. Any EU citizen can bring a complaint to the data regulator in their own country.

Sure, Ireland drags its heels but that does not prevent the data regulators in other countries from taking action.
As someone in the process of picking up Flutter/Dart, the upside of Flutter significantly outweighs the downside of learning Dart.

Flutter is the best-designed framework I've encountered (whether mobile, front-end, back-end or machine learning).

The only downside is Dart, and while it's annoying, it's also very minor.
Looks like an assemblage of raffle prizes on a table, first prize is the weird wig in the foreground.
It still has classes, and implementation inheritance with method overloading, but they're completely decoupled from subtyping (so e.g. subclasses are not necessarily subtypes - a class can use self-type in an argument position). And types themselves are structural, with row variables and polymorphism. If you need to define an equivalent of a named interface, you just define a type alias, like any other. And when you define a class, you get an auto-generated type alias for the structural type of objects that it will instantiate. [1]

End result actually looks surprisingly familiar to someone coming from C++ or Java, at the first glance. It's really a shame that it's not something that OCaml is famous for; it deserves to be. I wish I could have an object model that expressive in C#.

[1] https://caml.inria.fr/pub/docs/manual-ocaml/objectexamples.h...
This is also true in the UK. Any supermarket will stock lard, beef dripping, duck and goose fat.

https://www.tesco.com/groceries/en-GB/products/300346570

https://www.tesco.com/groceries/en-GB/products/288354065

https://www.tesco.com/groceries/en-GB/products/290068361
even if they are all glitches or otherwise explainable phenomena, if there is no formal process to record them, there is no way to formally analyze and explain them. those things that seemingly defy the laws of physics could become explainable if we could get more data about them and study them. it's the only way to get to the bottom of this. also further study will help reduce future reports as we then can train people to better understand them.

maybe that object flying mach 3 is an optical illusion caused by some combination of factors. like a mirage. by studying the effects and correlating the factors we'll come to understand them better and may even be able to predict and intentionally create them.

in short, this is by no means a hunt for aliens, but on the contrary, it's a hunt for data to help us understand our world better.
People is not machine therefor they cannot judge by machines,

Some of those workers maybe they have to deal some problems, maybe they lost someone they love or some another life problems, a machine how can understant those life things?
I notice nobody even questions the cloud-style architecture itself anymore, even though that's what gives Amazon the data to decide which service to ape next. Who owns your data?
Google ‘Thanos’ for an Avengers Easter Egg
I don't think that reddit thread is the original source. Someone in the thread links to a larger-sized image which appears to be from https://funnyjunk.com/Cognitohazard/pxMTMck/.

EDIT: here's an even earlier source, from over a week ago (note: thread contains other strange but mostly safe for work images) http://boards.4channel.org/x/thread/22512161/cursed-image-th.... 512x512 seems like a more likely size for the image to have been generated at, at least.

EDIT 2: here's yet an earlier source, from March 10: https://www.instagram.com/p/Bu2IkGylneb/. Someone in the Twitter thread mentioned this as being the original source.
Lot of assumptions baked in here, but the major Chinese manufacturers are not the only ones doing that by a long shot, if that's your complaint.

Additionally, the amount of cash Apple has on hand doesn't strike me as people plunging a major amount of their cash reserves into R&D. Much the opposite, actually.
This is one of the more delightful things I’ve come across on the internet. I always end up watching it all the way through. It’s remarkably catchy!
> This phrasing makes it clear that the goal of that edit is to eliminate every unnecessary words.

By your own interpretation, we can get rid of "ruthlessly", no?

> This phrasing implies that just one edit is needed

I don't think it does, even when disconnected from the rest of the sentence. It's fairly clear to me that it's talking about an edit where you "eliminat[e] unnecessary words" which may or may not be part of a greater editing process.
Follow up tweet by same person: "Wow this blew up check out <online pharmacy>"

Please don't support this type of virality and profiteering. It's disgusting.
Let me try to explain. The main thing is: if you're combining personal language with pejoratives, your internet comment is likely to come across as a personal attack, unless you find a way to explicitly show that you don't mean it that way. That is not always so easy, so it's safer just not to combine personal language with pejoratives in the first place. By pejoratives I mean words like "negative", "bait people", etc., but also grammatical constructs like "I'm not going to X with you just so you can Y" and "If you want to X, find someone else", which carry a reproachful charge.

In the case of that particular comment, your use of hyperbole intensified the effect. "I’ve had enough negative experiences with you for one life" is the sort of thing said by lovers who are about to become exes. Ditto for "I’m not going to chat with you just for you to call me an X again", and so on. This language is way, way too intense for an internet forum disagreement. If you go there, then on a meta level you're communicating something much more personal than the format calls for. Even if the other user did treat you unfairly in the past, you end up positioning yourself as the one who is most out of line, and your comment is likely to strike most readers the way it struck me.