skysight-inc/HackerNews huggingface dataset:
If the law relies on the regulator being in a good mood and be sensible, it is a badly written law. The law should give the regulator strict mantinels, not be subject to broad leeway in interpretation.

Around here, regulators are prone to scoring easy points by going after the small, naive fish. All it takes is the wrong incentives: the department needs to show results, so it gives bonuses, or establishes quotas for successfully handled cases. Bam, your small business is now investigated because a government employee needs to meet a quota and correctly guesses you can’t afford competent legal defense.
I'll add that I agree with the others re: bad blogs.

A blog that sees little activity or insight does more harm than good. One that misjudges the customer would also do harm. A corporate client doesn't want to read about the results of the weekly office water pistol fight.
Alexis Bledel Height Weight Measurements – Hollywood Ages
Why so obsessed with proofs? How often a programmer needs to prove anything except PnL of a project?
Dgraph is very, very immature. I'd monitor their forum for a bit before deciding whether to use - you quickly get a good feel for the issues and raw edges: https://discuss.dgraph.io/
Amusing how the education system in the US is chronically underfunded and underperforming yet there's money for THIS. Hire more councillors. I bet it will actually be cheaper in the long run.
They could make it so advertising on FB or Google isn't considered a valid business expense. Canada does something similar for advertising for magazines.
I wonder how they'll interpret the law w.r.t. free zero-rating. For example, T-Mobile zero-rates Netflix for free, and shows on Netflix start to prominently use T-Mobile products. No money changes hands. Will this be illegal in the future?
As a matter of interest do we know when this was written? The PDF has a date of 2007 but the latest reference is Wirth's book, published in 1996.
> Country D, I think. That's where the sale was made

How can the company determine if a user is from Country D, ip address or what the user enters in the address box?
This is a wrong misconception as Redis data can be persistent
https://redis.io/topics/persistence

Modules extending Redis with new capabilities and data types can and probably should use Redis persistency.
In addition to Fox and Breitbart, the Washington Post, Buzzfeed, CNN, and even the New York Times have had to retract dozens of viral political articles over the last two years. The retractions were only seen by a fraction of the people who saw the original headlines. This is an inevitable result of journalism increasingly relying on rumor and catering to partisan audiences.

Where is this line that should be drawn, and who should draw it? Breitbart may have a higher frequency of “oops someone gave me bad info, or my reporter/editor made an unsubstantiated inference” events, but their audience is much smaller than the large outlets.
A similar but more sophisticated use of this was Intel Research's seminal paper on FAST tree (index). Also from 2010.

http://www.webislands.net/pubs/FAST__SIGMOD10.pdf
"Although it might seem a sane and reasonable business, the world’s great engineers, she believes, were "very eccentric characters, all very tenacious, the sort who were cheeky at school and didn’t do what their parents wanted them to do"."
No, in the fukushima plant area the damage to inhabitations was minor and you can clearly see that in the tv reports about the evacuated areas.
I miss the oil drum. It had good content and good commenters. Too bad they couldn't survive the rise of oil from shale.
After forcing there album on us a few years ago, what I really want to know is why U2 is spying on us with planes?
I agree with his rant about "CS departments' algorithmic analysis" failing to cover these real-world hardware issue. That was certainly true of my ~1997 undergrad CS course at the University of St Andrews, that was otherwise exemplary.

The only thing I don't understand is why his data structure for finding the least-recently-used item wasn't just a linked list - where each time you touch an object you move it to one end of the list, and when you want to discard an object you remove from the other end. That'd be o(1) and would cause, at most, one page fault per update and none for the add and remove cases (since the two ends would surely be paged "in"). And it'd be a lot easier than his fancy thing. I guess I missed something.

It might be worth pointing out that NVMe or Intel Optane would solve his problem (1) without his fancy data structure too. Some might go as far as to say that while his fancy data structure is out dated now, the stuff that the CS departments teach became correct again. Maybe St Andrews had the right idea all along.

