News for hackers. Stuff that matters.

lukesandberg

Re:Turbopack: Building Faster by Building Less on Tuesday January 27, 2026 @01:54PM (#46784526)
interesting. we had some reports like this of 'stuck errors' when filesystem caching was still very experimental, or back before we achieved 'stable' status. What version was this on?
Re:Turbopack: Building Faster by Building Less on Tuesday January 27, 2026 @01:49PM (#46784475)
We have invested a lot in webpack loaders which unblocked manmy ecosystem plugins. We don't particularly plan on creating a rust plugin API, when we do provide one it will be JS oriented. (well some people are interested in a wasm plugin layer, but we would always support JS first).

I'm not sure i understand your second comment? what got positioned as 'something good'?

Re:Turbopack: Building Faster by Building Less on Tuesday January 27, 2026 @01:44PM (#46784408)
it is true that our plugin story is not fully fleshed out. We have good support for webpack loaders and have observed that that solves many (though not all usecases). This of course is one of the reasons we are still supporting webpack
Re:Turbopack: Building Faster by Building Less on Tuesday January 27, 2026 @01:43PM (#46784384)
`fs` dependencies like that have caused issues before. the solution is typically something like

``` turbopack: { resolveAlias: { fs: { browser: './empty-module.js' }, }, }, ```

so different configuration but similar to what you would do in webpack.

i am unsure about the other wasm issue you mentioned... is there an issue describing it?

As for webpack, we will keep supporting it until we know there are no compatibility issues blocking people from migrating.

Is it? Isn't the bakery algorithm a demonstration of how to build a lock, not how to coordinate multiple locks?
Which is why the maxim "don't hold locks while calling untrusted code" exists. Holding a lock while invoking a callback is extremely dangerous. Some situations demnd doing this (but not that often), in which case you need to document it like crazy.
Re:DMCA Copyright Complaint to Google on Tuesday January 06, 2015 @10:10PM (#8848668)
This is most likely due to a script screwing up. A lot of these companies retain companies that specialize in filing these requests (see: www.google/com/transparencyreport/removals/copyright/faq/ for some more details.

My limited understanding is that these companies just use google search apis to try to find search results matching keywords. Then they file requests for every matching url. This is how obviously wrong requests show up.

There are also cases where requests appear to be malicious, but there are really no consequences since you (iirc) have to prove bad faith which is next to impossible and since everything is being adjudicated via third parties, there is really no incentive.

Re:DMCA Copyright Complaint to Google on Tuesday January 06, 2015 @10:01PM (#8848636)
http://www.google.com/transparencyreport/removals/copyright/...

That page shows all the dmca requests to google that target github.com. Wicked pictures shows up in a number of requests but they are by no means the only copyright holder issuing requests.

You can click through to the request pages and get links to chilling effects and it will also tell you which URLs were requested that were _not_ taken down. ChillingEffects just reports on the requests, not the actions.

Re:C#'s 101 LINQ Samples translated to Swift on Monday June 09, 2014 @05:15PM (#7870564)
It's been a while since i have written c# but wouldn't a closer/fairer comparison have been to use the fluent methods?

e.g. instead of var result = from p in numbers where p < 5 select p;

you could write: var result = numbers.Where(p => p < 5);

the 'from ...' and 'select ..' adds a lot of boilerplate

what would a reasonable criteria be? Should the EFF create criteria that could only be met by criminals?

The main issue with the gag orders that people are concerned about is not that they are fundamentally wrong, but that they are ripe for abuse. Many of these companies are publishing some data about these kinds of orders, so within the limits of the law they are doing everything possible.

> Nearly all the data requests that people are concerned about have been coming with gag orders attached.

citation? most data requests are run of the mill subpoenas (in non-criminal cases), gag orders only apply to a fairly small subset of user data requests.

to do that, wouldn't you have to look at every byte just to detect the runs of 0s, that would mean that you have to pull the whole file through the memory hierarchy of your system (rather than just passing chunks from syscall to syscall) wouldn't that alone slow you down significantly?
Re:Google+ Is Walking Dead on Thursday April 24, 2014 @09:46PM (#7644286)
They did try that, it was called OpenSocial (http://en.wikipedia.org/wiki/OpenSocial).
Re:Google splits into GOOG and GOOGL today on Wednesday April 02, 2014 @09:39PM (#7520355)
how does the stock split affect income? afaict it is purely about governance
Re:2048 is why we can’t have nice things on Monday March 31, 2014 @11:27AM (#7502040)
I seriously doubt that threes was born in a vacuum.

Threes was surely itself modeled after other games (mahjong comes to mind, though i'm sure there are better examples). To claim that 2048 is merely a 'clone' ignores the ways in which 2048 is different (some would say better) and it also propagates a damaging myth of creation/innovation.

Re:2048 is why we can’t have nice things on Monday March 31, 2014 @11:22AM (#7501998)
...which just proves that 2048 had a better strategy.... price and platform are a major component of marketing
Re:Phillip Morris Introduces Marlboro Marijuana Cigarettes on Sunday January 26, 2014 @07:48PM (#7127971)
fyi: abril uno (April 1st) appears to be a spoof news website like the onion
Re:Google Dart target: Chrome soon, other browsers someday on Tuesday December 17, 2013 @02:09PM (#6923102)
The same thing that prevents sites from shipping sites that only support particular browsers today.
Re:The Misuse of Recursion on Monday August 26, 2013 @12:22PM (#6277988)
There is a rounding formula that should make it possible to implement efficiently in inexact floating point arithmetic. (I think knuth gives a solution in TAOCP).

Also, depending on how you are accounting for the 'size of n', the iterative algorithm has time O(2^b) where b is the number of bits required to represent n and the closed form is O(b).

Re:Chromecast update breaks AllCast on Monday August 26, 2013 @11:23AM (#6277610)
I think he was saying that this is a case of Hanlon's razor[1]. i.e. this situation could be easily explained by simple api churn (and the fact that the OP was using an undocumented api), so it may not be appropriate to ascribe malice without evidence.

  [1]http://en.wikipedia.org/wiki/Hanlon's_razor
Re:The Misuse of Recursion on Monday August 26, 2013 @09:36AM (#6276919)
I was a little disappointed that he didn't point out that there is an O(1) formula for fibonacci numbers. http://en.wikipedia.org/wiki/Fibonacci_number#Closed-form_ex...
Re:Why isn't there a union for software engineers? on Saturday June 01, 2013 @12:38PM (#5804673)
Unions are typically only a good idea when an individual has no bargaining power in a negotiation with an employer, which is typically because it is an unskilled or low skilled job, so they are easily replaceable. Unions can benefit those kinds of employees via collective bargaining (you can't replace all of us, etc.).

This is not at all the case in our industry. I would bet if you want that ergonomic chair you could probably get it without a union to back you up.

Re:Tesla Motors by the numbers on Friday May 24, 2013 @10:04AM (#5762793)
Even if EV is the way everything should be going it doesn't mean that the current set of government incentives that Tesla is taking advantage of is the best way to get there. We should all be concerned with the efficient allocation of capital in general, but especially when that capital is sourced from tax payers.

I am sure that lots of people did moan about the money spent on NASA in the 60s and I am also sure that at least some of that money was 'wasted' (i.e. spent inefficiently). We should all be concerned about these kinds of issues, even if we like the programs.

Re:MongoDB singleton connection in Node.Js on Friday April 05, 2013 @12:00PM (#5499202)
seeing as this is node you won't need a lock (and since it is single threaded there are no cross thread visibility issues).

What you do need is a state variable that indicates if the connection is uninitialized, loading, or ready. And if it is in the loading state you need to have a list of callbacks so that concurrent requests can be added to the list.

Re:MongoDB singleton connection in Node.Js on Friday April 05, 2013 @10:14AM (#5498522)
This isn't actually a singleton. If the singleton is requested while it is being opened initially (by another request) then two connections will be opened. There needs to be some additional state tracking whether or the connection is currently being opened, so concurrent requests can wait for it. Unless the author just doesn't care... but this isn't a singleton.
Re:Your IP: does Google care? on Thursday February 28, 2013 @12:19PM (#5299665)
But with the current laws verification of ownership is not Googles responsibility (nor should it be). If google recieves a valid DMCA it has to act on it. Honestly I wouldn't want a private company to be the arbiter of copyright ownership on the internet. Many copyright issues are very complicated and it would be an undue burden (not to mention against the public good) to have a private part control it.

The DMCA has issues but at least disputes end up in court, how do you think an ownership dispute would play out if private companies were in charge of making decisions.

Re:Your IP: does Google care? on Sunday February 24, 2013 @02:16PM (#5275469)
The bigger problem would be abuse. Google couldn't verify that you actually own what you say you do. So people could easily spam the system to get content they don't like removed. This is currently a problem with the DMCA, but at least with the DMCA there is legal recourse for bad faith requests. The worst punishment that could be done with your proposed system would be account cancellation, which would not be a deterrent.
Re:Ask HN: being offered stocks, how to estimate value? on Sunday January 06, 2013 @12:58PM (#5017003)
You should really try to get cash if you can. The value of any stock the give you will be highly volatile and very illiquid. The only way you could try to value the equity would be to look at what other investors paid for their equity, also you could try to actually look at their books.

But really, there is no reasonable way for you to value their offer. I would take cash and possibly offer a payment plan instead.

On the site you can see which individual requests were rejected (or partially rejected).

e.g. http://www.google.com/transparencyreport/removals/copyright/...

if you look through the page of all requests

http://www.google.com/transparencyreport/removals/copyright/...

there is a column which shows which requests have urls that were rejected. You have to go back pretty far to find requests with rejected URLs (since there are a lot of requests and urls are rejected only rarely).

e.g. http://www.google.com/transparencyreport/removals/copyright/...

Older »