skysight-inc/HackerNews huggingface dataset:
Language-wise, Rust is really top-notch, I find it hard to fault any design decision. There are some design choices that annoy me (e.g., two closure types can never be equal), but there is always a fact-based rationale for why things are the way they are.

My two major pain points in Rust are (1) the compile times, (2) the high variance of quality in the ecosystem.

The compiler for Rust is very slow, it takes minutes to build software from scratch. Things are getting better with incremental compilation, but it's definitely not as fast as D or Go to compile, and that can be very grating during development.

Anyone can easily contribute to the crates ecosystem and post their libraries and programs to crates.io. Unfortunately, there is no real way to know what's production-quality and what's a toy. You can try and rely on the number of downloads, the names of the contributors, etc., but there is no system that tells you what other Rustaceans think of a crate. For instance, I tried using an HTTP client with few dependencies (because the most downloaded option, reqwest, has a lot of dependencies), but I found that (a) the library issued a read(2) syscall for each byte that it downloaded, (b) did not always return the full payload for HTTPS. There was no way I could tell from just looking at the crates.io page.
Some benchmarks of graphics stuff was faster for me in SBCL vs. Love. Going with Love still, but yeah.
Are you seriously defending price gouging because otherwise those selfish Hurricane victims will waste precious water. ಠ_ಠ
Which directly contradicts one of the core value schools want to instill today (at least they do where I live, YMMV of course): Being a team player first and foremost.
I think the only time its fair to complain about it is when they’re doing it wrong, and particularly when they’re smug about it

Like yoga

But ofc its annoying when people do that for any subject, even something borne to their own cultures

Like smug vegans
Well see, maybe you’re right and I’m wrong. Still think the issues among East Asia, Europe and the US have enough in common in terms of unfair trade practices it behooves them to act in concert to get China to normalize their trade position.
China has deliberately manipulated the yuan for decades now. I first studied and modeled the manipulation while an undergrad in economics 15 years ago. It has helped them remain an export-driven economy, for good and bad. It's not a good move at this point in time. China needs desperately to increase domestic consumption. Manipulating the Yuan further will only lead to more wealth flight out of the country as citizens try to protect their wealth from devaluation.
My current job title is "Data Engineer", before this role I was a "Process Engineer". In my opinion those two jobs are actually pretty similar.

When I was working in process engineering I was trying to optimize the outputs from our industrial process on a day to day basis in this role broadly speaking I try to optimize the data extracted from the same industrial process.

Mostly I'm concerned with how can we extract data out of our plant, how do we represent and present that data (particularly to operators and technicians) and how can we better recognize and respond to underlying trends in the data.

Before I assumed the role (in 2011) my predecessor, who had a background as a statistician, was called a 'Process Statistician' so I assume my Manager changed the job title to reflect my background as an Engineer (Materials Engineering in my case).
Bit of a correction, I believe that `try` in Swift must precede an expression that can throw, rather than preceding a statement that can throw, so AFAICT the Swift code would have to be written like this:

sanitize((try getFile(getName())).contents)