1) Or huge-pages or NUMA node pinning, to some extent.
It would be very intersting to see an analysis of the evolution over time of those claims.
From the README: "Happiness (available in separate branch)".
In 2001 I was living with a bunch of people in a rundown old house. We did not have a washer and dryer but we did have the hook-ups for them. But we are all poor and coming up with the cash to buy a set wasn't happening. We just used the laundromat. And yes, I know that it is cheaper to use your own. But a few bucks here and there at the laundromat was easier to deal with.

We had a casual relationship with our neighbors and one day they they were having a garage sale. They had a washer and dryer set for sale. They wanted a hundred for the set and I jokingly said I would give them ten. They said if I manned the garage sale for them for a few hours while they got lunch I could have the set. Bingo!

They worked great for about a year and then one of the wheels that holds the tub in the dryer had a bearing blow out. There was about a two inch gap in the bottom of the tub and it was swallowing bras. Apparently this had gone on for a while and nobody noticed. So I pull the back off the dryer to take a look and see what had happened.

I figured I was screwed since the dryer was older than I was. But I called Sears and they had the part. They actually had a repair kit for our dryer. For 25 bucks we got three rollers, belt, and new heating element. It took about a hour to install all the new stuff and I still have the dryer and it works great.

And really, we were so lucky, it had sucked in a lot of clothes. They were piled up around the heating element. Could have easily caught fire.
Lepin Executor Super Star Destroyer 05028 – Fake Lego Look-Alike Kit
At what altitude is the storm, that generates these lights?

Intuitively I would have thought that, if they are on the edge of the atmosphere, the lights would be lower than the plane, no?
https://www.nytimes.com/interactive/2017/12/14/opinion/sunda...
Although RedisGraph current version uses the concept of a Hexastore to represent the Graph I'm not sure this is the best way to go both memory (X6) and CPUwise (when traversing the graph).

That said RedisGraph does supports both nodes and edges properties as these are not stored within the Hexastore but on the actual entity object.

The new version of RedisGraph which will be presented at RedisConf2018 will completely replace the Hexastore with a new data structure which is better suitable in terms of both memory and cpu.
A list of questions common when interviewing for a job as a Graphics Programmer
Some months ago, I interviewed for a job as a junior graphics programmer for various game companies, in order to break into the industry. Since computer graphics is a very niche field, there is not very much information out there on what questions are common during an interview for such a job. So I decided to compile this little list of common questions, and to write some general advice about how you can prepare for the interview. Hope someone finds this useful. :)
1. Not being able to cover all corner cases. Didn't implement auth on Mongo, some evil bot deleted the database. Forgot to set the timeout on HTTP client, ending up with resource leak (goroutine) and downtime.
Integrating a lot of services, often I miss so obvious thing which results in service going down.

2. People with expertise in some key areas not willing to help with your seemingly easy questions.
Thanks a lot guys, I will get started with Lynda seems like a good place to start
Analyzing 1.1B NYC Taxi and Uber Trips, with a Vengeance
With a lower UI/UX quality than any native UI, but hey it is portable.

For example, WebGL based games still don't run properly on devices that barely sweat with OpenGL 3.x native apps.
Not true. You're right in case of Germany and some other western countries, but it's completely new for most countries, especially to the east.
Service Workers at Cloudflare
Trump's Call for a 'Space Force' Could Transform How America Wages War
Meet the women inventing the future in the TechMAKERS mini-series
Building a fast Electron app with Rust
I guess it works as a PR stunt for the armed forces.

I wonder where U2 are deployed today. I thought they were an easy target for ground missiles...
The Making of a No. 1 YouTube Conspiracy Video After the Parkland Tragedy
I, personally, would flip this around.

It's that towns have far too much friction.

If I'm in a city, the airport is probably less than 30 minutes away. A town means 2+ hours to the airport or a ticket that is triple or quadruple from the tiny commuter airport.

If I'm in a city, a lot of office space already has a fiber connection. If I'm in a town, people will shrug and wonder what I'm talking about.

If I'm in a city, I probably get daily early deliveries from UPS and FedEx--maybe even multiple ones. If I'm in a town, I get a late delivery and pickup and that's it. In my hometown, the FedEx office wasn't open 3 days a week.

I can go on and on.

Running a business is risky enough without adding all that friction on top of it.
> Why would you want to restrict (economic) interaction between two parties just because they’re far away from each other

I think the fundamental difference in view is on the one hand seeing two parties as individuals that should be free to have this interaction.

On the other hand as two individuals in a society, whose ability to even consider having the interaction comes from society providing the means (infrastructure, education, legal frameworks, ...) and that the idea of individuals doing interactions on their own isn’t even a reasonable concept.

Reality lies somewhere in between but I subscribe more to the latter.
> Don't let the compiler repair poor programming style ... This includes some cases of common subexpression elimination, loop invariant code motion and copy propagation

Unfortunately in languages like C++ these inefficiencies often originate from inline function expansion rather than the programmer and thus are absolutely necessary.

> Strive for short compilation times

I wish designers of Swift heard this... Swift's build times can be horrifically slow for no good reason, it seems. I think slow build times have become a new norm pretty much like e.g. graphics display boot up times, i.e. someone at some point convinced the users that it's the way it should be and as a new norm no vendor strives to improve it.
Billing address, given a sale is involved. Bank accounts tend to be attached to an address, and they can be traced if any silly loopholes get exploited.
Wow that was a very detailed look at how buying and selling of vulnerabilities work. Thank you for sharing. It's interesting how many different companies there are in the world and how they seem to have a Cooperative working agreement with each other if the price is right
In the early stage of the information revolution, it was fashionable to
argue that new technologies would eliminate distance. People could do
creative work in rural Colorado and communicate their ideas anywhere on
earth with the flick of a finger.

I think that effect is true to a limited extent. People could do creative work in countries such as Vietnam, India, Thailand and communicate their ideas to anywhere on Earth;

The equalisation of Geography didn't apply between rural vs urban. It applied between developed and developing countries.

I can speculate several reasons why, but without deep enough research or sources I'll leave them as an exercise for the reader. (https://news.ycombinator.com/user?id=bsder is an interesting comment)
Isn't that an available information from the user's credit card/bank account?

Now, of course there will be people who are residents of a different country or have cards from multiple countries, but I'd expect that to be a negligible fraction.
Because it's not Mathematics for Programmers?
Sales offices are there because they do substantial sales in the region. What exactly do you think the EU will do if they remove their physical footprint and refuse to pay tax?

The answer is simple: They'll get court-approval to confiscate funds being transferred to these companies from European customers.

So the real option on the table is to stop taking money from anyone in Europe, and the European market is simply too big for that to be a realistic option.
The number of people in slavery would have still decreased. The fact that it continued to exist is immaterial to the point being made.
Lead is even deadlier than was feared
Work takes up a significant portion of the day, I am working a typical 9 to 5 job and adding the commute (which is about 2 hours). Does't give me much time to do any side projects, however recently I figured that I can overstay at work to work on my side projects and then do the commute
The only question lingering in my mind is what would had the been the structural shape of Lockheed Have Blue, had they had more computing power?
How to use PostgreSQL to streamline Python code (2017)
Stackoverflow was a major improvement over forums and mailing lists when it first came out: centralized, clean and easy to use, and the content was up to date. Additionally, the early users generally already pretty savvy, or at least motivated to learn and make quality contributions. Now a decade on, much of the content is stale, accumulating reputation has become a goal in and of itself, and the culture has become weirdly cult-like. There no longer seems to be the same shared purpose or sense of community and respect.

In many ways, the site still is designed for the early days. Take stale answers and questions for example. I can't even count the number of times I've clicked on a stack overflow link in the search results only to find that the accept answer is some horrendously unnecessary jquery snippet. This problem needs to be addressed if the site is to continue being a valuable resource