This sort of illustrates why Rust moved away from its own prefix `try!` macro to its postfix `?` operator: in a language that encourages chaining methods, `foo()?.bar()?.qux()?` looks better than `try!(try!(try!(foo()).bar()).qux())`.
ICANN approves (second-attempt) DNSSEC root key rollover for 11 October 2018
It's going to be pretty hilarious if the most successful example of socialist principles is ruined by socialists.
So data engineering would be a subset of software engineering?
Driving something like Dasher (http://www.inference.org.uk/dasher/) with the remote would be easy enough.

(Typing on a keyboard would still work better, if you can do so without looking.)
Dasher Project
Post a video when you do it. :P
>>Imagine Elon getting a 2 year ban on begin an executive in a company.

In the US.

I'm sure there are a lot of countries that would be more than happy to invite such a hardworking, ambitious and industrious man to set up company like SpaceX in their countries.

If you make these sort of things impossible in your country, they will just happen else where.
Ask HN: What made your favorite manager/supervisor/CEO so great?
Japanese and Korean languages are pretty hard to translate.

In Korean, 나좀 봐주라 literally translates into "Look at me", but in most cases, it means, "cut me some slack".

Google translate gets this wrong.

If you Google translate "cut me some slack" into either Korean or Japanese, it also fails.

But if you translate Japanese phrase "もう勘弁してくれよぉ" into English, it is translated into "Please forgive me already", but in reality, it's more like, "Cut me some slack! Or give me a break!"

Translation is hard.
Yes, "data scientist" is the new "70's programmer"... write some code in one file that runs within a hosting system (mainframe, spark).

Regarding the complexity and tedium of many production code bases I think they got there because many developers don't have the ability (experience) or opportunity (iterations) to do things simply.
My point was there can be
targeting on content. Magazines have ads. Are they as profitable as privacy invading content ? Maybe not but they're tolerable.
Somehow I’ve missed they had desktop versions. I thought it was web only.
Replace bank account balance with bitcoin wallet balance, but sure.
But ass and bitch are not a good comparison to phrases such as master/slave, which have a rich history in programming and convey meaning that would be difficult to replace. Master/slave tells me that an entity controls another entity unconditionally. This is a critical aspect of the relevant relationship, and I know of no other phrase that conveys this meaning nearly so well. Obviously we use the same words to describe a similar relationship between human slaves and masters. There's no rational reason to forbid technically useful and precise language, just because it also describes something else that we don't like.
Freedom Watch and CrowdSource the Truth Release Internal Emails
I think that's generally the part I don't like about most jobs. It seems everyone is checked out and is just there to collect a paycheck and build their resume.

My job is fine in terms of paycheck and learning, but it feels like I'd have an easier time if I just ignored issues but that's not really the kind of person I want to become.
Unrivaled among journalists when it comes to cybercrime investigations, absolutely. He's good at what he does and also has access to a lot of tools and helpful contributors. But if you follow the steps, which he lays out very clearly, it's pretty apparent that identifying the perpetrators wasn't rocket science, and that it probably wasn't very hard for the FBI.
I enjoy my day when I am allowed to work uninterrupted. The task doesn't generally matter, but some are not as "cool" as others. However, I can find joy in reducing cyclomatic complexity of code, improving readability etc. of whatever dumb fuck feature marketing thinks is important.

Today I changed how our promotions work. Do I think its a wise use of resources? Nope. It was probably a waste of 2 hours of my time. Marketing will probably ask me to switch it back in a few months because they have no idea what they are doing. After stepping away from the task for 5 minutes and ending the arguments in my head against the task. I hopped into the code. I began enjoying figuring how to organize the code in a way that creating unit tests would be easy. I refactored some small things here and there and checked off the task. I was pleased with what I created despite being displeased with the task. I then moved on to a more interesting and useful task.

What kills me. Is a bug that interrupts my flow. Each day I create a list of a few work items I will accomplish. There may be a meeting, a few small tasks, and then a piece of a larger project I am working on. When that gets thrown off by some asshole trying to hijack the sprint or a critical bug it pretty much shatters my day. I feel so unproductive. Resolving a must-fix-now bug is both handling debt and incurring debt (through loss of time). It really fucking kills me.
Discovering patterns from chaotic datasets, albeit via Graph Theory techniques (instead of ML) for populating a knowledge graph. e.g., find commonalities among documents, such as a single occurrence of a common phrase in each that connects otherwise obscure papers.

This technique is well suited for datasets with insufficient features for machine learning...

Initial tech focus was on finding commonalities within a set of documents, such as by crawling all links on first 10 pages of Google search via their CSE API. Next search optionally increases the pool.

Initial business focus was for marketers, who not only know their pain but are willing to pay to make that pain go away.

Nothing unique about the market... but with Lean Interviews and with 100% hit rate for interest among the 40 highly qualified leads, it seemed like a simple matter of assembling various bits that we had each previously built.

Lessons learned:

Even if a long-time friend commits to joining, has the financial means to contribute several months, owes you the personal favour to do so, etc., etc.-- Don't bank on that.

Like a perfect storm, I had multiple friends who previously committed to assisting, then each suddenly experienced extenuating circumstances preventing them from joining. One would have been our NLP lead-- ouch!

More mundane lessons learned captured in articles:

https://play.org/articles/new-entrepreneur-checklist

https://play.org/articles/introduction-to-natural-language-p... (i.e., unlearning misconceptions about "synonyms" to fully deployed with spaCy.io)
How Silicon Valley CEOs conspired to drive down engineers’ wages (2014)
This is a naive point of view. Cloud providers can and do raise prices when it aligns with their objectives. Especially Google has the history of doing this. Make a very strong product, offer it very cheap and then when all the competition has died, raise the prices. Google Maps is one recent example.
Social Media has seen ascendancy because it taps into a primal need of humans for connection and approval. Up to now, that's come with a price as the business needs of companies providing platforms have come first, leading people to think quantity of connections is desirable and to be endlessly pulled in with feeds and other media that aren't "connecting" at all, but stave off feelings in general. Perhaps we're coming closer to a crossroads where meaningful connections and actual communication will override the Facebook/Instagram model of dopamine triggers and passive connections.
Apache Nifi – flow based data processing
For those who might have a hard time going through the summary, the attack is very simple:

If I block you, then when you load my twitter page, the load takes less time than if I don't block you.

So if the attacker wants to track 2^^N users, they number these users 1 ... 2^^N and each user can be given a binary number that is 0 or 1 in N positions, corresponding to whether N fixed accounts block them or not.

So, there is a lot of set up work to create N bot accounts that together block or don't block 2^^N people.

Then, the attacker tricks a user to loading their webpage which has a script that loads each of the N twitter profiles. If you are logged into twitter, your session cookie will be sent and the load time will be different or not for each of these accounts and so the attacker will be able to identify you if you are in the group of 2^^N users.

This type of attack is awesome (in a dark way) in that it can work for a lot of sites other than twitter. It points out a general weakness whenever a social media website takes a different time to load based on an attribute not in your control.

For example, it doesn't work with 'friends' if you need to approve friends, as you wont approve the bots friending you, but you can't block the bots from blocking you. Amazing.

The long term solution is same site cookies, which is also a solution for a lot of these CSRF type attacks. Great stuff.
Isn’t it discriminatory to have an intent to discriminate based on gender? “We want more <gender> at our company.” Unless gender is a bonafide qualification, that should be illegal just as “we want to hire more white people.”
Why would one need to hash pointers? Seems like a bad idea and data strutures made of pointers like trees are pretty well behaved.
The market forces that make the option inferior don't disappear just because price caps are implemented.

The "pro price gouging" faction just points out that caps provide even worse market incentives for increasing supply and lowering prices than allowing arbitrary and free pricing (i.e, "gouging").
Not only true goto but also switch and computed goto. AFAIK C/C++ are essentially the only games in town for these. No modern language has even corrected the purely syntactic limitation that prevents nested switches (by eg. allowing you to attach label names to switch blocks and cases).
Show HN: A magic square data structure in Python
Do you like, not believe in monetary systems in general? This is how money works. With more of it, you can outbid people with less of it.
That music with their video[1] is like a drug for positive energy.

[1] https://www.youtube.com/watch?v=Tq3w0XvzMKw
> I bet 99% of their constituents don't even know what the Jones act is or would be perfectly willing to change it.

That's a bold claim. On what are you basing the assumption that many or most Democrats would be willing to change the Jones Act, if they knew what it was?
They shouldn’t be able to push a new operating system onto my phone. They can let me know that a new version is avilable for me to download, when I see fit. It’s my phone, after all!
Reading is one of the things I'd like to do that is prevented by that 8 hours per day of work.
Accelerating a pedal-powered bike by 135kph / 83mph is a stunning accomplishment. I am flabbergasted that you don't see that as something notable.
Can OneNote copy and paste to Outlook without losing formatting?
> do people really believe that being able to write and understand complex SQL makes you a data scientist?

Many data scientists use R and SQL, that does not mean that many of those who use R and or SQL are data scientists.

Many lawyers use word. Yes I’m not a lawyer just because I use word.
They are an enabler and should. Otherwise they will be regulated like the telecom companies and turned into a public utility.

Government will have to step in.
size_t only has to be large enough to accommodate the size of the largest object possible in a given implementation. It has no relation to pointers at all.

Similarly, ptrdiff_t only has to be large enough to accommodate the difference between two pointers where such difference is legal ("when two pointers are subtracted, both shall point to elements of the same array object, or one past the last element of the array object").

Hence the need for intptr_t and uintptr_t, and why they're optional unlike size_t and ptrdiff_t.
Engineering was done by Inertia Solutions [1][2][3] from Regina, which CBC reports [4] as having the same owner as Can-Struct. Also, archive.org has partial backups [5] of can-struct.ca but are incomplete.

From browsing around a bit, it looks like they've designed/built a number of similar bridges, although their others look like shorter spans at an amateur glance. Not that that necessarily means anything.

[1] http://www.inertiasolutions.ca/home.html [2] https://www.facebook.com/inertiasolutionsregina/ [3] https://www.linkedin.com/company/inertia-solutions-inc [4] https://www.cbc.ca/news/canada/saskatoon/clayton-rm-bridge-c... [5] https://web.archive.org/web/*/can-struct.ca
The point of condensing is to strip out the fluff to reveal what’s left. What is left is, often, nothing.

Often, students will not understand why they received a bad grade on an English assignment, because they obeyed the letter of the law and wrote the number of words required in service of explaining the topic. They do not realize that, despite all of those words, they have not actually said anything.

When the skeleton of the work is laid bare, with all the trappings stripped away, it becomes much clearer to the student just what exactly the teacher was seeing that led them to give the student a failing grade; and so, as well, it becomes much clearer what the student must do to improve.
Most of the examples given in the article are about physical products. It's hard to see the direct translation for pricing software, especially since most of the largest tech companies primarily offer "free" products, and whose revenue is a result not of pricing strategy but of user behavior, engagement, and numbers.
I understand Facebook and Cambridge Analytica, but how is Google being more complicit?
Would you describe what students do when sparring in martial arts as “not being a team player”?

In any spar, one student will lose; but the point of the spar is for both students to help one-another improve. Sparring usually builds camaraderie, in fact, despite students also striving to win each spar.
Evernote has almost 500 employees? How is that even possible? There must be at least 350 product managers. (Ok, that was a joke, but if you look at all their employees on linkedin like 2/3 have job titles that are in the 'overhead' bucket. Tons of 'People Ops', 'Brand and Communications', 'Marketing Manager', 'Product Designer', 'Producer'. 37 have a job title that includes 'marketing'.
391 appear to be non-engineering titles, out of 538 employees in the linkedin results. They have full time Agile coaches!!)

500+ employees with an annual revenue estimated to be below $10MM. That's $20k of revenue per employee! I mean I can just imagine what it's like there, insane meetings about metrics where 15 marketing managers show the powerpoint slides they spent the last week emailing back and forth to highlight the 2% growth last quarter, while they need to grow by 2000% in the next 48 months just to stay alive. Then in 3 months they have the same meeting.

Evernote has been severely mismanaged (I've been saying this since 2012, links below). I wonder how they feel about all the VC money they spent developing ports for WebOS, Blackberry, Windows Mobile, and Windows Phone?

https://news.ycombinator.com/item?id=4855689

https://news.ycombinator.com/item?id=10859391
Should we make sure every company that sends recruiters to Barnard's career fair also send recruiters to men-only college career fair?
What's the trick to be happy & joyous (without any strings attached) ? How does one train the mind to not be achievement driven (especially if you are on HN everyday) ?

Can anyone recommend a course or a book to achieve that ? Something that makes you happy naturally (not forced).
This entire thread is a gold-mine for product research that they should probably already be aware of. But it won't be read and the company won't be improved.

What sense does it makes to have some guy from the heavily sheltered and insane Google X running a real business and product? He probably doesn't have the first clue of whatever he is doing.
They were my personal combination janitor/talent agent.

They cleaned up the technical and political messes that me and my colleagues would often made and they helped to sell the virtues of our team and our work around the company.
Nah, if you see what technologies are used for extracting oil and the geopolitical structure, you'll see how western careful maintains the status such that Saudi is replaceable if needed. Given the oil's strategic value, sure, it's not as easily replaceable like cloth producers. But itself, as compared to any other country with similar strategic value, is certainly as replaceable as any other such country.
Me, too, but especially in an area like economics, the rich are going to fund studies and be able to dominate the profession, so "more data" is tricky. I guess I am just asking for better economics that had a better track record in out of sample predictions, but that's wishful thinking in any social science.
He actually cared about me. Asked me how I was feeling, how life is besides work. Then from time to time he'd take us for lunch or dinner (we were a total of 6 people in his team). Felt great, everybody was really productive and happy to go to work.
A news diet
Ben Shneiderman (a user interface researcher) developed and experimentally evaluated the "Dynamic Home Finder" in 1992, using "Dynamic Queries" to quickly and interactively visualize and explore different combinations of filters on a real-estate map, which inspired me to implement the "Frob-O-Matic Dynamic Zone Filter" in SimCity:

https://news.ycombinator.com/item?id=11365359

>He and Christopher Williamson developed and empirically evaluated dynamic query sliders in the ingenious Dynamic Home Finder [4], which applies direct manipulation and infovis techniques to dynamic real time visual real-estate database queries. That inspired me to implement a similar real time information visualization technique in SimCity [5].

[4] Dynamic Home Finder: https://web.archive.org/web/20161119140228/http://hcil2.cs.u...

>Abstract: We designed, implemented, and evaluated a new concept for visualizing and searching databases utilizing direct manipulation called dynamic queries. Dynamic queries allow users to formulate queries by adjusting graphical widgets, such as sliders, and see the results immediately. By providing a graphical visualization of the database and search results, users can find trends and exceptions easily. User testing was done with eighteen undergraduate students who performed significantly faster using a dynamic queries interface compared to both a natural language system and paper printouts. The interfaces were used to explore a real-estate database and find homes meeting specific search criteria.

[5] SimCity Frob-O-Matic Dynamic Zone Filter: https://youtu.be/_fVl4dGwUrA?t=3m35s
From the article:

> While we implemented the mitigation above, we started discussions with the major browser vendors regarding the SameSite cookie attribute. Once we shared the problem with them, they were keen to help. All major browsers have now implemented SameSite cookie support. This includes Chrome, Firefox, Edge, Internet Explorer 11, and Safari. This was an incredible effort in a very short timeframe, and the browser vendors deserve enormous credit for responding quickly.
what's blocking WeChat?
iOS 12 Safari Array reverse bug
I didn't say it's not good for poor people to have other options, I just said it feels more like freedom to me having the choice of driving.
Puzzle Theory (2015)
I hate to sound dismissive but I feel like a lot of these projects put too much emphasis on booting and too little on something like say process semantics. I've written bootloaders before and it was some of the most uninspired code I've ever written.