As Jon identifies though, the bigger problem is culture. I quite like his proposed covenant and wish more users would take it to heart. It's also interesting to think how design could promote the covenant. Some quick ideas:

- Provide a question template: "this is what I am trying to do and why", "this is what I have tried", "this is what is not working".

- Better way to ask for clarification on a question or answer. Comments are too overloaded in their current implementation.

- Require users explain why they are voting to close an issue (more than the general categories already provided)

- Provide a section for "I have a problem but don't even know what question to ask"

- Provide more UI reminders that users are human.

- Tag questions by new users with "new asker".

- Automatically remind new users of good etiquette, such as: 'Don't forget to accept the correct answer'

- Add explanations to downvotes (again, something besides comments)

- Show new users examples of good/bad questions and answers and explain why before throwing them in the deep end

The obstacle is that solving these problems will require changing the site in a way that would break the existing reputation system and piss off many prolific users.

The bigger question I have: so Stackoverflow is bad, but what is the better alternative?
Well I see is an anecdotal case - of course it's personal - he doesn't have to tell you a goddamn thing. You're comments reek of negativity.

The third case is for some kids it doesn't matter. The top performers and bottom performers carry risk. And who medicates the top performers?
> The architectural tl;dr is that Electron is used as a user interface layer, with a Rust binary handling everything else.

Interesting, but the major complaint about electron that usually pops in HN is about memory consumption.
Is it that avoided in this case?
You won’t be able to inject a service into the EU and then exfiltrate payments.

You can incorporate outside and ignore the EU market entirely but it’s money left on the table potentially.
It's much better that the political message is targeted to personality types than gender and race.
Temple Run Gameplay
Christopher Wylie is being utterly courageous. But even so, I'm reminded of Robert Oppenheimer. We still have nukes. And we'll still have targeted PSYOP. So it goes.
Mass die-offs are driving efforts to create hardier corals
Who Maps the World?
Vision and Artificial Intelligence
This is specifically targeting companies that are shifting profits around to avoid those 20%+ on profits by setting rules that are harder to work around.
May I ask its applications?
IIUC, all trade from UK to EU will be subject to customs checks & tariffs, because the UK government is more likely to collapse than accept continued membership of the single market/customs union. Simultaneously, the UK government lacks the capacity to enforce significant customs or border checks in the other direction, so will accept almost (but not quite) all imports from the EU blindly.
Understanding Time Zones: Stop Treating the Clock Like a Number
Why ‘business as usual’ is killing team performance
> Unfortunately this is something that no compiler I know of does

Turbo Pascal (and Delphi), originally influenced by Wirth's books did exactly that. It was an incredibly fast compiler that generated surprizingly decent binaries.
Yeah that's what I tought as well.

I mean you will die 3 days earlier basically means that from a pool of like 1000 people one will die 3000 days earlier because of cancer.
which is really not a good way to die.
If there is no parent owning the child companies then that should work. But obviously if there is no central parent owner there is no being a “giant” with the benefits that brings.

Just breaking a company in 10 parts owned by a parent doesn’t make any difference. Revenue would be counted at the top (or the idea is pointless)
I guess the other question is why this hasn't been any news yet. But the answer might be that 10 years ago Tech wasn't much in the news because it was just not interesting for most people.

This has changed a lot in the last few years though, which might explain why the news agency now have to work through (at least!) 10 years of tech news backlog. I'd definitely like to see coverage of these topic from 'traditional journalists' who then bring this stuff into context and link it with politics for instance. It's a little sad that we needed the politic right and their friends to bring these things to public attention.

> Were any laws broken here?

In Germany they would have broken it by that. At least here every website needed already 10 years ago not only Terms of Services but also a data privacy section/page. Such a page would be of no use if you could collect data from people before they even visit your website.
The other problem is that most electron apps are incredibly big. I do not want to download 150mb single purpose apps.
The memory hog is not the only it's also the battery drain most electron apps suffer from.

If you compare Finda to something like voidtool's Everything it's night and day.
> It’s commonly said that Quartz is “based on” PDF, and in a sense that’s true. PDF (Adobe’s Portable Document Format) is the PostScript drawing model without the arbitrary programmability. Quartz was designed that the typical use of the API would map very closely to what PDF supports, making the creation of PDFs nearly trivial on the platform.

Would making a PDF reader with the Core Graphics API also be nearly trivial then?
Samsung Finally Builds a 30TB 2.5” SSD Drive with 40GB of DDR4 RAM
> ... T-Mobile zero-rates Netflix for free ...

Do we know that Netflix isn't paying T-Mobile for this? Or bartering, perhaps?
There are lots of beginner tutorials on Photoshop on YouTube. You'll also find many courses on subscription sites like lynda.com or skillshare.com.

However, if you are planning to use Photoshop for user interface design, I recommend using a vector tool like Sketch (Mac only) or Affinity Designer (Mac and Windows). Laying out interface elements is much easier in these apps than in Photoshop. Both Sketch and Affinity Designer have features that target UI design.

Although Photoshop has some vector tools, it's strength is in photo editing and digital painting, plus it has a sprawling, clunky interface that is harder to learn than the aforementioned vector tools.
Fixing is not their goal, and I'm OK with that. I really dislike Apple for a lot of reasons but their hardware is not one of them.

If you look at some of the breakdowns on ifixit, there might be an area where they needed 4 screws. In another laptop, they would have been identical screws, but in the Apple they are all different sizes. Each one is specific to the area it's holding so they could cram in more components. It may not be as easily repairable but it is good engineering.
Did you listen to it?

It has a section, where the frequency drops to subsonic at constant volume. So you can feel resonant frequencies.
They used to do a demo for the introductory mechanical engineering class at Caltech where they got the 9 story Millikan Library noticeably moving by having something vibrating on the roof at the building's resonant frequency.

That library has long been used for research and experiments involving resonance. The seismologists and structural engineers have had it full of instruments for 50 years and been studying how its resonances change periodically in response to weather and other natural cycles, and how they change permanently after earthquakes, and they have used shaking it to study wave propagation.

Apparently all you need is something that is big, resonates, and is coupled to the ground and you can do some fun science.

Some papers:

"Soil-Structure System Identification of Millikan Library North–South Response during Four Earthquakes (1970–2002): What Caused the Observed Wandering of the System Frequencies?" [1]

"The Millikan shaking experiments and high-frequency seismic wave propagation in Southern California" [2]

"Variations in the Natural Frequencies of Millikan Library Caused by Weather and Small Earthquakes" [3]

"Results of Millikan Library Forced Vibration Testing" [4]

"The Observed Wander of the Natural Frequencies in a Structure" [5]

[1] https://pubs.geoscienceworld.org/ssa/bssa/article-abstract/9...

[2] https://www.scec.org/publication/1908

[3] https://ascelibrary.org/doi/abs/10.1061/40753%28171%2990

[4] https://authors.library.caltech.edu/26542/

[5] http://earthquake-eng.usc.edu/ECEES_STS-E10/Clinton_BSSA_200...
Careful with that. Alan Kay claimed that at 76 he had read between 16,000 and 20,000 books[1] and that he now reads not more than about two hours a day[2]. When I first heard that numbers I was skeptical, but given that he started reading at the age of three[3], it checks out at about 500 words per minute, which is quite realistic.

Now consider that Umberto Eco

1. was, in contrast to Alan Kay, a full-time writer, so reading books was basically his job

2. lived till the age of 84

3. probably required a solid library of reference works (which are not supposed to be read from front to back) for his kind of work

4. was a polyglot and his library possibly contained the same books in different languages

it is not too unreasonable that he had read most of the (non-reference) books in his library.

[1] https://news.ycombinator.com/item?id=11945100

[2] https://news.ycombinator.com/item?id=14436018

[3] https://news.ycombinator.com/item?id=11806477